Re: No explicit directions.
From: George Hester (hesterloli_at_hotmail.com)
Date: 01/11/05
- Next message: Sumit T. Marwal: "windows error message"
- Previous message: john andrew: "Re: DirectX SDK"
- In reply to: William DePalo [MVP VC++]: "Re: No explicit directions."
- Next in thread: William DePalo [MVP VC++]: "Re: No explicit directions."
- Reply: William DePalo [MVP VC++]: "Re: No explicit directions."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 01:00:25 -0500
Yes but that actually is not how I was trying to do it. I was trying to do it by copy and pasting each of the
files as they were listed in the documentation. That documentation did NOT say how to build it so I was
flying by the seat of my pants there. If you want to have some idea what I did if you search in the
documentation for generic.c you will find it as well as its friends. Copy and paste each into Notepad name
them the same. Build it.
I was able to get the Window I just cannot get the Menu.
I'll look at the Sample. Thanks.
-- George Hester _________________________________ "William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message news:eEhu2k59EHA.3260@TK2MSFTNGP14.phx.gbl... > "George Hester" <hesterloli@hotmail.com> wrote in message > news:%23VZQrR59EHA.3756@TK2MSFTNGP14.phx.gbl... > > This question has to do with the Platform SDKs. I think > > > > this sample is common to all of them. > > ... > > I thin tried to make the make file for this I called it generic.mak. Here > > it is: > > ... > > First you set the environment for the compiler. I use VS.Net 2003. It has a > file named VSVARS.bat to do the job. Previous copilers used VCVARS. You'll > need to do a little legwork to find the batch job for your compiler. :-) > > C:\MSSDK>"C:\Program Files\Microsoft Visual Studio .NET > 2003\Common7\Tools\vsvar > s32.bat" > > which generated this > > <quote> > Setting environment for using Microsoft Visual Studio .NET 2003 tools. > (If you have another version of Visual Studio or Visual C++ installed and > wish > to use its tools from the command line, run vcvars32.bat for that version.) > </quote> > > Then you set the environment for the SDK > > C:\MSSDK>c:\MSSDK\SetEnv.bat > > It generated this > > > <quote> > Targeting Windows XP 32 DEBUG > </quote> > > Then you build > > C:\MSSDK>cd Samples\begin\Generic > C:\MSSDK\Samples\begin\Generic>nmake -f Makefile > > It generated this > > <quote> > Microsoft (R) Program Maintenance Utility Version 7.10.3077 > Copyright (C) Microsoft Corporation. All rights reserved. > > if not exist "XP32_DEBUG/" mkdir XP32_DEBUG > cl -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS > -D_X > 86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0600 > -D > WINVER=0x0501 -MLd /Fo"XP32_DEBUG\\" /Fd"XP32_DEBUG\\" generic.c > generic.c > Rc /r -DWIN32 -D_WIN32 -DWINVER=0x0501 -DDEBUG -D_DEBUG /fo > XP32_DEBUG\ > GENERIC.res GENERIC.rc > link /DEBUG:full /DEBUGTYPE:cv /INCREMENTAL:NO > /NOLOGO -subsystem:windo > ws,5.01 XP32_DEBUG\generic.obj XP32_DEBUG\GENERIC.res kernel32.lib > ws2_32.lib > mswsock.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib > version > .lib -out:XP32_DEBUG\GENERIC.exe > Start /Wait Hcrtf -o .\XP32_DEBUG\GENERIC.hlp -xn GENERIC.hpj > > </quote> > > Voila! > > Regards, > Will > >
- Next message: Sumit T. Marwal: "windows error message"
- Previous message: john andrew: "Re: DirectX SDK"
- In reply to: William DePalo [MVP VC++]: "Re: No explicit directions."
- Next in thread: William DePalo [MVP VC++]: "Re: No explicit directions."
- Reply: William DePalo [MVP VC++]: "Re: No explicit directions."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|