02-17-2012 11:42 PM - last edited on 03-14-2012 08:26 AM by ybiyani
I'm trying to figure out how to correctly link catia 5 support into our application.
What we have is an exe and a lot of custom dlls (one for each cad format).
The exe will load a (specific) custom dll on demand if we need to import catia 5 / proe / whatever.
This custom dll more or less does nothing more than use SPAIConverter to convert a SPAIDocument to a SPAIAcisDocument and return the entities.
Now the exe itself is linked against acis and iop genercis, and the dlls are linked against the format specific libs (and the exe if that matters).
This seems to work really well for everything besides Catia5, so proe catia4 etc are working fine.
With catia5 however I'm getting a
Warning : SPAXCATIAV5Base library not loaded.
and then simply a translation failure when trying to convert.
Would someone have any suggestions on what I'm doing wrong? I really really want to avoid linking my exe against any catia5 (or other) format specific library.
03-02-2012 01:25 AM
You may would like to visit the page http://doc.spatial.com/index.php/HowTo:Troubleshoo
"SPAXCATIAV5Base or SPAXEnvironment Library Not Loaded"
- Run dependency on your application executable and DLLs.
- Check if you have the correct runtime. As explained earlier, if you are working with NT_VC8_DLL or NT_VC9_DLL, you need to embed the manifest files in the corresponding DLLs.
With Best Regards,
DS-SPATIAL Client Care