荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: tang (独孤九剑〖玄铁重剑〗), 信区: Program
标  题: [转载]  MSVC Digest - 20 Dec 1998 to 21 Dec 1998 (#1998-348)
发信站: BBS 荔园晨风站 (Wed Dec 23 12:12:44 1998), 站内信件

【 以下文字转载自 tang 的信箱 】
【 原文由 Automatic 所发表 】
There are 14 messages totalling 1170 lines in this issue.

Topics of the day:

  1. Get file icon sample : BMP file ? (2)
  2. 3d graphics (3)
  3. Is VC++ 6.0 Support Cool Menu?
  4. Check for administrator rights
  5. Creating Window and debugging
  6. Developer Studio Setting
  7. Odp: Re: Get file icon sample
  8. Just a test for new configuration
  9. Printing problem
 10. Developer Studio Setting - Thanks
 11. Posts to this list

--------------------------------------------------------------------------
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription/signoff info
and archives, see http://peach.ease.lsoft.com/archives/msvc.html .

----------------------------------------------------------------------

Date:    Mon, 21 Dec 1998 11:31:07 +0530
From:    Aditya Kumar <aditya@NOIDA.HCLT.COM>
Subject: Re: Get file icon sample : BMP file ?

Hi ,

(VC 5.0 win95 MFC )

How can I open a bmp file from hard disk . The structure below seems
only for icon files .
TIA
Aditya

David Roe wrote:

>  SHFILEINFO
> sfi; memset(&sfi,0,sizeof(SHFILEINFO));SHGetFileInfo(szPathname,0,&sfi,
sizeof(SHFILEINFO),
>
> SHGFI_USEFILEATTRIBUTES | SHGFI_SYSICONINDEX | SHGFI_SMALLICON |
> SHGFI_TYPENAME); rgds,/david
>
>      -----Original Message-----
>      From: Rui Couto <rcouto@SHOPPINGDIRECT.PT>
>      To: MSVC@PEACH.EASE.LSOFT.COM <MSVC@PEACH.EASE.LSOFT.COM>
>      Date: Friday, December 18, 1998 4:31 AM
>      Subject: Get file icon sample
>       I need a sample of how can I get a icon from a external
>      filefor example: I wnat to create a view that shows me every
>      file in a determinated directory , and the icons file... can
>      i do that??how?  thanks
>
--
********************************************************************
Aditya Kumar                    |    aditya@noida.hclt.com
HCL Technologies,               |
Sector 11 , Noida.              |    adi47@hotmail.com

## Still looking for something witty to add to my sign ! ##
********************************************************************

------------------------------

Date:    Mon, 21 Dec 1998 02:07:49 +0800
From:    Jesse Laeuchli <jesse@LAEUCHLI.COM>
Subject: 3d graphics

This is a multi-part message in MIME format.

------=_NextPart_000_0010_01BE2C86.B5B17BA0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, I have a question. When people make new 3dgames, like halflife and =
jedi knights how do they render there graphics? do they draw them in a =
program do they render them by hand? How do they do it?

Jesse@laeuchli.com


------=_NextPart_000_0010_01BE2C86.B5B17BA0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi, I have a question. When people =
make new=20
3dgames, like halflife and jedi knights how do they render there =
graphics? do=20
they draw them in a program do they render them by hand? How do they do=20
it?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2><A=20
href=3D"mailto:Jesse@laeuchli.com">Jesse@laeuchli.com</A></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0010_01BE2C86.B5B17BA0--

------------------------------

Date:    Mon, 21 Dec 1998 18:36:52 +1100
From:    David Roe <dud@SYDNEY.NET>
Subject: Re: Get file icon sample : BMP file ?

Hope the following code helps.

HBITMAP tvLoadBitmapFromBMP(LPSTR lpString, HPALETTE FAR *lpPalette)
{
        HBITMAP hBitmap, hOldBitmap;
        BITMAP bm;
        HDC hDC, hMem;
        RGBQUAD rgb[256];
        LPLOGPALETTE pLogPal;
        int i;

        *lpPalette = NULL;

        hBitmap = LoadImage(NULL,lpString,IMAGE_BITMAP,0,0,
                LR_CREATEDIBSECTION | LR_DEFAULTSIZE | LR_LOADFROMFILE);
        if (!hBitmap) return (HBITMAP) 0;

        GetObject(hBitmap,sizeof(BITMAP),&bm);

        if ((bm.bmBitsPixel * bm.bmPlanes) <= 8) {
                hMem=CreateCompatibleDC(NULL);
                hOldBitmap = SelectObject(hMem,hBitmap);
                GetDIBColorTable(hMem,0,256,rgb);
                pLogPal = malloc(sizeof(LOGPALETTE) + (256*sizeof(PALETTEENTRY))
);
                pLogPal->palVersion = 0x300;
                pLogPal->palNumEntries = 256;
                for (i=0;i<256;i++) {
                        pLogPal->palPalEntry[i].peRed = rgb[i].rgbRed;
                        pLogPal->palPalEntry[i].peGreen = rgb[i].rgbGreen;
                        pLogPal->palPalEntry[i].peBlue = rgb[i].rgbBlue;
                        pLogPal->palPalEntry[i].peFlags = 0;
                }
                *lpPalette = CreatePalette(pLogPal);
                free(pLogPal);
                SelectObject(hMem,hOldBitmap);
                DeleteDC(hMem);
        }
        else {
                hDC=GetDC(NULL);
                *lpPalette = CreateHalftonePalette(hDC);
                ReleaseDC(NULL,hDC);
        }

        return hBitmap;
}

HBITMAP tvLoadBitmapFromResource(LPSTR lpString, HPALETTE FAR *lpPalette)
{
        HRSRC hRsrc;
        HGLOBAL hGlobal, hTemp;
        DWORD dwSize;
        HBITMAP hBitmap = NULL;
        LPBITMAPINFOHEADER lpbi;
        LPSTR lpRes, lpNew;
        HDC hDC;
        int iNumColors;

        if (hRsrc = FindResource(hInst,lpString,RT_BITMAP)) {
                hTemp = LoadResource(hInst,hRsrc);
                dwSize = SizeofResource(hInst,hRsrc);
                lpRes = LockResource(hTemp);

                hGlobal = GlobalAlloc(GHND,dwSize);
                lpNew = GlobalLock(hGlobal);
                memcpy(lpNew,lpRes,dwSize);
                UnlockResource(hTemp);
                FreeResource(hTemp);

                lpbi = (LPBITMAPINFOHEADER) lpNew;

                hDC=GetDC(NULL);
                *lpPalette = tvCreateDIBPalette((LPBITMAPINFO) lpbi,&iNumColors)
;
                if (*lpPalette) {
                        SelectPalette(hDC,*lpPalette,FALSE);
                        RealizePalette(hDC);
                }

                hBitmap = CreateDIBitmap(hDC,(LPBITMAPINFOHEADER) lpbi,(LONG)
CBM_INIT,
                        (LPSTR) lpbi + lpbi->biSize + iNumColors *
sizeof(RGBQUAD),
                        (LPBITMAPINFO) lpbi,DIB_RGB_COLORS);

                ReleaseDC(NULL,hDC);
                GlobalUnlock(hGlobal);
                GlobalFree(hGlobal);
        }

        return hBitmap;
}

HPALETTE tvCreateDIBPalette(LPBITMAPINFO lpbmi, LPINT lpiNumColors)
{
        LPBITMAPINFOHEADER lpbi;
        LPLOGPALETTE lpPal;
        HANDLE hLogPal;
        HPALETTE hPal = NULL;
        int i;

        lpbi = (LPBITMAPINFOHEADER) lpbmi;
        if (lpbi->biBitCount <= 8)
                *lpiNumColors = (1 << lpbi->biBitCount);
        else
                *lpiNumColors = 0;

        if (lpbi->biClrUsed > 0)
                *lpiNumColors = lpbi->biClrUsed;

        if (*lpiNumColors) {
                hLogPal = GlobalAlloc(GHND,sizeof(LOGPALETTE) +
sizeof(PALETTEENTRY) *
(*lpiNumColors));
                lpPal = (LPLOGPALETTE) GlobalLock(hLogPal);
                lpPal->palVersion = 0x300;
                lpPal->palNumEntries = *lpiNumColors;

                for (i=0;i<*lpiNumColors;i++) {
                        lpPal->palPalEntry[i].peRed = lpbmi->bmiColors[i]
.rgbRed;
                        lpPal->palPalEntry[i].peGreen = lpbmi->bmiColors[i]
.rgbGreen;
                        lpPal->palPalEntry[i].peBlue = lpbmi->bmiColors[i]
.rgbBlue;
                        lpPal->palPalEntry[i].peFlags = 0;
                }

                hPal = CreatePalette(lpPal);
                GlobalUnlock(hLogPal);
                GlobalFree(hLogPal);
        }

        return hPal;
}

/Dave
---------------
David Roe
Focus Consulting
david@focus-consulting.co.uk
dud@sydney.net



> -----Original Message-----
> From: Microsoft Visual C++ programmers list
> [mailto:MSVC@PEACH.EASE.LSOFT.COM]On Behalf Of Aditya Kumar
> Sent: Monday, 21 December 1998 17:01
> To: MSVC@PEACH.EASE.LSOFT.COM
> Subject: Re: Get file icon sample : BMP file ?
>
>
> Hi ,
>
> (VC 5.0 win95 MFC )
>
> How can I open a bmp file from hard disk . The structure below seems
> only for icon files .
> TIA
> Aditya
>
> David Roe wrote:
>
> >  SHFILEINFO
> > sfi;
> memset(&sfi,0,sizeof(SHFILEINFO));SHGetFileInfo(szPathname,0,&sfi,
> sizeof(SHFILEINFO),
> >
> > SHGFI_USEFILEATTRIBUTES | SHGFI_SYSICONINDEX | SHGFI_SMALLICON |
> > SHGFI_TYPENAME); rgds,/david
> >
> >      -----Original Message-----
> >      From: Rui Couto <rcouto@SHOPPINGDIRECT.PT>
> >      To: MSVC@PEACH.EASE.LSOFT.COM <MSVC@PEACH.EASE.LSOFT.COM>
> >      Date: Friday, December 18, 1998 4:31 AM
> >      Subject: Get file icon sample
> >       I need a sample of how can I get a icon from a external
> >      filefor example: I wnat to create a view that shows me every
> >      file in a determinated directory , and the icons file... can
> >      i do that??how?  thanks
> >
> --
> ********************************************************************
> Aditya Kumar                    |    aditya@noida.hclt.com
> HCL Technologies,               |
> Sector 11 , Noida.              |    adi47@hotmail.com
>
> ## Still looking for something witty to add to my sign ! ##
> ********************************************************************
>
> --------------------------------------------------------------------------
> The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
> international's LISTSERV(R) software.  For subscription/signoff info
> and archives, see http://peach.ease.lsoft.com/archives/msvc.html .
>

------------------------------

Date:    Mon, 21 Dec 1998 09:25:41 -0000
From:    Cliff Rowley <dozprompt@NOSPLASH.FORCE9.CO.UK>
Subject: Re: 3d graphics

This is a multi-part message in MIME format.

------=_NextPart_000_002A_01BE2CC3.E0A35D00
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

It's quite a complicated process for a new 3D programmer (I'm still
learning), but it's all mathematic.  It's rendered at runtime by calculating
the offset of a 3D object in the "world" against it's Z position (depth into
the world) and it's X/Y position, calculated against a preset offset against
the user's screen.  It's a little hard to explain, but here's some sites...

