Is my application still active?Archives Forums/BlitzPlus Programming/Is my application still active?
I'm using BlitzPlay for host & Client.
Now the Host I altered to BlitzPlus because it doesnt eat my DirectX performance (I use CreateWindow, I don't switch to a gfx mode).
The client is Blitz3D.
But now when my client window (Blitz3D) is active, it seems the BlitzPlus window gets inactive and after 2 minutes I get the "server is down" message. Probably because my server isn't active when another window is active.
How can I force my BlitzPlus host to be active all the time?
| Have you tried using "AutoSuspend False"? |
| Yes, it is False by default anyway. |
| Is your client running in fullscreen mode? |
| No, it is running in windowed mode, but it should be working in both windowed/fullscreen mode eventually. |
| Hmmm. That's odd. I do the exact same thing as you but have no problems with my BlitzPlus server being active.|
The problem I get is when the client is in fullscreen mode and you alt-tab out, the *client* stops responding and times out of the game. I have no problems with the server.
| sigh :( |
You use Blitzplay as well?
| Yep, I use BlitzPlay.|
What happens if you don't create a window or anything for your server? (i.e. you run it invisibly).
| Hmmmm I'm able to try that out tommorow. Watch this space :P|
Is the main loop correct? (events)