Skip to main content
1-Visitor
August 20, 2014
Question

Pro toolkit

  • August 20, 2014
  • 1 reply
  • 1782 views

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....

1 reply

14-Alexandrite
August 26, 2014

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

cshah1-VisitorAuthor
1-Visitor
August 27, 2014

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

16-Pearl
July 7, 2017

Hi

Do you've properly set your Environmental Variables?