>>
>> 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
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
> 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
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
>
>
4 matches
Mail list logo