Windows vs Linux - Cars vs Motor Bikes?!

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Rathinagiri »

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. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Roberto Lopez »

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. :)
Ok!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Rathinagiri »

After some alterations, I could compile helloworld.prg in hmg style.

The number of dll files required to run the program made me worried. :(
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Roberto Lopez »

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. :(
What do you exactly mean?

The runtime files to execute the app?
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Rathinagiri »

Yes Roberto. Run time dll files.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Roberto Lopez »

rathinagiri wrote:Yes Roberto. Run time dll files.
Well... anyway You'll run the app on Linux only, so, the dlls required on Windows, doesn't matters.

I'm not sure, but I guess that if your distribution has GTK already (almost all have it) you'll not need anymore besides your app binary (.o).
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Rathinagiri »

Ok. Now I understand. :)

I will try to give a decent version after cleaning my code.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by sudip »

Hi Rathi,

Thanks a lot for your work :)

I am very much tempted to see the FIRST window created with HMG+gtk :D If possible can you please upload the screen shot of the window.

BTW, yesterday I got the Ubuntu CD from Canonical. I tested it with my Celeron laptop ;) (at 1:30 am!!! ;)) . Yes, I couldn't believe it's performance, even running from CD :o

With best regards.

Sudip
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Windows vs Linux - Cars vs Motor Bikes?!

Post by Rathinagiri »

Yes Sudip.

Even though it is not much different, here is the screenshot.
hw.jpg
hw.jpg (9.49 KiB) Viewed 3685 times
This is the code. Note the change in the include file.

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
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply