(updated) sqlite static lib not accepted by PB. (5.10b2)
Posted: Thu Jan 03, 2013 4:20 pm
On my laptop that had crashed, I had a SQLite3.lib that I had replaced the PB one with, so I could use FTS.
I have to make some changes to my PB app that used it. Since I lost the old lib, I grabbed the latest sqlite sources & recompiled. This has no problems working in other apps, including the shell.
However, in PB, it complains about 1 function:

So at this point, I have a static SQLite3.lib file.
I created a shell that did not include any of the actual "sqlite" code and linked it against my static lib. Everything worked as expected.
So I modified the code to pump out "I'm in the function pb comlains about" (to dbgview.exe), recompiled the lib, then the shell.
This worked as expected AND showed that it was in the function that PB complains about:

Does PB use ordinal references? Any idea why the lib is not accepted?
Thanks
-j
(exe, lib can be found here, sqlite sources included (with the two mods))
I have to make some changes to my PB app that used it. Since I lost the old lib, I grabbed the latest sqlite sources & recompiled. This has no problems working in other apps, including the shell.
However, in PB, it complains about 1 function:

So at this point, I have a static SQLite3.lib file.
I created a shell that did not include any of the actual "sqlite" code and linked it against my static lib. Everything worked as expected.
So I modified the code to pump out "I'm in the function pb comlains about" (to dbgview.exe), recompiled the lib, then the shell.
This worked as expected AND showed that it was in the function that PB complains about:

Does PB use ordinal references? Any idea why the lib is not accepted?
Thanks
-j
(exe, lib can be found here, sqlite sources included (with the two mods))