Werner Smekal wrote: > > I think that you are actually right. We would need MAKINGPLCXXDLL (for > the source) and USINGPLCXXDLL (for the examples) definitions. And > since the cpp library uses c functions from liplplotd USINGPLDLL must > be defined. I wonder, why it worked so far for Windows.
Hi Werner, a quick scanning of the documentation on dllimport (http://msdn.microsoft.com/en-us/library/twa2aw10.aspx and others), gave me the impression (though not the confirmation) that dllimport is especially important for global _data_ residing in the DLL. We do not use that sort of things in PLplot, which is probably why things work. Regards, Arjen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel