
February 13th, 2006, 05:34 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 5
Time spent in forums: 1 h 13 m 6 sec
Reputation Power: 0
|
|
|
Creating a DLL with C++ for use in VB6
Hi, to simplify connection between mysql server and the client application i want to create a dll using C++ and use its functions in VB6.
I have already made the functions for "communicating between mysql server and computer" and tested it by making a C++ program. It went fine. But the trouble is when i try to make a dll with the same functions.
First i build the DLL, this is what it gives me:
"LINK : warning LNK4089: all references to "LIBMYSQL.dll" discarded by /OPT:REF"
Then i compile it and it does not give any error, but when i double click it, it says:
"mysql.dll is loaded, but the entrancepoint DllRegisterServer is not found...
This file can not be registered."
Here you can download the project. It is made with VC++
|