Reference Topics > Creo Toolkit Registry File > Sample Registry Files
Sample Registry Files
 
This section lists several examples that illustrate the various ways to have a foreign program communicate with Creo Parametric.
Example 1
In this example, Creo Parametric spawns the foreign program, which runs on the same machine. The communication is via pipes (the default mode when the foreign program runs on the same machine as Creo Parametric).
File: protk.dat
[Start of file on next line]
name Product1
exec_file /home/protk/$<machine_type>/obj/frnpgm1
text_dir /home/protk
end
[End of file on previous line]
Example 2
This example illustrates how to run multiple foreign programs, as specified in the protk.dat file.
File: protk.dat
[Start of file on next line]
name Product1
startup dll
exec_file /home/protk/$<machine_type>/obj/frnpgm1.dll
text_dir /home/protk
end
name Product2
startup spawn
exec_file /home/protk2/$<machine_type>/obj/frnpgm2
text_dir /home/protk2
end
[End of file on previous line]
Est-ce que cela a été utile ?