I want to call a dll created in c++.
in c++ it locks like this:
int open(LPCTSTR lpszFileName)
...
...
in vB:
Private Declare FileOpen Lib "c:\mydll.dll" Alias "open" (byval lpszFileName as String) as Long
...
a=FileOpen("c:\mifile.ixx"
At this point the runtime Error 49 appears ("Bad dll calling convention"
calling procedures whitout passing variabes works correctly
Tanx for any hint
in c++ it locks like this:
int open(LPCTSTR lpszFileName)
...
...
in vB:
Private Declare FileOpen Lib "c:\mydll.dll" Alias "open" (byval lpszFileName as String) as Long
...
a=FileOpen("c:\mifile.ixx"
At this point the runtime Error 49 appears ("Bad dll calling convention"
calling procedures whitout passing variabes works correctly
Tanx for any hint