🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #849

2 Questions

#849
From: Oded Malky
Date: Mon, 04 Jan 1993 20:54
20 lines
1108 bytes
Hi everybody.
 Two questions:

1 - In Borland C++ 3.1, is there any predefined constant to sense Windows environment? 
     Example for usage:

     #ifdef WINDOWS
     ...
     #endif

2 - How can I close (from the program) the window opened by a PRINTF command?
     (It's name is changed to 'inactivate...' and that's it).

Thanks,
  Oded Malky.
+---------------------------------------------------------------------------+
| Oded Malky - M.O.TEK LTD, director                   phone: 972-4-230158  |
| Internet: s2212530@techst02.technion.ac.il           phone: 972-4-661720  |
| Address: Zalman Shneor 36 ap. 23, Haifa 32545 ISRAEL   fax: 972-4-661712  |
+---------------------------------------------------------------------------+
Technical Details
Message-ID: <1993Jan4.205409.2210@discus.technion.ac.il>
Path: arc1-ca.pugleaf.net!sparky!uunet!das.wang.com!wang!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!das.wang.com!wang!news
From: s2212530@techst02.technion.ac.il (Oded Malky)
Subject: 2 Questions
Organization: Technion, Israel Inst. of Technology
Date: Mon, 4 Jan 1993 20:54:09 GMT
Message-ID: <1993Jan4.205409.2210@discus.technion.ac.il>
Sender: news@wang.com
Lines: 21