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

Pro toolkit

cshah
5-Regular Member

Pro toolkit

Hello All,

After registering Auxiliary application in Creo 2.0 when I click on Start button it give me an error

"Creo registry file protk.dat : appliation failed to start"


I have correctly kept path for Text Folder and dll file location in protk.dat file.

Any help greatly appreciated....Thanks....

3 REPLIES 3
sully7
13-Aquamarine
(To:cshah)

Hey Chirag,

This typically is related to your code. Do you have your user_initialize() and user_terminate() functions defined properly? Also, are you using an Asyncronous or Syncronous environment? I typically use the following format for syncronous DLLs:

extern "C" {

int user_initialize();

int main(int argc, char *argv[]);

void user_terminate();

}

// Initialize Toolkit Environment

int main(int argc, char *argv[])

{

ProToolkitMain (argc, argv); // Syncronous

return 0;

}

int user_initialize()

{

// Do some stuff

return(0);

}

void user_terminate()

{

return ;

}

Thanks,

Sully

President & Founder
CadActive Technologies - www.cadactive.com
cshah
5-Regular Member
(To:sully7)

Hello Sully,

Thanks for your reply.

I have defined user_initialize() and user_terminate() functions properly.

I am using Syncronous environment.

Can you please give me your Email Id so that I can share it with you.

Thanks,

Chirag Shah

PARTHIBAN_K
15-Moonstone
(To:cshah)

Hi

Do you've properly set your Environmental Variables?

 

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
Top Tags