VOGONS

Common searches


First post, by AustinBrock

User metadata
Rank Newbie
Rank
Newbie

Hey,

I run a website for an old video game HoverRace.

I am hoping I can be helped with an issue I am having with the game, it seems to be DirectDraw related, but I cannot be entirely sure. Basically the game can be played on x64, but attempts to resize the game window, use the toolbar, or any shortcut to either, go full screen or quit back to the chatroom, result in the game window not responding, but the game still being playable while you wait for it to respond.

It's a little bit hard to quite understand, but I made a 5 minute video showing how the game runs in x64, and how the game runs in x86 (on a VM Ware machine), that can be viewed here... http://www.youtube.com/watch?v=wk9cRrRTOBo&hd=1

I've tried older builds of the game, and they all have the same issue for me, so it isn't based on this build. We are using VS 2010 to compile the source. (which is available at http://svn.igglybob.com/hoverrace)

If you want to try the current compiled build that I am working with, 1.23.3, it is here... http://www.hoverrace.com/downloads.x/1233/1233.zip

Thanks in advance for your help.

Reply 2 of 5, by AustinBrock

User metadata
Rank Newbie
Rank
Newbie

MS Visual Studio 2010 Ultimate is used to compile. The window resizing issue was fixed by putting in...

int WINAPI WinMain(HINSTANCE pInstance, HINSTANCE pPrevInstance, LPSTR /* pCmdLine */ , int pCmdShow)
{
SetProcessAffinityMask(GetCurrentProcess(), 1);

... to make the game use a single process, but the toolbar is still unresponsive.

Reply 3 of 5, by Davros

User metadata
Rank l33t
Rank
l33t

I noticed in your vid you get multiple instances popping up
in vb you yould set the frames properties to vbmodal = 1 i think
C should have something similar
( heres the info for vb, c should have something similar)
msdn.microsoft.com/en-us/library/aa244181(v=vs.60).aspx

ps: what happens when you set winxp compatability

pps: vs2010 should have an option to compile a 64bit exe have you tried that ?

Last edited by Davros on 2012-10-20, 22:17. Edited 1 time in total.

Guardian of the Sacred Five Terabyte's of Gaming Goodness

Reply 4 of 5, by AustinBrock

User metadata
Rank Newbie
Rank
Newbie

The single core process has stopped multiple instances popping up. The problem now is that the toolbar still hangs. Seems to be associated with PeekMessage/GetMessage though.

Reply 5 of 5, by Davros

User metadata
Rank l33t
Rank
l33t

added to my above post while you were typing
more info on the modal switch
http://msdn.microsoft.com/en-us/library/syste … form.modal.aspx

Guardian of the Sacred Five Terabyte's of Gaming Goodness