Usually they use BSP trees, which is basically a map.  When the BSP is
compiled, it contains information of what can be seen at every single point
in the map, so the "person's" viewpoint and what they can see does not have
to be calculated every frame, instead it is read from the BSP.  The only
things that are calculated at runtime are moveable objects and enemies.

Here's the sites:

3D programming tutorial:
http://www.geaocities.com/SiliconValley/Horizon/6933/
BSP information and tutorial:  http://reality.sgi.com/
GLIDE (3D/FX programming) and SDK:  http://www.3dfx.com or
http://www.glide.com
DirectX programming:  http://www.microsoft.com/directx

If you are using GLIDE, most of the work is done for you, although you will
lose hardware independence.  If you use DirectX, it's slightly more
complicated, slightly slower, but it will run on a variety of hardware.

Hope this helps...

    -----Original Message-----
    From: Microsoft Visual C++ programmers list
[mailto:MSVC@PEACH.EASE.LSOFT.COM]On Behalf Of Jesse Laeuchli
    Sent: Sunday 20 December 1998 6:08 pm
    To: MSVC@PEACH.EASE.LSOFT.COM
    Subject: 3d graphics


    Hi, I have a question. When people make new 3dgames, like halflife and
jedi knights how do they render there graphics? do they draw them in a
program do they render them by hand? How do they do it?

    Jesse@laeuchli.com


