Page 1 of 1

After half litre of caffe....

PostPosted: Thu Mar 20, 2008 9:34 am
by David de Argentina
Hi Dave & Developers Gurus,

I'm trying to create a plugin. EXE test sample works fine.
When I try to add the NBP file within NeoBook, I receive an error message like:

"Cant find the entry point at the function xxxxxx in the dinamic Library SQLite3.DLL"

I had checked the Declare Function statement, the Alias is OK, and the SQLITE3.DLL is a very stable and tested library. (and the EXE sample works fine..!!!)

Plugin calls a intermediate DLL that calls the SQLite3.DLL.

I don't have any idea what's wrong...

Any suggestions ?

Thanks in advance,
David de Argentina

PostPosted: Thu Mar 20, 2008 9:43 am
by Neosoft Support
Are you loading the dll manually using LoadLibray?

PostPosted: Thu Mar 20, 2008 9:46 am
by David de Argentina
Hi Dave,

No, I Declare Function "MyFunction" Lib "TheLib.DLL" Alias "MyFunction" (params.....) as usual....

PostPosted: Thu Mar 20, 2008 6:04 pm
by Neosoft Support
I've never seen that error before, so I'm not sure of the exact solution. Since the dll isn't one normally installed with Windows, you may want to load it manually using LoadLibrary. That way if your plug-in is installed on a PC without SQLite3.DLL you can detect it and display an error message.