www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/26/05:30:33

From: "Jan Bares" <jan DOT bares AT antek DOT cz DOT no DOT spam>
Newsgroups: comp.os.msdos.djgpp
Subject: Please help me with RSXNTDJ
Date: Mon, 26 Jun 2000 10:44:14 +0200
Organization: Video On Line
Lines: 32
Message-ID: <8j7551$gd0$1@news.vol.cz>
NNTP-Posting-Host: antek.vol.cz
X-Trace: news.vol.cz 962009057 16800 195.250.137.143 (26 Jun 2000 08:44:17 GMT)
X-Complaints-To: sysadmin AT vol DOT cz
NNTP-Posting-Date: 26 Jun 2000 08:44:17 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, I am new to RSXNTDJ and I have big problem compiling simple Win32 API
application. I have latest version of RSXNTDJ and djgpp. I have simple
application that just calls MessageBoc and dies. When I run gcc, the
application gets compiled and linked, but the final step NtBind creates
console (instead of Windows) application. Can you tell me how NtBind
recognizes type of application? There are no switch to control this
behaviour. Or can you tell me where can I find source of NtBind?

More questions: I tried to compile latest MS SDK headers. Of course there
are big problems:
* anonymous structures
* completely different syntax of asm keyword (e.g. asm {...})
* language extensions such as __declspec(dllimport) differ

The RSXNTDJ mentions to run DoPatch.bat to patch the headers, but I cannot
find this tool. How do you handle this problem? Or do you use the several
years old port of MS SDK headers?

Is there a switch to tell GCC to stop compilation after 'n' errors?

Regards, Jan

PS: Please do not mention Mingw32 - I will evaluate it too, but I would like
to know if I can use djgpp+RSXNTDJ.

--

Jan Bares
(remove no.spam from my email address)
JPCAD Graphics Engine developer, surf to http://www.antek.cz


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019