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
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.
Hi, Thanks for the reply. the problem is that if i compile with multiple versions separately, there are API/Class mismatch.
So, in deployed machine, both the versions of vb api/classes is required.
Hi @sahmeds,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,