Skip navigation links

MySQL Forums :: C/C++ :: compile mysqld.cc into a DLL and embed it!


Advanced Search

compile mysqld.cc into a DLL and embed it!
Posted by: sonu singh ()
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 ;)

Options: ReplyQuote


Subject Written By Posted
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.