Xref: utzoo comp.os.msdos.programmer:3390 comp.windows.ms.programmer:931 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!psuvax1!uwm.edu!spool.mu.edu!sdd.hp.com!usc!aero-c!jordan From: jordan@aero.org (Larry M. Jordan) Newsgroups: comp.os.msdos.programmer,comp.windows.ms.programmer Subject: New Zortech C++/Windows 3.0 Developer... Message-ID: <1991Feb15.224409.23871@aero.org> Date: 15 Feb 91 22:44:09 GMT References: <1991Feb15.041246.15904@murdoch.acc.Virginia.EDU> <24216@netcom.COM> Sender: news@aero.org Distribution: usa Organization: The Aerospace Corporation, El Segundo, CA Lines: 20 I am a new Windows 3.0 developer using Zortech C++. I've run up against what I will call a beginner's configuration problem. I recently bought Petzold's book and keyed in ENVIRON.C which references "environ" in the code. This is a pointer to the environement. It wouldn't compile. The file includes where "environ" is supposed to be defined. It is, but in \windev\include\stdlib.h, and not in \zortech\include\stdlib.h which is what I am getting since I have my INCLUDE env. var is set to Zortech's. I redefined INCLUDE to be only the SDK includes and Zortech complained about a decl. using the volatile keyword... My question: What must I do? Must I go in and "condition" any SDK header file so that it finally pleases the Zortech compiler, or do I use the Zortech supplied header file and change "environ" to reference the Zortech pointer to the environment (envptr)? Or what? How should things be configured? This raises another question: What if I want to use some of the Zortech libraries. Can I along with the windows libraries? What problems must I look out for? --Larry