一个载入DLL的问题,求助!
公司里面有个DELPHI编译的DLL里面包含这样一个函数及调用格式
SET_BASIC_INFO(DEDDATABASE,DMO_NO,DEDSTATION_EMP,DEDLINE_NAME :PChar ): PChar;Stdcall;
我在LV6.1中载入,将形参和返回值的数据类型设置成string并选择C字符串指针.
但运行的时候会报错说:
An exception occurred within the externed code
called by a Call libaray Node This may have
corrupted LabVIEW's memory You should save any
work to a new location and restrat LabVIEW VI
"Untiled.vi" was stopped at Call libaray Fuction Node
0x158 of subvi "Untiled.vi"
那么Pchar 这个类型在LV里面如何识别.
是否需要做一些对DLL引用,注册之类的行为?
压缩包是那DLL.
求达人指点,感谢感谢!
不会DEPHI 看版主的精华贴8楼http://www.cpubbs.com/bbs/viewthread.php?tid=13221&extra=page%3D1 你看和C对应如何。再对应 还有这个LV调用DLL出错解决办法详解之一!
http://www.cpubbs.com/bbs/viewthread.php?tid=15544&fromuid=3757 好的,看看去.
感谢前辈耐心的指教.
页:
[1]