------=_NextPart_000_002A_01BE2CC3.E0A35D00
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =
size=3D2>It's=20
quite a complicated process for a new 3D programmer (I'm still =
learning), but=20
it's all mathematic.&nbsp; It's rendered at runtime by calculating the =
offset of=20
a 3D object in the &quot;world&quot; against it's Z position (depth into =
the=20
world) and it's X/Y position, calculated against a preset offset against =
the=20
user's screen.&nbsp; It's a little hard to explain, but here's some=20
sites...</FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2>Usually they use BSP trees, which is basically a map.&nbsp; =
When the BSP=20
is compiled, it contains information of what can be seen at every single =
point=20
in the map, so the &quot;person's&quot; viewpoint and what they can see =
does not=20
have to be calculated every frame, instead it is read from the =
BSP.&nbsp; The=20
only things that are calculated at runtime are moveable objects and=20
enemies.</FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =
size=3D2>Here's=20
the sites:</FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =
size=3D2>3D=20
programming tutorial:&nbsp; <A=20
href=3D"http://www.geaocities.com/SiliconValley/Horizon/6933/">http://www=
.geaocities.com/SiliconValley/Horizon/6933/</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D220121409-21121998><FONT =
color=3D#0000ff=20
face=3DArial size=3D2>BSP information and tutorial:&nbsp; <A=20
href=3D"http://reality.sgi.com/">http://reality.sgi.com/</A></FONT></SPAN=
></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D220121409-21121998><FONT =
color=3D#0000ff=20
face=3DArial size=3D2>GLIDE (3D/FX programming) and SDK:&nbsp; <A=20
href=3D"http://www.3dfx.com">http://www.3dfx.com</A> or <A=20
href=3D"http://www.glide.com">http://www.glide.com</A></FONT></SPAN></DIV=
>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D220121409-21121998><FONT =
color=3D#0000ff=20
face=3DArial size=3D2>DirectX programming:&nbsp; <A=20
href=3D"http://www.microsoft.com/directx">http://www.microsoft.com/direct=
x</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =
size=3D2>If you=20
are using GLIDE, most of the work is done for you, although you will =
lose=20
hardware independence.&nbsp; If you use DirectX, it's slightly more =
complicated,=20
slightly slower, but it will run on a variety of =
hardware.</FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =
size=3D2>Hope=20
this helps...</FONT></SPAN></DIV>
<DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
    <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
    size=3D2>-----Original Message-----<BR><B>From:</B> Microsoft Visual =
C++=20
    programmers list [mailto:MSVC@PEACH.EASE.LSOFT.COM]<B>On Behalf =
Of</B> Jesse=20
    Laeuchli<BR><B>Sent:</B> Sunday 20 December 1998 6:08 =
pm<BR><B>To:</B>=20
    MSVC@PEACH.EASE.LSOFT.COM<BR><B>Subject:</B> 3d=20
