jes i got that. but how do i have to declare the functions in the ActiveX project? When i just use Public Sub MyFunction() it cant be called... (Dll entry point was not found)
thanx for your support!
I got: AMD 2000XP, ASUS A7V266-E, WinXp
if I put the System speed to 1.7 Ghz in Bios (JumperFree mode) the system hangs.
might some jumper settings be incorect?
sorry this was a mistake but
Private Declare Function FileOpen Lib "c:\mydll.dll" Alias "open" (byval lpszFileName as String) as Long
still does not work
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...
I want to call a dll created in C++ in VBasic. Unfortunatly some functions are named "Open" and "Close" and i can't declare them in VBasic because those words are used as syntaxes in VB. I changed the name of the functions in C++ but i could not compile it as dll just as exe...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.