[comp.windows.ms.programmer] Help: Zortech C++ and SDK 3.0

weiren@cs.mcgill.ca (Weiren DING) (12/21/90)

I have both Zortech C++ 2.1 and SDK 3.0 on hand. But I can not make the
examples of SDK work, by using Zortech compiler.

Does anybody have any suggestions?
Thnaks in advance.

juan@rose.ACA.MCC.COM (John Reynolds) (12/21/90)

In article <1990Dec20.232603.468@cs.mcgill.ca>, weiren@cs.mcgill.ca (Weiren DING) writes:
> 
> I have both Zortech C++ 2.1 and SDK 3.0 on hand. But I can not make the
> examples of SDK work, by using Zortech compiler.
> 
> Does anybody have any suggestions?
> Thnaks in advance.

You must use Microsoft's linker to create a Windows application.  Zortech
states this quite clearly in their (gasp) documentation.  The pre-Windows3
SDK's all included a special liker called link4.  With the new SDK you must
have the linker supplied with Microsoft C 5.1 or later.  This linker is the
one supplied for OS/2 support, and many people have goofed by installing 
the DOS only linker.
To my knowledge, Microsoft doesn't sell this linker separately, which makes
Zortech's position somewhat tenuous.  You can create Windows apps with
Zortech C++, but only if you've bought Microsoft C, or possibly MASM.

Has anyone got a list of linkers which will work, or of the cheapest way
to use the SDK with a non-Microsoft language?  How about Bourland's linker?

John Reynolds
juan@mcc.com

spolsky-joel@cs.yale.edu (Joel Spolsky) (12/22/90)

In article <1671@rose.ACA.MCC.COM> juan@rose.ACA.MCC.COM (John Reynolds) writes:
>You must use Microsoft's linker to create a Windows application...
>
>To my knowledge, Microsoft doesn't sell this linker separately...

No, but they do give it away free.

You can call up Microsoft and ask for the Windows SDK supplemental
compilers disk which includes Link 5.1.

Joel Spolsky          // And these streets, Quiet as a sleeping army
spolsky@cs.yale.edu   // Send their battered dreams to heaven.   _Paul Simon

dea@hpsesrwd.HP.COM (Bob Dea) (12/22/90)

I had the same problem!, It would compile but when I run it nothing
happens. The problem is you must delete the file MENUDEF.RES and remake
the application.  The MENUDEF.RES was made for Windows 2.1.

johnm@spudge.UUCP (John Munsch) (12/27/90)

What you may find most helpful when trying to use the Windows 3.0 SDK with
Zortech C++ 2.1 is to go on their bulletin board @ (206)822-6907.  In one
of their download directories you will find a file named WIN3KIT.COM (or EXE)
which will give you a batch file to make libraries that I have found to be very
successful for development work.  It will combine features of Zortech's libs
together with stuff from the SDK so that you can just use Zortech's ZL?W and
PL? together with the SDK's LIBW to get great results.

John Munsch

mikem@brahms.amd.com (Mike Moretti) (01/02/91)

Microsoft supplies the required linker in what they call
the Suplemental Compiler Kit. Call Microsoft and they will
send it to you free.