Forum > Windows CE

Error running an application using SQLite3 DLL on Windows Embedded systems

<< < (2/2)

ertank:
I just test with below code and I confirm that *second* run after device boot is raising error as Application cannot load DLL into memory. I do not see any message on the screen displaying 'DLL Load failed' text at all.

No problem with first run after boot. It always runs OK.


--- Code: ---procedure TDM.DataModuleCreate(Sender: TObject);
var
  dllHandle: THandle;
begin
  dllHandle := LoadLibrary('sqlite3ce.dll');
  if dllHandle = 0 then
  begin
    ShowMessage('DLL Load failed:' + dllHandle.ToString());
  end
  else
  begin
    ShowMessage('DLL Load OK');
    FreeLibrary(dllHandle);
  end;
end;

--- End code ---

ertank:
Hello,

Finally core problem could be found. It turned out that I have to use ARM compiled sqlite dll and not ARMV4i.

Even Motorola device above have ARMV5 capable cpu OS is not using it or maybe Motorola special WinCE build. I am not sure. But, reason is as it is written above.

Navigation

[0] Message Index

[*] Previous page

Go to full version