|
delphi-3d-digest Friday, July 11 1997 Volume 01 : Number 005
------------------------------ Date: Fri, 11 Jul 1997 21:08:42 +0800 From: "Chengyan Che" <checcy@public.hr.hl.cn> Subject: [delphi-3d] Flashing messages onto screen Env: Delphi 1.0, Windows API Hi, All, I'm working on a program under Windows that needs to flash messages(text strings) onto the computer screen as fast as possible, say 50ms per flash. I mean the message could only show on the screen for as short as 50ms. I've done it by using API's TextOut & Bitblt functions. But it's not fast enough. Does there exit a way to accomplish this much faster? I don't have access to DirectX package, how can I use pure API functions to do this? Highly appreciated for any help. TIA, Chengyan Che checcy@public.hr.hl.cn - -------- ------------------------------ Date: Fri, 11 Jul 1997 18:45:32 -0400 From: "Javier Espa±ol Rowe" <hynb@mitai.nrs.bolnet.bo> Subject: [delphi-3d] D3DRMERR_BADDEVICE error... Hi! I'm trying to start retained mode full-screen. 1 I create a DirectX Object with cooplevel: DDSCL_FULLSCREEN+DDSCL_ALLOWREBOOT +DDSCL_NOWINDOWCHANGES+DDSCL_ALLOWMODEX+ DDSCL_EXCLUSIVE; 2 I create a Primary surface with caps: DSCAPS_PRIMARYSURFACE + DDSCAPS_FLIP + DDSCAPS_3DDEVICE + DDSCAPS_COMPLEX; 3 A backbuffer with caps: DDSCAPS_BACKBUFFER 4 I create a Direct3DRM object with a camera and a couple of frames. 5 When I try to create a Direct3DRMDevice, I get a D3DRMERR_BADDEVICE (Device is not compatible with renderer) error... I have enumerated device drivers and have tried creating the Direct3DRMDevice object using CreateDEviceFromClipper, CReateDeviceFromSurface, CreateDeviceFrom ... you name it... Any ideaz? Yours hopefully... - -------- Delphi 3D Programming Listserv - http://www.frii.com/~dspiess/delphi3d.htm for (Listserv Commands [unsubscribe etc.] and Other Info List manager - Daniel Spiess (dspiess@frii.com) ------------------------------ End of delphi-3d-digest V1 #5 ***************************** |