Re: No explicit directions.

From: George Hester (hesterloli_at_hotmail.com)
Date: 01/11/05


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 
> 
> 


Relevant Pages

  • Re: where is a copy of atlstr.h ??
    ... program for Visual Studio parks things in terms of directories, ... your expectation that Microsoft "documents this" is unreasonable. ... would have carry documentation for many previous versions of Visual Studio. ... or ATL header files are present on your computer. ...
    (microsoft.public.vc.language)
  • Microsoft Express Tools (WAS: c++ programming evironment)
    ... Here is a link to the Express editions for the Microsoft tools... ... If your app is a simple utility that is designed to be Windows only, then the Express editions should do the trick nicely. ... i've seen some references to the visual studio for windows. ... developer coming from a Windows environment. ...
    (Fedora)
  • Re: Startup default language in VS 8 Pro
    ... actually shows it as Visual Studio 9.0.30729.1 SP1 on the About screen, ... all of the MSDN documentation file for the installed Help content ... documentation installation which is an earlier version and is so designated ... Would using a run command that is targeted to the environment profile ...
    (microsoft.public.vstudio.general)
  • Re: No explicit directions.
    ... > This question has to do with the Platform SDKs. ... Setting environment for using Microsoft Visual Studio .NET 2003 tools. ...
    (microsoft.public.vc.language)
  • Re: VB .net - A question for Microsoft Moderators...
    ... >> that not all VB6/VBA programmers have the luxury of Visual studio proper. ... This is obviously why Microsoft ... In thes environment VB, more and more, has become a utility ...
    (microsoft.public.office.developer.vba)

Quantcast