LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a CVI DLL in VB4

Hello everyone!
I'm developing a project in conjunction to an other person that is using
VisualBasic4. I have written a lot of code in CVI and I have generated a
DLL. I have tested it with an other program in CVI and it works. Now ,
calling dll functions from VB4 i receive this error:
**********
error in call to LoadPanel parent panel handle 0;
UIR file name c:\test\test1.uir
panel resource id:1
Error code -86
The callback function Quit specified in the UIR fiel, is not a known
function. If you are using an external compiler, you must include the
UIR callbacks object file in the executable or DLL.
************************

I have already added the object file (generated in "external compiler"
menu)to the project but nothing change. It
seems that VB4 does not call
the DllMain function. I'm sure that i'm doing something wrong... but...
I have tried also with the CVI DLL projects samples but with the same
results.
....Any ideas????
Many thanks in advance!
Raf
0 Kudos
Message 1 of 1
(2,964 Views)