Article View: borland.public.cppbuilder.multimedia
Article #1309Problems making DirectX app work both under Win2K and 98.
From: Vesselin Peev
Date: Sun, 25 Mar 2001 18:51
Date: Sun, 25 Mar 2001 18:51
15 lines
2252 bytes
2252 bytes
I've have a problem with DirectX 8a. I have the full SDK and imp libbed the DDRAW.DLL to produce an OMF DDRAW.LIB. I have Windows 2000 Professional. I used the DDRAW.DLL from the system Windows directory to produce the lib. Now, I got my app running OK on Windows 2K, but when I tested it on another machine running Win 98 (with the DX8a runtime installed), it crashed (in DDRAW.DLL). Actually, it didn't crash 100%, just couldn't display anything with DirectX. My app is statically linked. I explain the crash with the fact there are two different versions of the DirectX runtime -- one for Win 98, and one for Win 2K. So there are two different versions of the DDRAW.DLL. So if I use the DDRAW.DLL from the Windows 98 system directory to produce a lib, perhaps it will run on 98, but not 2000? I can't do it, though, because I don't have access to the 98 machine right now. On the other hand, how is this possible? After all, doesn't the lib provide just the connections between my program and the DDRAW.DLL, for whatever Windows version it is? Or am I missing something? My app is thoroughly tested with C++Builder 5 (with Codeguard enabled) and runs perfectly on the Win 2K platform. However, I have no other explanation other than the above one why it crashed under Win 98. My app is a demonstration for my senior project thesis. I need to act now, so that it runs under both Win98 and Win2K. Please help me to resolve my problem. Thank you in advance.
Technical Details
Message-ID:
<3abe3e26$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!207.105.83.65Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,66eeee7fdd169683,start X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2001-03-25 11:58:04 PST From: "Vesselin Peev" <vesselinpeev@hotmail.com> Sender: "Vesselin Peev" <vesselinpeev@hotmail.com> Reply-To: "Vesselin Peev" <vesselinpeev@hotmail.com> Subject: Problems making DirectX app work both under Win2K and 98. Newsgroups: borland.public.cppbuilder.multimedia X-User-Info: 193.68.141.99 193.68.141.99 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3abe3e26$1_1@dnews> Date: 25 Mar 2001 10:51:18 -0800 X-Trace: 25 Mar 2001 10:51:18 -0800, 207.105.83.65 Lines: 15 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!207.105.83.65