Hi Jahred, Did you link the external functions called by your class when making the dll ? can you do: root > .class myclass (where myclass is your wrapper class) Rene Brun On Fri, 15 Feb 2002, Jahred Adelman wrote: > Hello: > We're having some trouble getting a DLL to work within ROOT (in particular the DLL for the MLPfit neural network). > We make a simple class acting as a wrapper to the functions, rootcint it (without problem) and then compile and link the DLL. > The DLL loads without any problems with > gSystem->Load("mlpfit.dll") > and my header file loads correctly. > But even then we cannot call the class members - I can see the functions by typing .function, but when I try to call them I'm told the header is "declared but not defined," even though they should be defined in the DLL. When I use .function, the functions have -1 listed as "line" (don't know how this might have in figuring out the problem). > > Thanks for any general help in implementing and accessing DLLs under ROOT, > Jahred >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET