As first step, I am matching HMG's "define window" command with that of xhgtk's init window command. Let us see, whether I can succeed.
![Smile :)](./images/smilies/icon_e_smile.gif)
Moderator: Rathinagiri
Ok!rathinagiri wrote:Thanks Roberto.
As first step, I am matching HMG's "define window" command with that of xhgtk's init window command. Let us see, whether I can succeed.
What do you exactly mean?rathinagiri wrote:After some alterations, I could compile helloworld.prg in hmg style.
The number of dll files required to run the program made me worried.
Well... anyway You'll run the app on Linux only, so, the dlls required on Windows, doesn't matters.rathinagiri wrote:Yes Roberto. Run time dll files.
Code: Select all
# include "xhgtk.ch"
# include "hmgtk.ch"
function main
define window helloworld at 0,0 width 400 height 300 title "Hello World" main
end window
activate window helloworld
return nil