Hi all,
I'm using LabWindows CVI 6.0.
I'm doing some tests to move some code into Dll.
I succeeded to create a Dll in CVI that load a panel. It is correctly called
from CVI.
I succeeded to create a simple test Dll from crash with Visual C++. It is
correctly called from CVI.
I tried to compile the code of the Dll in CVI that load a panel under Visual
C++ 6.0 en have some problems:
As I'm loading panel, I need the followin include:
#include
#include
#include "mon_interface.h"
#include
I add the following lib path:
C:\Program Files\National Instruments\MeasurementStudio\CVI\include
I have got problems while linking:
Linking...
mon_interface.obj : error LNK2001: unresolved external symbol _CloseCVIRTE@0
mon_interfa
ce.obj : error LNK2001: unresolved external symbol
_InitCVIRTEEx@12
mon_interface.obj : error LNK2001: unresolved external symbol
_DiscardPanel@4
mon_interface.obj : error LNK2001: unresolved external symbol
_RunUserInterface@0
mon_interface.obj : error LNK2001: unresolved external symbol
_DisplayPanel@4
mon_interface.obj : error LNK2001: unresolved external symbol _LoadPanel@12
Debug/dll_vc.dll : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
I manually added the following lib file: cvistart.lib
It does not help.
Have you got any idea???
Thanks in advance,
Sylvain