Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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....
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
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
Hi
Do you've properly set your Environmental Variables?