compile mysqld.cc into a DLL and embed it!
Date: November 01, 2009 11:49PM
hi,
I figured libmysqld would not be good enough solution to use with PHP (cause it doesn't exist!)
So the next best thing was to compile mysqld.cc into a DLL and then call its main() or win_main() function from an external application to start the MySQL server. However when I call these functions my application crashes. Of course I am not a good programmer otherwise I would have figured what my stupidity was!
any help (pointers) would be much appreciated.
PS. I don't want to use ShellExecute() to start mysqld.exe cause thats just lame ;)
|
compile mysqld.cc into a DLL and embed it! |
sonu singh |
11/01/2009 11:49PM |
Sorry, only registered users may post in this forum.
© 1995-2008 MySQL AB, 2008- Sun Microsystems, Inc.