DLL Call Constants of the calling conventions

DLL Call Constants of the calling conventions

Postby Jimmy » Tue Sep 17, 2024 4:05 am

hi,

i saw in Thread viewtopic.php?t=44864&start=41
Code: Select all  Expand view
#define DC_CALL_STD 0x20

where can t find these Constants ?

under Xbase++ i have more Constants
Code: Select all  Expand view
#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
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: DLL Call Constants of the calling conventions

Postby Enrico Maria Giordano » Tue Sep 17, 2024 5:44 am

hbdll.h

Code: Select all  Expand view
#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
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DLL Call Constants of the calling conventions

Postby Jimmy » Tue Sep 17, 2024 8:39 am

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: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Re: DLL Call Constants of the calling conventions

Postby Jimmy » Tue Sep 17, 2024 8:54 am

hi
Enrico Maria Giordano wrote:xharbour\include

OK it is from xharbour, thats why i did not found it. THX
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany



Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests