|
-
March 26th, 2001, 03:59 AM
#1
use functions in vc created dll in vb using add reference
hi,
I have successfully created a dll in vc++ using ATL COM.
And i am able to add reference to it in VB.
However i am still unable to use the functions inside the dll.
How should i code my dll so that i can use the functions inside?
I do not wish to use "declare function"
Hope someone can help!
thank you!
-
March 26th, 2001, 05:50 AM
#2
Re: use functions in vc created dll in vb using add reference
I am no C++ programmer, but what i have picked up is that you should not create a dll. You must create an ActiveX project where you specify that you want to compile it as a dll.
This will cause you to create an interfaceless object that can be included in the Refereces within VB and would also require registration before it can be used.
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
|