How to use ProMdlRetrieve function and what are the required settings for VS2012 to use ProE toolkit.
Hi,
I am using ProE toolkit for the first time and used ProMdlRetrieve to load model from the assembly file:
char* asm_name;
ProName name_wchar;
ProMdl *loaded_model = NULL;
asm_name = "015-0315.asm";
ProStringToWstring (name_wchar, asm_name);
err = ProMdlRetrieve (name_wchar, PRO_MDL_ASSEMBLY, loaded_model);
Running creo2 as it may be required for the function ProMdlRetrieve to get the definition from, assembly and parts are in the same folder.
I am getting an Access Violation error when control comes to the function ProMdlRetrieve.
what are the required settings for VS2012 to use ProE toolkit.
Please answer asap...
-Brijesh
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

