On Sat, Oct 23, 2010 at 12:49 PM, JonY <[email protected]> wrote: > > Hello, > > you should use a callback to set a pointer to your function in your > executable. > > You don't need to link to your executable.
Understood JonY, and is the same answer you gave me over #mingw. But the problem is that doing that way will require extensive modifications on how plugins are compiled and how the main program is compiled too. These differences will make hard keep a portable way, as these plugins might be compilable under Linux/OSX or even cross-compiled for Windows. Seems that the only path is modifying the program to generate a shared library to link against it. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
