Subject | RE: [firebird-support] Dumb Newbie Question: fbembed.dll and GetProcAddress |
---|---|
Author | Alan McDonald |
Post date | 2006-03-23T20:51:14Z |
> I'm just beginning my research into using Firebird with our current serverthe API guide at ibphoenix.com for version 6 is what you need.
> product. I'm interested in the embedded version (since our server
> application is a stand alone app that needs database access, without any
> clients accessing the database).
>
> I've downloaded and installed the Windows embedded kit. I've got the
> fbembed.dll loaded (and unloaded at exit).
> Now, I'm trying to get the appropriate procedure addresses, so I can start
> calling functions.
> But, I don't know the "types" of each proc, not the name of each proc.
>
> Is there a document describing the various procedures contained within the
> dll, and the function prototypes? I've looked around, with no success.
>
> I'm doing the following:
> m_Hand = LoadLibrary(_T("fbembed.dll"));
> FARPROC x = GetProcAddress(m_Hand, "isc_dsql_execute_immediate");
> // "x" is a function ptr, but I don't know the arguments to send, or what
> comes back.
>
> Thanks
> DanB (super-newbie)
Alan