jed Posted March 27, 2009 Report Share Posted March 27, 2009 Has anyone tackled using libmysqld.dll (the embedded server and API) with labview? Thanks! Jed Quote Link to comment
mje Posted March 27, 2009 Report Share Posted March 27, 2009 I've considered it, but never tried...I'm curious as well. Quote Link to comment
jed Posted March 27, 2009 Author Report Share Posted March 27, 2009 QUOTE (MJE @ Mar 26 2009, 05:52 AM) I've considered it, but never tried...I'm curious as well. The interface is all through a DLL, basically the same as the C connector, with a couple added functions. The fun part will be (as it always is) interfacing LV to the DLL. It's not my favorite things to read through .h files and figure out exactly how they are passing strings into and out of a DLL. I'll give this a day or two to see if anyone else has something, then I am gonna press forward... Quote Link to comment
mje Posted March 27, 2009 Report Share Posted March 27, 2009 I suppose I lied a bit. I have tried, and went so far as trying to initialize. The problem I found though is that the functions exported to the DLL aren't the same as those that you would call from C++ so I was unsure how to manage the lifetime. For example, there's no mysql_library_init(), but there is a mysql_init() (or something similar)...however calling the later crashes LV quite spectacularly. The real turn off for me was much the same. I didn't want to wade through the headers to figure out what a MYSQL struct is, for example. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.