|
-
Dec 10th, 2001, 03:34 PM
#1
Thread Starter
Fanatic Member
C++ dll to VB
i've compiled it, and i
VB Code:
Private Declare Function Test Lib "cpptest.dll" ()
it says "file not found"
the DLL is in the same directory
thanks
-nabeel
Visit www.fragblast.com
Gaming, forums, and a online RPG/Battle system
(__Flagg) DOT NET? is this a Hindi Dating service?
-
Dec 11th, 2001, 09:54 AM
#2
no matter, it obviously can't find the dll. I think it only searches in windows\system unless you explicitely specifiy a path.
If it's a function, it needs a return value. Else it's a sub.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 11th, 2001, 05:58 PM
#3
Thread Starter
Fanatic Member
how do i specify my path?
because if i put in app.path, it yells at me
Visit www.fragblast.com
Gaming, forums, and a online RPG/Battle system
(__Flagg) DOT NET? is this a Hindi Dating service?
-
Dec 11th, 2001, 06:35 PM
#4
Fanatic Member
Try
VB Code:
Private Declare Function Test Lib "C:\path\to\exe\cpptest.dll" ()
Alcohol & calculus don't mix.
Never drink & derive.
-
Dec 11th, 2001, 07:13 PM
#5
Banned
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|