Skip to main content
6-Contributor
Solved

Error in ExecuteFunction after successful LoadProToolkitDll

Hi,

 

I am trying to call the toolkit function from VB api as per example given in article CS252032.

DLL loaded but ExecuteFunction throws pfcExceptions::XToolkitNotFound error.

 

Can anyone success in this method. Please guide.

14-Alexandrite

Use #define EXPORT extern "C" __declspec(dllexport) instead of PRO_TK_DLL_EXPORT.

Due to name mangling you might get not found error:

Refer: https://stackoverflow.com/questions/1314743/what-is-name-mangling-and-how-does-it-work

 

2 replies

14-Alexandrite

Use #define EXPORT extern "C" __declspec(dllexport) instead of PRO_TK_DLL_EXPORT.

Due to name mangling you might get not found error:

Refer: https://stackoverflow.com/questions/1314743/what-is-name-mangling-and-how-does-it-work

 

Translate
6-Contributor

Hi Syalagudri,

 

Thanks for the solution.

Translate