logo       

Visual Basic Embedded VC++ DLL: msg#00151

db.mysql.windows

Subject: Visual Basic Embedded VC++ DLL


Hi!
Has anyone created a DLL in VC++ the uses the embedded mysqlserver.lib library? Is it possible to do this? Is there any special settings that are needed?

When you use a DLL for VB I do not think it can have any dependencies.

I have compiled a DLL that does this, but then I run a function wich encapsulates mysql_server_init(), I get a memory error and my VB program which references the DLL I created crashes. (When I comment out the section of code that references mysql_server_init, the code executes without errors and when I link this lib file to a C program the code also works without problems).

Any suggestions?

Thanks
Eric



Talk to you Later.
----------------------
Derick
----------------------





_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html"; before
posting. To request this thread, e-mail win32-thread10620@xxxxxxxxxxxxxxx

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail win32-unsubscribe@xxxxxxxxxxxxxxx instead.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise