NO

Author Topic: Win-64 GUI Hello World app?  (Read 2805 times)

Offline jj2007

  • Member
  • *
  • Posts: 536
Win-64 GUI Hello World app?
« on: March 19, 2013, 06:36:40 PM »
Hi,

I've searched the forum, the wizard and the sample folder but no success. Does anybody have a Win-64 GUI example that compiles without cryptic errors about APIs not found etc?

Thanxalot in advance.

CLR

  • Guest
Re: Win-64 GUI Hello World app?
« Reply #1 on: March 20, 2013, 04:38:59 AM »
Hi jj2007

This works for me:

File -> New -> Project
Select 'Windows application wizard'
Enter a name for the project -> OK
Select 'A Hello world program', select 'Win64' -> Next -> Finish
Project -> Build


Offline jj2007

  • Member
  • *
  • Posts: 536
Re: Win-64 GUI Hello World app?
« Reply #2 on: March 20, 2013, 10:58:21 AM »
Thanks, CLR - it works.

I guess I got confused by seeing

* Purpose : Generic Win32 application
...
#define WIN32_LEAN_AND_MEAN

in Main.c created by the wizard ;-

FWIW, I am testing IPC between 32- and 64-bit apps using RegisterWindowMessage & SendMessage. A single exchange of, well, two dwords eats around 11000 ... 17000 cycles, depending on the CPU. Results are very similar for 32- and 64-bit "servers".