🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #1057

Re: DirectX

#1057
From: Clayton McGow
Date: Fri, 30 Nov 2001 00:05
35 lines
1521 bytes
Ok, I forgot to add the library file... hehe... could happen
to anybody!

Thanks.





Clayton McGow wrote:
> 
> Hi all,
> 
> I'm trying to write a DirectX app, but I keep getting
> "Unresolved External 'DirectDrawCreate' referenced from
> ...." I'm apparently not including a header or library
> file... what am I missing here?
> 
> #include <ddraw.h>
> 
>     LPDIRECTDRAW lpDD;
>     HRESULT retVal;
> 
>     retVal=DirectDrawCreate(NULL,&lpDD,NULL);
>     if (retVal!=DD_OK); // return retVal;
> 
> Thanks for your help!
> 
> --
> Clayton McGow
> mrwilder@atoznet.com

-- 
Clayton McGow
mrwilder@atoznet.com
Technical Details
Message-ID: <3C06CD2C.3BB1A622@atoznet.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3C06C4BD.787E40A6@atoznet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,9380432100ad8cfc
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-11-29 16:07:56 PST
Message-ID: <3C06CD2C.3BB1A622@atoznet.com>
Date: Thu, 29 Nov 2001 17:05:00 -0700
From: Clayton McGow <mrwilder@atoznet.com>
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: DirectX
References: <3C06C4BD.787E40A6@atoznet.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 63.230.201.229
X-Trace: dnews 1007078678 63.230.201.229 (29 Nov 2001 16:04:38 -0800)
Lines: 35
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews