i getting when trying access mysql database : [firedac][phys][mysql]-314. cannot load vendor library [libmysql.dll or libmysqlld.dll] this did not happen (unchanged) code, however, have upgraded windows 10 , had reinstall delphi xe8, system configuration matter. in order try solve problem, copied both of files c:\windows\sysytem32. when did not seem work, copied them \win32\debug, generated .exe resides. i imagine doing rather stupid, can't see what. the proper solution place driver file (eg., libmysql.dll ) in application's folder, or place installation location in fddrivers.ini file: [mysql] vendor=<folder>\libmysql.dll (recent versions of documentation seem use vendorlib instead of vendor in ini file.) see rad studio documentation topics configuring drivers (firedac) , connect mysql server (firedac) more information.
i've got pinvoke wrapper set native dll, time try invoke it, crashes, saying system.dllnotfoundexception: specified procedure not found . things i've checked: the dll in same folder exe. dependency walker shows dll has 1 non-system dll dependency, , it's loaded (successfully) process point. it gives same error no matter function try call into, including dummy function no body. (so points 1 , 3 answer here not apply.) i've used dependency walker ensure functions being exported, same names, including case sensitivity. by point, i'm @ wits' end. how can debug , figure out what's going wrong? error message i'm getting spectacular pile of fail when comes usefulness; doesn't tell me name of procedure can't find. i'd debug first in native application. reasons explain later. put simple console app in same directory c# executable. have console app call loadlibrary , getprocaddress on dll p/invoking. same error occur? ...
i trying implement winform application presents on line-chart set of samples (coming form hw device). i used inotifypropertychanged interface , bind chart model of hw device, seems chart doesn't updated when samples changed @ hw model. sorry, if basic (i more of embedded guy), seems missing part connects inotifypropertychanged event data binder. is there missing here? or should implement differently? at winform class wrote following code bind chart samples of hw model buttons should demonstrate case when 'adcsamples' changes: public partial class form1 : form { public form1() { initializecomponent(); streamchart.series[0].points.databindy(gswatch.adcsamples); } private gswatchmodel gswatch = new gswatchmodel(); private void button1_click(object sender, eventargs e) { uint[] muki = new uint[128]; (int = 0; < 128; i++) { muki[i] = (uint)(i / 10); } gswatch.adcsample...
Comments
Post a Comment