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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Error in ExecuteFunction after successful LoadProToolkitDll

NK_9909452
6-Contributor

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

 

NK_9909452
6-Contributor
(To:syalagudri)

Hi Syalagudri,

 

Thanks for the solution.

Top Tags