Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I just started having a problem with Gamex today. I've had it installed for a while, creating a custom theme and setting things up how I wanted, and I've never had any problems. Today I downloaded the instant sheller program, and after running it, Gamex quits due to an error. If I try to run Gamex again, it showes the same error. I can restore windows to a point before I tried the sheller program, and Gamex works again. I then tried putting Gamex in the startup folder, and I got the same error. Again, restoring windows fixes the problem. I've attached the error log. Anyone know what could be causing this? Thanks,

Greg Williams

log.txt

Posted
I just started having a problem with Gamex today. I've had it installed for a while, creating a custom theme and setting things up how I wanted, and I've never had any problems. Today I downloaded the instant sheller program, and after running it, Gamex quits due to an error. If I try to run Gamex again, it showes the same error. I can restore windows to a point before I tried the sheller program, and Gamex works again. I then tried putting Gamex in the startup folder, and I got the same error. Again, restoring windows fixes the problem. I've attached the error log. Anyone know what could be causing this? Thanks,

Greg Williams

This is related to your keyboard. GameEx is failing trying to initialise input on your keyboard. Although I dont know why. Maybe its a wireless keyboard or something and a driver needs to be loaded before GameEx is run?

Posted
This is related to your keyboard. GameEx is failing trying to initialise input on your keyboard. Although I dont know why. Maybe its a wireless keyboard or something and a driver needs to be loaded before GameEx is run?

Hey Tom, I've heard it's not recommended to use DirectInput for keyboard input. Instead you should use standard Windows Messages or Form events.

Reasons against using DirectInput for keyboard input:

* It creates a seperate thread to just read data from the keyboard using raw input (Which you can do yourself with Win32), meaning there's more overhead than just doing it yourself.

* No support for keyboard repeat at the rate the user has set in the control pannel - you have to re-invent this yourself. Not too bad for game input, but a pain for GUI-style text input.

* No support for capital letters and shifted characters - you have to detect caps lock / shift being held as well as your normal character.

* No support for caps lock on/off; it's handled by a higher layer than DirectInput, so if someone starts your game with caps lock on, it gets confused.

* More code to get the same effect as Window Messages.

* It's recommended that you DON'T use it by Microsoft; Link:

Overall, using DirectInput offers no advantages when reading data from mouse or keyboard devices, and the use of DirectInput in these scenarios is discouraged.
Posted
This is related to your keyboard. GameEx is failing trying to initialise input on your keyboard. Although I dont know why. Maybe its a wireless keyboard or something and a driver needs to be loaded before GameEx is run?

Nope, no wireless keyboard, just a standard one plugged into the ps2 port. The only other keyboard related item I have is an Ipac. It's just strange that I've never had this problem until I tried to shell Gamex. I just noticed that you released a new version - I'll upgrade and see it anything changes. Thanks,

Greg Williams

Posted
Hey Tom, I've heard it's not recommended to use DirectInput for keyboard input. Instead you should use standard Windows Messages or Form events.

Reasons against using DirectInput for keyboard input:

* It creates a seperate thread to just read data from the keyboard using raw input (Which you can do yourself with Win32), meaning there's more overhead than just doing it yourself.

* No support for keyboard repeat at the rate the user has set in the control pannel - you have to re-invent this yourself. Not too bad for game input, but a pain for GUI-style text input.

* No support for capital letters and shifted characters - you have to detect caps lock / shift being held as well as your normal character.

* No support for caps lock on/off; it's handled by a higher layer than DirectInput, so if someone starts your game with caps lock on, it gets confused.

* More code to get the same effect as Window Messages.

* It's recommended that you DON'T use it by Microsoft; Link:

Thanks for the info HK..

  • 6 months later...
Posted

I am having a directX issue that is a little different.

I can usually find help somewhere in forums with out having to post, but this I do not get.

14:11:43.4 11/17/2008: --**--

14:11:43.4 11/17/2008: ERRORS DETECTED: EXITING

14:11:43.4 11/17/2008: Error in the application.

14:11:43.4 11/17/2008: at Microsoft.DirectX.DirectDraw.Surface.DrawInternal(tagRECT* destRectangle, Surface sourceSurface, tagRECT* srcRectangle, DrawFlags flags, DrawEffects& bltEffects)

14:11:43.4 11/17/2008: at Microsoft.DirectX.DirectDraw.Surface.Draw(Rectangle destRectangle, Surface sourceSurface, Rectangle srcRectangle, DrawFlags flags, DrawEffects bltEffects)

14:11:43.4 11/17/2008: at k.bt()

14:11:43.4 11/17/2008: at k.dz()

14:11:43.4 11/17/2008: at k.am()

14:11:43.4 11/17/2008:

14:11:43.4 11/17/2008: It was detected you experienced a DirectX error.

14:11:43.4 11/17/2008: Please note the following for possible solutions to your problem:

14:11:43.4 11/17/2008: 1. Ensure you have the latest version of DirectX installed.

14:11:43.4 11/17/2008: 2. Ensure you have the latest Manufacturer provided video card drivers.

14:11:43.4 11/17/2008: NOTE: Windows/Microsoft Update does not contain the latest.

14:11:43.4 11/17/2008: NOTE: Manufacturer normally means ATI, NVidia, or Intel. Not the brand.

14:11:43.4 11/17/2008: www.ati.com www.nvidia.com

14:11:43.4 11/17/2008: 3. If you do not have a modern video card try the following. 1. Turn off advanced Graphics. 2. Try a lower resolution. 3. Try turning on and using 16-bit colour

14:11:43.4 11/17/2008: 4. Ensure any required video codecs are installed.

14:11:43.4 11/17/2008: 5. Try a different theme, or try running the theme at the resolution it was designed for

14:11:43.5 11/17/2008: 6. Try the latest version of GameEx. GameEx is updated all the time.

14:11:43.5 11/17/2008: 7. If you performed an auto update to this version. Try performing a manual download and install.

14:11:43.5 11/17/2008:

The computer is set up to shell GameEX. (XP Pro)

This only happens at start up, If I bring up the Explorer and start the front end manually, It work fine. :blink:

Posted

Please post the entire log file. Also, if it's a new problem you are allowed to start your own topic. You don't have to dig up an old one if you don't want...

Posted
Please post the entire log file. Also, if it's a new problem you are allowed to start your own topic. You don't have to dig up an old one if you don't want...

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...