Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

problem about calling a labview dll from VC 6.0

I have built a dll in labview 7.1
I want to call the dll from VC 6.0.
The function I called from VC 6.0 didn't work at all,but the vi could generate two pluses in the labview.
The attachment is my vi

Regards soslotos
Thank you
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 1 of 4
(2,845 Views)
I built a dll for the Generate Single Pulse(DAQ-STC).vi,and called it from the VC 6.0.
it doesn't work,either.
I find the vc could only call the easy function create by labview.
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 2 of 4
(2,845 Views)
the follow is the reports in the debug window:
Loaded 'C:\WINNT\system32\ntdll.dll', no matching symbolic information found.
Loaded 'F:\soslotos\labviewcode\total\testmutidll\gs.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\KERNEL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\lz32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\imm32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\lpk.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\usp10.dll', no matching symbolic information found.
Loaded 'C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\7.1\lvrt.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\winmm.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\WINSPOOL.DRV', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mpr.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\COMDLG32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SHLWAPI.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SHELL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\OLE32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\wsock32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ws2_32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ws2help.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SETUPAPI.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\USERENV.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\NETAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\secur32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ntdsapi.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\dnsapi.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\WLDAP32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\netrap.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\samlib.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mmdrv.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\MSCTF.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msimg32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\clbcatq.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mydocs.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SHDOCVW.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msi.dll', no matching symbolic information found.
Loaded 'C:\Program Files\National Instruments\Shared\nicont.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msvcp60.dll', no matching symbolic information found.
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 3 of 4
(2,841 Views)
Hello Soslotos,

I am assuming you built the VI using traditional DAQ. With Traditional DAQ, building a DLL from LabVIEW does not guaranty that you can successfuly call if from another programing environment. If you want to be able to do this, you need to use DAQmx instead.
0 Kudos
Message 4 of 4
(2,825 Views)