Using C++ DLL in VB
I need some help to find out how I can build a DLL usable with VB.
Currently, I'm able to build one but the name I have to use in VB have some
strange caracters in it. Here's an exemple:
I define (the wizard define)
// This is an example of an exported function.
C2VB_API int fnC2VB(void)
And I must use this declare statement in VB
Private Declare Function fnC2VB Lib "d:\proto\c2vb\debug\c2vb.dll" Alias
"?fnC2VB@@YAHXZ" () As Long
The problem is in the Alias. As you can see I must use a strange name to
be able to gain access to the entry point. (I've found that name using the
quickview option on the dll)
So is there something I can do to be able to use the same name in this case
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL