Re: [sqlite] problem compiling loadable extensions usingVisualStudio

2008-07-09 Thread Teg
>> >> The first one isn't decorated, the second one is. IT> Have you actually tried it? Build a DLL with this code, check with IT> Dependency Walker. These two functions get exported under the following IT> names: IT> [EMAIL PROTECTED] IT> ?PI_TestEx@@[EMAIL PROTECTED] IT> The first name is

Re: [sqlite] problem compiling loadable extensions usingVisualStudio

2008-07-09 Thread Igor Tandetnik
Sherief N. Farouk <[EMAIL PROTECTED]> wrote: >> Have you actually tried it? Build a DLL with this code, check with >> Dependency Walker. These two functions get exported under the >> following names: >> >> [EMAIL PROTECTED] >> ?PI_TestEx@@[EMAIL PROTECTED] >> >> The first name is decorated, the

Re: [sqlite] problem compiling loadable extensions usingVisualStudio

2008-07-09 Thread Sherief N. Farouk
> Have you actually tried it? Build a DLL with this code, check with > Dependency Walker. These two functions get exported under the following > names: > > [EMAIL PROTECTED] > ?PI_TestEx@@[EMAIL PROTECTED] > > The first name is decorated, the second is mangled (there's a > difference > between

Re: [sqlite] problem compiling loadable extensions usingVisualStudio

2008-07-09 Thread Igor Tandetnik
Teg <[EMAIL PROTECTED]> wrote: > /* > ** Make sure we can call this stuff from C++. > */ > #ifdef __cplusplus > extern "C" { > #endif > > __declspec(dllexport) HANDLE APIENTRY PI_Test(const char* pszFilename) > { >return(NULL); > } > > #ifdef __cplusplus > } > #endif > >