graphics<BR><BR></FONT></DIV>
    <DIV><FONT color=3D#000000 size=3D2>Hi, I have a question. When =
people make new=20
    3dgames, like halflife and jedi knights how do they render there =
graphics?=20
    do they draw them in a program do they render them by hand? How do =
they do=20
    it?</FONT></DIV>
    <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#000000 size=3D2><A=20
    =
href=3D"mailto:Jesse@laeuchli.com">Jesse@laeuchli.com</A></FONT></DIV>
    <DIV><FONT color=3D#000000 =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_002A_01BE2CC3.E0A35D00--

------------------------------

Date:    Mon, 21 Dec 1998 09:54:18 -0000
From:    Cliff Rowley <dozprompt@NOSPLASH.FORCE9.CO.UK>
Subject: Re: Is VC++ 6.0 Support Cool Menu?

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01BE2CC7.E04B5520
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

No, but Stingray's Object Toolkit does...  www.stingray.com
    -----Original Message-----
    From: Microsoft Visual C++ programmers list
[mailto:MSVC@PEACH.EASE.LSOFT.COM]On Behalf Of Guo Dongdong
    Sent: Saturday 18 July 1998 4:48 pm
    To: MSVC@PEACH.EASE.LSOFT.COM
    Subject: Is VC++ 6.0 Support Cool Menu?


    Hi, All!

    Does any body know whether VC++6.0 supports Cool Menu or not?

    Thanks!

------=_NextPart_000_000A_01BE2CC7.E04B5520
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D110405309-21121998><FONT color=3D#0000ff face=3DArial =
size=3D2>No,=20
but Stingray's Object Toolkit does...&nbsp; =
www.stingray.com</FONT></SPAN></DIV>
<BLOCKQUOTE>
    <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
    size=3D2>-----Original Message-----<BR><B>From:</B> Microsoft Visual =
C++=20
    programmers list [mailto:MSVC@PEACH.EASE.LSOFT.COM]<B>On Behalf =
Of</B> Guo=20
    Dongdong<BR><B>Sent:</B> Saturday 18 July 1998 4:48 pm<BR><B>To:</B> =

    MSVC@PEACH.EASE.LSOFT.COM<BR><B>Subject:</B> Is VC++ 6.0 Support =
Cool=20
    Menu?<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Hi, All!</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#000000 face=3DArial size=3D2>Does any body know =
whether=20
    VC++6.0 supports Cool Menu or not? <BR></FONT></DIV>
    <DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>Thanks!</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000A_01BE2CC7.E04B5520--

------------------------------

Date:    Mon, 21 Dec 1998 09:56:40 -0000
From:    Max Walshe <maxw@BARACING.CO.UK>
Subject: Re: Check for administrator rights

Here's some code I wrote some time ago. It was based on
an MSDN KB article, but if you don't have access to MSDN
here it is anyway:

BOOL CWindowsOS::IsAdministrator()
{
    // Taken from WIN32 Knowledge base
    //
    // Article ID: Q118626

    HANDLE hAccessToken;
    if(!OpenProcessToken(GetCurrentProcess(), TOKEN_READ, &hAccessToken))
       return FALSE;

    BOOL bSuccess;
    UCHAR InfoBuffer[1024];
    DWORD dwInfoBufferSize;
    PTOKEN_GROUPS ptgGroups = (PTOKEN_GROUPS)InfoBuffer;
    bSuccess = GetTokenInformation(hAccessToken, TokenGroups, InfoBuffer,
                                   sizeof(InfoBuffer), &dwInfoBufferSize);

    CloseHandle(hAccessToken);

    if(!bSuccess)
         return FALSE;

    PSID psidAdministrators;
    SID_IDENTIFIER_AUTHORITY siaNtAuthority = SECURITY_NT_AUTHORITY;
    if(!AllocateAndInitializeSid(&siaNtAuthority, 2,
                                 SECURITY_BUILTIN_DOMAIN_RID,
                                 DOMAIN_ALIAS_RID_ADMINS,
                                 0, 0, 0, 0, 0, 0,
                                 &psidAdministrators))
         return FALSE;

    // assume that we don't find the admin SID.
    bSuccess = FALSE;

    for(UINT x = 0; x < ptgGroups->GroupCount; x++)
    {
        if( EqualSid(psidAdministrators, ptgGroups->Groups[x].Sid) )
        {
            bSuccess = TRUE;
            break;
        }

    }

    FreeSid(psidAdministrators);
    return bSuccess;
}


Max

------------------------------

Date:    Mon, 21 Dec 1998 05:04:24 -0500
From:    Drew Burchett <dirtdart@APEX.NET>
Subject: Creating Window and debugging

I have a program that I am trying to debug. It includes a background window
which  is created at the beginning of the program and stays in place for
the duration of  the program.  However, I can't seem to debug this program
for some reason.  Whenever I run it as an executable, everything works fine
(up to the point I need to debug).  However, If I attach the debugger to it
in any way, the Call to RegisterClassEx fails and the window will not
create.  GetLastError placed immediatly after returns 0, so I don't have
any clue what is causing this.  Any suggestions?

The environment is Win98 and VC++ 5.0

------------------------------

Date:    Mon, 21 Dec 1998 17:25:59 +0530
From:    Senapathy K <K.Senapathy@BLR.SPCNL.CO.IN>
Subject: Re: Developer Studio Setting

