🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DirectX

#1056
From: Clayton McGow
Date: Thu, 29 Nov 2001 23:29
22 lines
1311 bytes
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
Technical Details
Message-ID: <3C06C4BD.787E40A6@atoznet.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,9380432100ad8cfc,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-11-29 15:31:48 PST
Message-ID: <3C06C4BD.787E40A6@atoznet.com>
Date: Thu, 29 Nov 2001 16:29:01 -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: DirectX
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 63.230.201.229
X-Trace: dnews 1007076520 63.230.201.229 (29 Nov 2001 15:28:40 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews