cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in ExecuteFunction after successful LoadProToolkitDll

NK_9909452
4-Participant

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

View solution in original post

2 REPLIES 2

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

 

View solution in original post

NK_9909452
4-Participant
(To:syalagudri)

Hi Syalagudri,

 

Thanks for the solution.

Announcements