Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
I'm trying to configure multiple versions of creo (Creo 8 and Creo 10) in a machine and i need to access vb api of each version based on the user action such as open. as per the instructions i had added pro_comm_msg.exe of Creo 10 to environment variables. my doubt is that how to setup the same for Creo 8?
And will the COM classes and interfaces will be segregated for both the version and both can work parallelly?
@sahmeds wrote:
as per the instructions i had added pro_comm_msg.exe of Creo 10 to environment variables.
Not required. Delete manually added variable.
In bin\*.psf this variable is set for each version of Creo:
ENV=PRO_COMM_MSG_EXE=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\pro_comm_msg.exe
I'm not sure what to do with vb_api_register.bat.
Perhaps, register only for latest version of the Creo.
Use classes and compile the application separately for each version.