custom load
custom load
(OP)
hi all,
I'm using Pro/Mechanism and trying to make a "custom load" with toolkit.
In the file "customload" made by PTC but to be completed by the user, I can find:
strcpy ( executable, mhome );
strcat ( executable, relative_exec);
strcpy (text_dir, mhome);
/* TODO make this arch independent */
I can't understand the meaning of "make this arch independent": what am I supposed to do?
Thanks in advance, Max
I ask even if you can send me some of your programs aimed to make a custom load in Pro/Mechanism.
or where I can find material about programming custom loads
I'm using Pro/Mechanism and trying to make a "custom load" with toolkit.
In the file "customload" made by PTC but to be completed by the user, I can find:
strcpy ( executable, mhome );
strcat ( executable, relative_exec);
strcpy (text_dir, mhome);
/* TODO make this arch independent */
I can't understand the meaning of "make this arch independent": what am I supposed to do?
Thanks in advance, Max
I ask even if you can send me some of your programs aimed to make a custom load in Pro/Mechanism.
or where I can find material about programming custom loads





RE: custom load
the other statements: you copy the string "mhome" variable into the string "executable" and then append to it the "relative_exec" string.
the last statement: you copy the "mhome" string into the "text_fir" string.
There is nothing conludent in your example to see how you can make a custom load. Probably you should look at the whole program/PTC example.
-Hora