but when I recompiled the program the exe not run ...why ?
I think there is an error but where ?
- Code: Select all Expand view RUN
#define HB_API_MACROS
#include <Windows.h>
//#include <dos.h>
#include <hbApi.h>
typedef struct
{
FARPROC farProc;
// BYTE bType;
// BYTE bReturn;
// BYTE bParams;
// BYTE bParam[ 15 ];
} STRFUNC;
//----------------------------------------------------------------------------//
HARBOUR HB_FUN_CLSETROP2() //(hDll,Ctex)
{
hb_retni( SetROP2( (HDC) hb_parnl(1), hb_parni(2)) );
}