Skip to main content
1-Visitor
November 30, 2021
Question

Startup order of external applications

  • November 30, 2021
  • 1 reply
  • 4420 views

Dear community,

I have an CREO 4.0 M080 installation with an external application which is not provided by me. I asume it to be a toolkit application (dlls are present). Startup of CREO is without GUI. Creo is closed by external application after the tasked has successfully finished. I coded a OTK java free application initalised by a protk.tk file, which runs fine stand-alone without the other application. In combination with the toolkit app it does not work. It seems that my java app comes second, but since the toolkit app closes the CREO session this is the wrong order of starting the two external applications.

 

Do you know how I can start the java application before the other (toolkit) application?

 

In general: I don't understand how the other application get's initialised without protk/creotk.dat file. Any ideas?

 

Kind regards

Michael

1 reply

MichelH1-VisitorAuthor
1-Visitor
November 30, 2021
17-Peridot
December 1, 2021

Hello.

Do you start first an external application and then the application lunching Creo? In this case indeed it can be asynchronous.

External application can start Creo without your applications.

You protk.dat is placed in Starting Working Directory or config.pro pointing to protk.dat?

MichelH1-VisitorAuthor
1-Visitor
December 1, 2021

Hello ysinitsyn,

this is what I don't understand. Creo is started with a command line call something like: parametric.bat -g:no_graphics -i:rpc_input [...]

By doing so the external (toolkit) app get's launched without having any (obvious) protk.dat or config file calling it. I have an OTK java app that works fine stand-alone by using config.pro and protk.dat launching it...

Unfortunally I have no access to the developer of that external toolkit app.

 

Kind regards,

Michael