Hi Shyan,

I know I am replying quite late, but still.. better be late than never!
All the Dev Studio settings like include/src/lib directories, debug info,
parameters etc are stored in the registry under

HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\DEVELOPER.
And also under
HKEY_LOCAL_MACHINE under the same path.

You can prob'ly export this key to a .reg file and just run it at the other
machine. On the other hand if it is just the text editor settings, you can
just export the key

HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\DEVELOPER\Text Editor

Senapathy
Siemens Communication Software
Bangalore

-----Original Message-----
From: SHYAN LAM [mailto:sflam@USA.NET]

I have set the syntax coloring and added many shortcuts to the commonly used
editing functions.  I want to duplicate these setting to other computers.
Does any one know where does the IDE store these setting?

Thanks

Shyan Lam
sflam@usa.net


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

--------------------------------------------------------------------------
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription/signoff info
and archives, see http://peach.ease.lsoft.com/archives/msvc.html .

------------------------------

Date:    Mon, 21 Dec 1998 13:05:27 +0100
From:    =?iso-8859-2?Q? Robert_Wi=EAckowicz ?= <wieckowiczr@PROKOM.GDYNIA.PL>
Subject: Odp: Re: Get file icon sample

--0__=dZdFypFnW3ZTTXJr5ewOlPt0sgG6fmm7ORKDMjpMMyPApnBN0qH1BCNk
Content-type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-transfer-encoding: quoted-printable


Hi,

it doesn't work (for me) with SHGFI_SMALLICON flag. I use SHGFI_ICON
instead and handle of icon returned by SHGetFileInfo function I add to
CImageList object initialized to hold 16x16 pixels images (the icons wi=
ll
be automaticaly resized). I know the result doesn't look fine but I can=
 see
the icons in CListCtrl object.

Ruo Couto, if it isn't understandable for You (sorry for my English) I =
can
send You an example...

Robert




David Roe <dud@SYDNEY.NET> na 18-12-98 00:29:59

Prosz=EA o odpowied=BC do "Microsoft Visual C++ programmers list"
      <MSVC@PEACH.EASE.LSOFT.COM>

Do:   MSVC@PEACH.EASE.LSOFT.COM
cc:    (bcc: Robert Wi=EAckowicz/SZCZECIN/PROKOM/PL)
Temat:    Re: Get file icon sample


=

--0__=dZdFypFnW3ZTTXJr5ewOlPt0sgG6fmm7ORKDMjpMMyPApnBN0qH1BCNk
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline


SHFILEINFO sfi;

memset(&sfi,0,sizeof(SHFILEINFO));
        SHGetFileInfo(szPathname,0,&sfi,sizeof(SHFILEINFO),
                SHGFI_USEFILEATTRIBUTES | SHGFI_SYSICONINDEX |
SHGFI_SMALLICON | SHGFI_TYPENAME);

rgds,
/david

  -----Original Message-----
  From: Rui Couto <rcouto@SHOPPINGDIRECT.PT>
  To: MSVC@PEACH.EASE.LSOFT.COM <MSVC@PEACH.EASE.LSOFT.COM>
  Date: Friday, December 18, 1998 4:31 AM
  Subject: Get file icon sample


  I need a sample of how can I get a icon from a external file
  for example:

  I wnat to create a view that shows me every file in a determinated
directory , and the icons file... can i do that??
  how?


  thanks


--0__=dZdFypFnW3ZTTXJr5ewOlPt0sgG6fmm7ORKDMjpMMyPApnBN0qH1BCNk
Content-type: text/html;
        name="att1.htm"
