Skip to main content
1-Visitor
Aug 20, 2014 8:14 AM UTC
Question

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

14-Alexandrite
Aug 26, 2014 3:55 PM UTC

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

Translate
cshah1-VisitorAuthor
1-Visitor
Aug 27, 2014 8:26 AM UTC

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

Translate
16-Pearl
Jul 7, 2017 5:14 AM UTC

Hi

Do you've properly set your Environmental Variables?

 

Translate