Hello,
When I add this line to your demo_API program the return value is 0x00000000
CADUNITS CADGetUnits;
CADGetUnits = (CADUNITS) GetProcAddress(hCADImporter, "CADGetUnits");
What am I doing incorrectly
GetUnits does not work
Moderators: SDS, support, admin
Re: GetUnits does not work
Hello,
You just need to change "CADGetUnits" to "CADUnits":
You just need to change "CADGetUnits" to "CADUnits":
Code: Select all
CADGetUnits = (CADUNITS) GetProcAddress(hCADImporter, "CADGetUnits");
Code: Select all
CADGetUnits = (CADUNITS) GetProcAddress(hCADImporter, "CADUnits");