>>> WHY USING CDECL ! ? WHAT ARE THE ARGUMENT !? <<< We haven't chosen the calling convention yet. In fact, we're probably getting too much into technical detail to even be having the debate of the merits of one versus the other right now. It's my fault for bringing these specifics into the discussion too soon. Mea culpa. To summarize this debate as a "requirement", which is what this discussion is supposed to be about... "The GMPI specification should define the calling convention to be used for the plugin interface. The calling convention should be chosen to allow <x y z> programming languages to be supported and <a b c> operating systems to be supported." -----Original Message----- From: Vincent Burel [mailto:vincent.burel@xxxxxxxxxx] Sent: Thursday, March 06, 2003 9:28 AM To: gmpi@xxxxxxxxxxxxx Subject: [gmpi] Re: Topic 3: Cross platform ----- Original Message ----- From: "Laurent de Soras [Ohm Force]" <laurent@xxxxxxxxxxxx> Cc: <gmpi@xxxxxxxxxxxxx> Sent: Thursday, March 06, 2003 1:42 PM Subject: [gmpi] Re: Topic 3: Cross platform > > Standard C (which supports C++ by extension), with very clearly specified > > calling conventions (cdecl vs. stdcall). > > Yes, C [cdecl] calling convention is a good and classic > requirement, I think there is no need to go further. I assume > here that there is an "official" C calling convention for > each supported platform, so there isn't any ambiguity with > its implementation. [stdcall] is used in windows API, in windows Callback and in COM interface ( You can directly fill your lpVtbl if you have stdcall function). [stdcall] is implemented in all high level languages (like C++, Visual Basic, Delphi , pascal..) so WHY USING CDECL ! ? WHAT ARE THE ARGUMENT !? Vincent Burel ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe