The Daily Click ::. Forums ::. Non-Klik Coding Help ::. C++ compiling problem. help?
 

Post Reply  Post Oekaki 
 

Posted By Message

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
21st April, 2004 at 08:30:06 -

Hi all.

I'm using a very compact C++ compiler.(The whole thing is only 6mb)
called 'DIGITAL MARS'.
It says it compiles for windows and dos in the readme.txt
But I can't compile for windows.
All I get is dos executables!

Am I ment to include a specific .h file?
Or am I just compiling wrong?

 
n/a

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
21st April, 2004 at 10:50:24 -

You need to include Windows.h and use WinMain instead of main in your app, and other stuff too. Look for a Winapi tutorial (warning: winapi sucks). The compiler might have also come with a simple window application example.

 
- Tigerworks

Galaxy613



Registered
  29/01/2003
Points
  1765
21st April, 2004 at 11:17:03 -

if WinAPI sucks, what should one use?

 
Image
My forum: http://subsoap.com/ck/forums/index.php

Long John Kickbag



Registered
  26/08/2002
Points
  148
21st April, 2004 at 16:50:56 -

You still have to use the WinAPI to make windows programs, it's just crap to work with. Here's some good WinAPI tutorials http://www.relisoft.com/win32/ .

 
Resize! - www.clicksplat.com/comparison.html
   

Post Reply



 



Advertisement

Worth A Click