Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!sot-ecs!gjh From: gjh@ecs.soton.ac.uk (Gary Hill) Newsgroups: comp.windows.ms.programmer Subject: Re: Win3 vs, Win 2.11 Message-ID: <6667@ecs.soton.ac.uk> Date: 11 Feb 91 14:27:12 GMT References: <26814@uflorida.cis.ufl.EDU> Sender: news@ecs.soton.ac.uk Lines: 22 In <26814@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hook) writes: >Howdy all. I have been messing around with the Windows SDK and C 6.00 and >have encountered a "This Application is for a previous version of Windows!" >message everytime I run a certain program. >after typing all the code for SWP.C in, I now get that message. What >do old Windows programs do that new Windows programs don't so that >Windows 3.0 knows what is going on? This is annoying, to say the very >least. With Windows 3.0 you must run the resource compiler rc.exe on the executable even if you= don't have any resources as this marks it as a win 3.0 program if you don't you get the message you have described. Just add 'rc swp.exe' after your link line. Hope this helps. Gary Hill, gjh@uk.ac.soton.ecs >Brian