Message 1 of 2
DllDesc class - unresolved external symbol - What am I missing?

Not applicable
07-28-2019
03:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
def_visible_primitive(getMethodList, "getMethodList"); Value* getMethodList_cf(Value** arg_list, int count) { Interface16* ip = GetCOREInterface16(); int numdll = ip->GetDllDir().Count(); for (int i = 0; i < numdll; i++) { DllDesc dlldesc = ip->GetDllDir().GetDllDescription(i); int numclass = dlldesc.NumberOfClasses(); for (int j = 0; j < numclass; j++) { ClassDesc* cdesc = dlldesc.GetClassDesc(j); int numintf = cdesc->NumInterfaces(); for (int k = 0; k < numintf; k++) { FPInterface* intf = cdesc->GetInterfaceAt(k); FPInterfaceDesc* desc = intf->GetDesc(); for (int l = 0; l < desc->functions.Count(); l++) { FPFunctionDef* funcdef = desc->functions[l]; MSTR name = funcdef->internal_name; //... blablabl... } } } } return &ok; }
Hello guys!
I have some trouble with this code. It says, the unresolved external symbol error for the DllDesc class, although I have #include-ed the necessary header and all the available .lib files, but it's still not working. I'm storing all my maxscript extension in a single file and everything is working as expected until I try to compile it with this short snippet.
What am I missing?
Thanks in advance!
Mike