I am creating DLLs in VC++, to be called from MB.
By default, the argument uses the __cdecl argument passing convention (caller pops the 
stack).
Is this OK or should I use __stdcall (the Pascal convention, called function pops the 
stack).
I have examples for both but am not certain of the result.
It seems that from VB, the functions work fine whatever convention is used (???) but 
that for using the DLLs from other VC++ programs, it is easier to stick to __cdecl.
TIA for any hint.

Pierre Henrotay
Siemens Information and Communications
Siemens Business Services s.a./n.v.
Consult Design Build
Rue de N�verl�e 11
B5020 Namur (Rhisnes)
Belgium
Tel. ++ 32 81 559 687
Fax ++ 32 81 559 658
Mobile ++ 32 477 69 93 19
mailto:[EMAIL PROTECTED]
http://www.siemens.be/ic



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4390

Reply via email to