DLL Call Constants of the calling conventions

Post Reply
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

DLL Call Constants of the calling conventions

Post by Jimmy »

hi,

i saw in Thread https://forums.fivetechsupport.com/view ... 4&start=41

Code: Select all | Expand

#define DC_CALL_STD 0x20
where can t find these Constants ?

under Xbase++ i have more Constants

Code: Select all | Expand

#define  DLL_SYSTEM               4
#define  DLL_CDECL                8
#define  DLL_STDCALL             32
#define  DLL_XPPCALL            128

#ifdef   __OS2__
  #define DLL_OSAPI             DLL_SYSTEM
#else
  #define DLL_OSAPI             DLL_STDCALL
#endif
 
how does it look like under Harbour :?:
greeting,
Jimmy
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: DLL Call Constants of the calling conventions

Post by Enrico Maria Giordano »

hbdll.h

Code: Select all | Expand

#ifndef __DLL_H
   #define __DLL_H

   #define DC_MICROSOFT           0x0000      // Default
   #define DC_BORLAND             0x0001      // Borland compat
   #define DC_CALL_CDECL          0x0010      // __cdecl
   #define DC_CALL_STD            0x0020      // __stdcall
   #define DC_RETVAL_MATH4        0x0100      // Return value in ST
   #define DC_RETVAL_MATH8        0x0200      // Return value in ST

#endif
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: DLL Call Constants of the calling conventions

Post by Jimmy »

hi,
Enrico Maria Giordano wrote:hbdll.h
THX for those Constants
just for Interesting : WHERE do i found hbdll.h :?:
greeting,
Jimmy
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: DLL Call Constants of the calling conventions

Post by Jimmy »

hi
Enrico Maria Giordano wrote:xharbour\include
OK it is from xharbour, thats why i did not found it. THX
greeting,
Jimmy
Post Reply