Content-Disposition: attachment; filename="att1.htm"
Content-transfer-encoding: base64
Content-Description: Internet HTML

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBXMyBIVE1MLy9FTiI+DQo8SFRNTD48
SEVBRD4NCjxNRVRBIGNvbnRlbnQ9dGV4dC9odG1sO2NoYXJzZXQ9aXNvLTg4NTktMSBodHRwLWVx
dWl2PUNvbnRlbnQtVHlwZT48IURPQ1RZUEUgSFRNTCBQVUJMSUMgIi0vL1czQy8vRFREIFczIEhU
TUwvL0VOIj4NCjxNRVRBIGNvbnRlbnQ9JyJNU0hUTUwgNS4wMC4wOTEwLjEzMDkiJyBuYW1lPUdF
TkVSQVRPUj48L0hFQUQ+DQo8Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIHNpemU9
Mj48L0ZPTlQ+PEZPTlQgZmFjZT1BcmlhbCBzaXplPTI+U0hGSUxFSU5GTyBzZmk7PC9GT05UPjwv
RElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgZmFjZT1BcmlhbD5tZW1zZXQoJmFt
cDtzZmksMCxzaXplb2YoU0hGSUxFSU5GTykpOzwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgZmFj
ZT1BcmlhbCANCnNpemU9Mj4gICAgICAgU0hHZXRGaWxlSW5mbyhzelBhdGhuYW1lLDAsJmFtcDtz
Zmksc2l6ZW9mKFNIRklMRUlORk8pLDxCUj4gICAgICAgICAgICAgU0hHRklfVVNFRklMRUFUVFJJ
QlVURVMgDQp8IFNIR0ZJX1NZU0lDT05JTkRFWCB8IFNIR0ZJX1NNQUxMSUNPTiB8IFNIR0ZJX1RZ
UEVOQU1FKTs8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIGZhY2U9QXJpYWwgc2l6ZT0yPjwvRk9O
VD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgZmFjZT1BcmlhbCBzaXplPTI+cmdkcyw8L0ZPTlQ+
PC9ESVY+DQo8RElWPjxGT05UIGZhY2U9QXJpYWwgc2l6ZT0yPi9kYXZpZDxCUj48L0ZPTlQ+PC9E
SVY+DQo8QkxPQ0tRVU9URSANCnN0eWxlPSJCT1JERVItTEVGVDogIzAwMDAwMCAycHggc29saWQ7
IE1BUkdJTi1MRUZUOiA1cHg7IE1BUkdJTi1SSUdIVDogMHB4OyBQQURESU5HLUxFRlQ6IDVweCI+
DQogIDxESVY+PEZPTlQgZmFjZT1BcmlhbCBzaXplPTI+PEI+LS0tLS1PcmlnaW5hbCBNZXNzYWdl
LS0tLS08L0I+PEJSPjxCPkZyb206IA0KICA8L0I+UnVpIENvdXRvICZsdDs8QSANCiAgaHJlZj0i
bWFpbHRvOnJjb3V0b0BTSE9QUElOR0RJUkVDVC5QVCI+cmNvdXRvQFNIT1BQSU5HRElSRUNULlBU
PC9BPiZndDs8QlI+PEI+VG86IA0KICA8L0I+PEEgaHJlZj0ibWFpbHRvOk1TVkNAUEVBQ0guRUFT
RS5MU09GVC5DT00iPk1TVkNAUEVBQ0guRUFTRS5MU09GVC5DT008L0E+IA0KICAmbHQ7PEEgDQog
IGhyZWY9Im1haWx0bzpNU1ZDQFBFQUNILkVBU0UuTFNPRlQuQ09NIj5NU1ZDQFBFQUNILkVBU0Uu
TFNPRlQuQ09NPC9BPiZndDs8QlI+PEI+RGF0ZTogDQogIDwvQj5GcmlkYXksIERlY2VtYmVyIDE4
LCAxOTk4IDQ6MzEgQU08QlI+PEI+U3ViamVjdDogPC9CPkdldCBmaWxlIGljb24gDQogIHNhbXBs
ZTxCUj48QlI+PC9ESVY+PC9GT05UPg0KICA8RElWPjxGT05UIGNvbG9yPSMwMDAwMDAgc2l6ZT0y
PkkgbmVlZCBhIHNhbXBsZSBvZiBob3cgY2FuIEkgZ2V0IGEgaWNvbiBmcm9tIGEgDQogIGV4dGVy
bmFsIGZpbGUgPC9GT05UPjwvRElWPg0KICA8RElWPjxGT05UIHNpemU9Mj5mb3IgZXhhbXBsZTo8
L0ZPTlQ+PC9ESVY+DQogIDxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCiAg
PERJVj48Rk9OVCBzaXplPTI+SSB3bmF0IHRvIGNyZWF0ZSBhIHZpZXcgdGhhdCBzaG93cyBtZSBl
dmVyeSBmaWxlIGluIGEgDQogIGRldGVybWluYXRlZCBkaXJlY3RvcnkgLCBhbmQgdGhlIGljb25z
IGZpbGUuLi4gY2FuIGkgZG8gdGhhdD8/PC9GT05UPjwvRElWPg0KICA8RElWPjxGT05UIHNpemU9
Mj5ob3c/PC9GT05UPjwvRElWPg0KICA8RElWPjxGT05UIHNpemU9Mj48L0ZPTlQ+Jm5ic3A7PC9E
SVY+DQogIDxESVY+PEZPTlQgc2l6ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCiAgPERJVj48Rk9O
VCBzaXplPTI+dGhhbmtzIDwvRk9OVD48L0RJVj48L0JMT0NLUVVPVEU+PC9CT0RZPjwvSFRNTD4N
Cg0K

--0__=dZdFypFnW3ZTTXJr5ewOlPt0sgG6fmm7ORKDMjpMMyPApnBN0qH1BCNk--

------------------------------

Date:    Mon, 21 Dec 1998 22:01:13 +0800
From:    Lei Yin <leiyin@263.NET>
Subject: Just a test for new configuration

Hi, all friends:

This is just a test for my new configuration on this mailing list server.
Hope this mail did not disturb you.

Thanks. :)

