Martin Peach wrote: > best boy > >> maybe this is a misunderstanding. i try to explain. >> i want to write a pd external (which will be a dll on win). >> this pd external should contain code to call functions from another dll >> which is not pd-related >> > > I think you would still use the same two functions: LoadLibrary to load the > dll and GetProcAddress to find the address of the function you want to call. > It won't make any difference if you call the dll from another dll or an exe. > LoadLibrary() and GetProcAddress() are part of the Windows API and not > related to pd. >
i think the question is about simple dynamic linking (without manually opening the dll and calling an entry-point function therein) much like Gem linking against openGL. olli: all externals on w32 do link dynamically against several libraries. one of them being pd.dll, the other ones including libc. i think you just need the corresponding "header" .lib and that to the libraries you link against. so take any external you like as an example :-) fgamdsr IOhannes _______________________________________________ PD-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
