how to include Macro GET_X_LPARAM(lParam)

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

how to include Macro GET_X_LPARAM(lParam)

Post by AUGE_OHR »

hi,

i try to include Macro but it say missing windowsx.h :(
so i have copy C:\hmg.3.4.4\MINGW\i686-w64-mingw32\include\windowsx.h to \SOURCE Folder but now i get new Error :shock:

what do i miss ... how to include Macro GET_X_LPARAM(lParam) :idea:
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: how to include Macro GET_X_LPARAM(lParam)

Post by danielmaximiliano »

*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: how to include Macro GET_X_LPARAM(lParam)

Post by AUGE_OHR »

hi,
thx, but as i say i got more Error when

Code: Select all

#include "windows.h" 
Compiling 'source\h_windows.prg'...
include\windows.h(14) Error E0025 Error in #if expression
include\windows.h(17) Error F0029 Can't open #include file 'winapifamily.h'
but perhaps i´m wrong as i want to use Macro GET_X_LPARAM() / GET_Y_LPARAM() in H_*.PRG and not C_*.C :?:

it is not urgent while my Workaroud seem to be fine :D
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: how to include Macro GET_X_LPARAM(lParam)

Post by danielmaximiliano »

Jimmy, Puede ser un pequeño ejemplo donde se incluya las macros están dentro de windowsx.h
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Post Reply