|
Re: HELP mysql_server_init embedded in a DLL?: msg#00166db.mysql.windows
I am posting this again, in hope that I will get a response. I tried doing the following (see VB code below. I got this code from another site): I get the same error message as if I was calling the DLL I created in C which calls mysql_server_init. Is it impossible to call this function from VB or embedded in another DLL from VB? Can I only use the embedded mysql library in C or C++? Thanks Eric Public Declare Function mysql_server_init Lib "C:\mysql40\source\lib_release\libmysqld.dll" _ (ByVal argc As Long, _ ByVal argv As Byte, _ ByVal groups As Byte) As Long Private Sub cmdmysq_server_init_Click() Dim argv(0) As Byte, groups(0) As Byte Dim i As Long argv(0) = Asc("0") groups(0) = Asc("0") i = mysql_server_init(0, argv, groups) End Sub From: "Derick Smith" <niagara_man@xxxxxxxxxxx> _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <mysql-thread133580@xxxxxxxxxxxxxxx> To unsubscribe, e-mail <mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: mySQL does not support ADO???: 00166, craig salee |
|---|---|
| Next by Date: | why doesn't MySQL support MyOLEDB?: 00166, craig salee |
| Previous by Thread: | Universal joins, universal transmission shafti: 00166, lezong |
| Next by Thread: | Re: HELP mysql_server_init embedded in a DLL?: 00166, Gelu Gogancea |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |