🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages Started by Clayton McGow Thu, 29 Nov 2001 23:29
DirectX
#1056
Author: 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
Re: DirectX
#1057
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads