Hi all
I want to register library parts that i receive from a distant server as .gsm files. I copy the gsm file locally on the computer and then i want to "register" the libpart.
This works if i give the "typeID" and the path to the local file like here :
libPart.typeID = APILib_ObjectID;
libPart.location = &myGsmFilePath;
err = ACAPI_LibPart_Register(&libPart);
if(err == NoError)
{
...
}
But...it doesn't work anymore when i don't provide the typeID.
I mean...the libPart.location information is not enough.
How can i know what is the typeID of a libpart in a gsm file ?