---
Lei Yin                          __________________________________________
                                 )  M r. L e i   Y i n =================== )_
   ,-~~-.___.                   / State Key Laboratory of Millimeter Wave / /
  / |  '     \            ()   / Radio Eng. Dept. , Southeast University / /
 (  )         0         O     /........................................./ /
  \_/-, ,----'        o      / E-mail: Lei Yin <leiyin@263.net>        / /
     ====           //      /     Tel: +86-25-3793276     (Office)    / /
    /  \-'~;    /~~~(O)    /           +86-550-3025280    (Home)     / /
 =(  _____| (_________ |  (_________________________________________(_/

------------------------------

Date:    Mon, 21 Dec 1998 10:00:44 -0500
From:    Sangeeta_Mehta@VANGUARD.COM
Subject: Re: Printing problem

Srikanth,
     Thanks for the suggestion.  However, OpenPrinter("LPT1",pHandle,NULL)
returns me a return code of success.  If I have passed the wrong parameter,
shouldn't this function fail ?
Also, I have tried out with "LPT1:", but I face the same problem.
Is there another way to get this thing working...anything other than system
calls ?
Thanks
Sangeeta




Srikanth C G <srikanth_cg@TRIGENT.COM> on 12/20/98 03:56:52 AM
Please respond to "Microsoft Visual C++ programmers list"
      <MSVC@PEACH.EASE.LSOFT.COM>

To:   MSVC@PEACH.EASE.LSOFT.COM
cc:    (bcc: Sangeeta Mehta/Cntrct/VGI)
Subject:  Re: Printing problem




I think the problem is that OpenPrinter takes the Printer Name as argument
and you are trying to pass Port Name as parameter. Check this out.

>     BOOL result = OpenPrinter("LPT1",&pHandle,NULL);
                                      ^^^^^^
This must be printer name (like "HP Laser Jet 5/5M Postscript") and not
port name.
And also for your information, if somewhere else you are using the port
name , it should be "LPT1:" - the colon is also necessary.

Srikanth C.G.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
~~~~
                    _____________________________________
                   |        C. G. Srikanth               |
                   |        Software Engineer            | _
                / )|        Trigent Software Limited,    |( \
               / / |        620, 80 Feet Road, 8th Block,| \ \
             _( (_ |        Koramangala,                 | _) )_
            (((\ \>|_/->____Bangalore - 560 095______<-\_|</ /)))
            (\\\\ \_/ /                               \ \_/ ////)
             \       / Email:srikanth_cg@trigent.com   \       /
              \    _/  Phone:91-80-571-0711 extn 1820   \_    /
              /   /                                       \   \

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
~~~~

--------------------------------------------------------------------------
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription/signoff info
and archives, see http://peach.ease.lsoft.com/archives/msvc.html .

------------------------------

Date:    Mon, 21 Dec 1998 09:10:30 CST
From:    SHYAN LAM <sflam@USA.NET>
Subject: Re: Developer Studio Setting - Thanks

Dear Senapathy,

Thanks, you've save me a lot of time.

BTW, on NT (at least on my machine), the settings are stored under:
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\DevStudio\5.0 and
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\DevStudio\6.0 for Developer Studio 97 and
Visual Studio 6.0 respectively.

Shyan Lam
sflam@usa.net


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

------------------------------

Date:    Mon, 21 Dec 1998 15:15:34 -0000
From:    Max Walshe <maxw@BARACING.CO.UK>
Subject: Re: Posts to this list

This is such a common thing that is posted here. You'll probably
end up getting heaps of 'I can read this' type messages appearing
now.

I assume that the mailing list software filters out messages from
the sender when posting to the remainder of the group, hence
you don't see your own posts or replies.

Seeing as this is such a common thing that members ask could
we not change things so that posters get to see their own messages.
If nothing else, at least it is a confirmation that the rest of the world
may be seeing you warbles.

Max

Max Walshe  (maxw@baracing.co.uk)
Senior Software Engineer
British American Racing

------------------------------

Date:    Mon, 21 Dec 1998 21:05:42 +0800
From:    Jesse Laeuchli <jesse@LAEUCHLI.COM>
Subject: Re: 3d graphics

This is a multi-part message in MIME format.

------=_NextPart_000_000E_01BE2D25.AB3D1720
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Your info was very usefull, however, there is one thing I still don't =
get. How do I draw the things to start with, do I render by hand or with =
some sort of program.

    -----Original Message-----
    From: Cliff Rowley <dozprompt@NOSPLASH.FORCE9.CO.UK>
    To: MSVC@PEACH.EASE.LSOFT.COM <MSVC@PEACH.EASE.LSOFT.COM>
    Date: Monday, December 21, 1998 5:36 PM
    Subject: Re: 3d graphics
   =20
   =20
    It's quite a complicated process for a new 3D programmer (I'm still =
learning), but it's all mathematic.  It's rendered at runtime by =
calculating the offset of a 3D object in the "world" against it's Z =
position (depth into the world) and it's X/Y position, calculated =
against a preset offset against the user's screen.  It's a little hard =
to explain, but here's some sites...
    =20
    Usually they use BSP trees, which is basically a map.  When the BSP =
is compiled, it contains information of what can be seen at every single =
point in the map, so the "person's" viewpoint and what they can see does =
not have to be calculated every frame, instead it is read from the BSP.  =
The only things that are calculated at runtime are moveable objects and =
enemies.
    =20
    Here's the sites:
    =20
    3D programming tutorial:  =
http://www.geaocities.com/SiliconValley/Horizon/6933/
    BSP information and tutorial:  http://reality.sgi.com/
    GLIDE (3D/FX programming) and SDK:  http://www.3dfx.com or =
http://www.glide.com
    DirectX programming:  http://www.microsoft.com/directx
    =20
    If you are using GLIDE, most of the work is done for you, although =
you will lose hardware independence.  If you use DirectX, it's slightly =
more complicated, slightly slower, but it will run on a variety of =
hardware.
    =20
    Hope this helps...
    =20
        -----Original Message-----
        From: Microsoft Visual C++ programmers list =
[mailto:MSVC@PEACH.EASE.LSOFT.COM]On Behalf Of Jesse Laeuchli
        Sent: Sunday 20 December 1998 6:08 pm
        To: MSVC@PEACH.EASE.LSOFT.COM
        Subject: 3d graphics
       =20
       =20
        Hi, I have a question. When people make new 3dgames, like =
halflife and jedi knights how do they render there graphics? do they =
draw them in a program do they render them by hand? How do they do it?
        =20
        Jesse@laeuchli.com
        =20

------=_NextPart_000_000E_01BE2D25.AB3D1720
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
HTML//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Your info was very usefull, however, =
there is=20
one thing I still don't get. How do I draw the things to start with, do =
I render=20
by hand or with some sort of program.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
    <DIV><FONT face=3DArial size=3D2><B>-----Original =
Message-----</B><BR><B>From:=20
    </B>Cliff Rowley &lt;<A=20
    =
href=3D"mailto:dozprompt@NOSPLASH.FORCE9.CO.UK">dozprompt@NOSPLASH.FORCE9=
.CO.UK</A>&gt;<BR><B>To:=20
    </B><A =
href=3D"mailto:MSVC@PEACH.EASE.LSOFT.COM">MSVC@PEACH.EASE.LSOFT.COM</A>=20
    &lt;<A=20
    =
href=3D"mailto:MSVC@PEACH.EASE.LSOFT.COM">MSVC@PEACH.EASE.LSOFT.COM</A>&g=
t;<BR><B>Date:=20
    </B>Monday, December 21, 1998 5:36 PM<BR><B>Subject: </B>Re: 3d=20
    graphics<BR><BR></DIV></FONT>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2>It's quite a complicated process for a new 3D programmer =
(I'm still=20
    learning), but it's all mathematic.&nbsp; It's rendered at runtime =
by=20
    calculating the offset of a 3D object in the &quot;world&quot; =
against it's=20
    Z position (depth into the world) and it's X/Y position, calculated =
against=20
    a preset offset against the user's screen.&nbsp; It's a little hard =
to=20
    explain, but here's some sites...</FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2>Usually they use BSP trees, which is basically a map.&nbsp; =
When the=20
    BSP is compiled, it contains information of what can be seen at =
every single=20
    point in the map, so the &quot;person's&quot; viewpoint and what =
they can=20
    see does not have to be calculated every frame, instead it is read =
from the=20
    BSP.&nbsp; The only things that are calculated at runtime are =
moveable=20
    objects and enemies.</FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2>Here's the sites:</FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial size=3D2>3D=20
    programming tutorial:&nbsp; <A=20
    =
href=3D"http://www.geaocities.com/SiliconValley/Horizon/6933/">http://www=
.geaocities.com/SiliconValley/Horizon/6933/</A></FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN><SPAN class=3D220121409-21121998><FONT =
color=3D#0000ff=20
    face=3DArial size=3D2>BSP information and tutorial:&nbsp; <A=20
    =
href=3D"http://reality.sgi.com/">http://reality.sgi.com/</A></FONT></SPAN=
></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN><SPAN class=3D220121409-21121998><FONT =
color=3D#0000ff=20
    face=3DArial size=3D2>GLIDE (3D/FX programming) and SDK:&nbsp; <A=20
    href=3D"http://www.3dfx.com">http://www.3dfx.com</A> or <A=20
    =
href=3D"http://www.glide.com">http://www.glide.com</A></FONT></SPAN></DIV=
>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN><SPAN class=3D220121409-21121998><FONT =
color=3D#0000ff=20
    face=3DArial size=3D2>DirectX programming:&nbsp; <A=20
    =
href=3D"http://www.microsoft.com/directx">http://www.microsoft.com/direct=
x</A></FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial size=3D2>If=20
    you are using GLIDE, most of the work is done for you, although you =
will=20
    lose hardware independence.&nbsp; If you use DirectX, it's slightly =
more=20
    complicated, slightly slower, but it will run on a variety of=20
    hardware.</FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2>Hope this helps...</FONT></SPAN></DIV>
    <DIV><SPAN class=3D220121409-21121998><FONT color=3D#0000ff =
face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <BLOCKQUOTE>
        <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman" =

        size=3D2>-----Original Message-----<BR><B>From:</B> Microsoft =
Visual C++=20
        programmers list [mailto:MSVC@PEACH.EASE.LSOFT.COM]<B>On Behalf =
Of</B>=20
        Jesse Laeuchli<BR><B>Sent:</B> Sunday 20 December 1998 6:08=20
        pm<BR><B>To:</B> MSVC@PEACH.EASE.LSOFT.COM<BR><B>Subject:</B> 3d =

        graphics<BR><BR></FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2>Hi, I have a question. When =
people make=20
        new 3dgames, like halflife and jedi knights how do they render =
there=20
        graphics? do they draw them in a program do they render them by =
hand?=20
        How do they do it?</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2><A=20
        =
href=3D"mailto:Jesse@laeuchli.com">Jesse@laeuchli.com</A></FONT></DIV>
        <DIV><FONT color=3D#000000=20
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000E_01BE2D25.AB3D1720--

------------------------------

End of MSVC Digest - 20 Dec 1998 to 21 Dec 1998 (#1998-348)
***********************************************************
--
※ 转载:.BBS 荔园晨风站 bbs.szu.edu.cn.[FROM: 192.168.0.4]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店