Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21127

Call C++ dll with VB6

$
0
0
First, I have little experience with C++ though I do have it installed on my computer. I have a SDK which includes the source code and dlls needed for an application written in C++. I have an app written in VB6, mostly complete that I want to use to access the dll in the SDK. I have viewed the source code, used dumpbin and viewed the dll in a player to see what was going on in side it trying to get an entry point. I only get an address, no name. From reading alot I know about mangled names that come from C and dll so I thought I could locate it but have not. According to the documentation with the SDK, the dll has (3) main elements which controls most everything I need to do. One such element is called ServiceFactory. I have located this element in the code as IServiceFactory and _ServiceFactory. I thought I could use it in the Private Declare ServiceFactory Lib "wintvpublic.dll"(ByVal Iboard as string) as long and have it go thru. No matter how I try, I get unable to find entry point. I know this dll calls other dll etc but not really sure from there. Any help would be appreciated.
Thanks

Viewing all articles
Browse latest Browse all 21127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>