R
rowansmith
Guest
I am writing a VB application to use the new dnsapi.lib SDK shipped in Aug 2002.
To do this I have created two projects in my solution:
1) A VB Application
2) A MFC DLL
I have used the line:
declare function CanVBSee lib "dnslib2.dll" alias "CanVBSeeThis" (byval s as string) as long.
When I try to call the function I get an Error that VB could not find the entry point for the function CanVBSeeThis in dnslib2.dll.
What is the correct way to make the DLL accessible to my VB program?
Is there a better way to make C functions available to VB? I have read about creating type libraries, but can not find a way to do this.
Thanks.
-Rowan
To do this I have created two projects in my solution:
1) A VB Application
2) A MFC DLL
I have used the line:
declare function CanVBSee lib "dnslib2.dll" alias "CanVBSeeThis" (byval s as string) as long.
When I try to call the function I get an Error that VB could not find the entry point for the function CanVBSeeThis in dnslib2.dll.
What is the correct way to make the DLL accessible to my VB program?
Is there a better way to make C functions available to VB? I have read about creating type libraries, but can not find a way to do this.
Thanks.
-Rowan