How to use a type that was defined in a loaded library

Hi,

I tried to run some root codes with external libraries. I loaded the libraries with gSystem->Load("") command. I can use .class classname to see the class name that are defined in those libraries. But looks like the typedef in the libraries cannot be seen by root, because I always get error “unknown branch ProcessHistoryMap”.
Do you know how I can use this type?

thanks,

Haiying

Hi,

In order to get the dictionary for the nested typedef you may need to add#pragma link C++ nestedtypedef;. However your error message:"unknown branch ProcessHistoryMap"does not seem to be related to typedef at all. Instead it looks like you might looking for the branch on the wrong TTree.

Cheers,
Philippe.