Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
We are going to be switching to a mixed environment where we have some x32 and some x64 machines, both needing to run my Pro/TOOLKIT programs. Is there a function I can call which will tell me if I am on a x32 or x64 bit platform. The same code should work regardless, but I do need to change a few paths and namesdepending on whether it is x32 or x64, so I'd like to be able to handleboth platforms with the same program.
Thanks, John
specify the path of dll file using $PRO_MACHINE_TYPE in protk.dat, such as:
exec_file .\$PRO_MACHINE_TYPE\myapp.dll
ProE set this variable self:
for x32: $PRO_MACHINE_TYPE=i486_nt
for x64: $PRO_MACHINE_TYPE=x86e_win64
so for the setup we can take no care of system plattform