Skip to content

Creo SDK will Not Start Unless Short Path to parametric.exe is Used #82

@robertowens

Description

@robertowens

The CreateAssembly program downloaded from
https://openmeta.metamorphsoftware.com/
will not run with Creo 3.0.

The reason it will not run is because the long path name to parmetric.exe is being used. The short path should be used as shown on the following example:
C:\Progra1\PTC\CREO11.0\PARAME~1\parmetric.exe

The problem is in the following file:

https://github.com/metamorph-inc/meta-core/blob/master/src/CADAssembler/CADCreoParametricCommonFunctions/CADSoftwareEnvirUtils.cpp

The RetrieveFromRegistryCreoInstallLocations should have a call to

GetShortPathNameA( installDir.c_str(), installPath_ShortName, bufferSize );

The attached file shows where this should occur:

CADSoftwareEnvirUtils.cpp.txt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions