Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I compile using MFC as a static library

I have compiled and run the "Plot Styles" example project using "Use MFC in
a Shared DLL". However, after changing the project settings to "Use MFC in
a Static Library" I get numerous linking errors. This option is avilable
in the NI Appwizard so I would expect there to be no problems. Can anyone
enlighten me?
0 Kudos
Message 1 of 2
(3,519 Views)
Rob,
Linking to MFC as a static library is not supported in the current version
of MeasurementStudio.

The NI MeasurementStudio AppWizard is built on top of the MFC AppWizard.
The MFC AppWizard is not fully customizable, so we were not able to disable
this choice.

In the next version of MeasurementStudio, we are considering adding support
for linking to MFC statically. Is this capability important to you?

David Rohacek
National Instruments

"Rob Bryers" wrote:
>>I have compiled and run the "Plot Styles" example project using "Use MFC
in>a Shared DLL". However, after changing the project settings to "Use MFC
in>a Static Library" I get numerous linking errors. This option is avilable>in
the NI Appwizard so I would expect there to be
no problems. Can anyone>enlighten
me?
0 Kudos
Message 2 of 2
(3,519 Views)