this is probably my nth thread about minimizes. The weird thing it's I think I did a very similar question some time ago but I can't find it in the forum...
I'm trying to add bluetooth gaming in my next upcoming game (it just entered beta!) and it works nice! :)
There's a problem thought, that appears only from time to time:
When starting the master, I open the outbound COM port and a screen pops up, asking me the peer to connect to.
I choose it, and once it's done, it should return to my game.
But there are three different situations (which happen randomly, or at least I haven't been able to find a pattern) from this point:
1) The game screen is redisplayed, but it does nothing until I tap the screen. Then the game continues.
2) The game continues, but as long as I tap in the top or bottom of the screen, the "background" today screen appears (or the main pocket pc menu, or the sip keyboard, ...)
UPDATE: I've killed the point #2) with some SHFullScreens after the CreateFile to open the serial port, but it's curious that it works nice with active sync and not with bluetooth....
3) No problem, everything goes ok, (my favourite xD)
and all 3 situations with the same h1940 :)
The weird thing it's that, if the problem comes from an active sync window or any other popup window (battery, ...), gives no problems. only with bluetooth when acting as a master (when the peer list appear), and I can't understand what's going on...
I've realized something, the CreateFile function is called inside the game loop, and automatically opens a window with the peer list. This means that the window is not "kicked off" nor notified in the message loop, isn't it?
could this lead to problems with pocketHAL??
has anybody got a clue? :)
TIA :)
Kak
p.s. there's only a "misterious" window message coming to my loop, a 0xd14 which I haven't been able to find across the web.
I'm trying to add bluetooth gaming in my next upcoming game (it just entered beta!) and it works nice! :)
There's a problem thought, that appears only from time to time:
When starting the master, I open the outbound COM port and a screen pops up, asking me the peer to connect to.
I choose it, and once it's done, it should return to my game.
But there are three different situations (which happen randomly, or at least I haven't been able to find a pattern) from this point:
1) The game screen is redisplayed, but it does nothing until I tap the screen. Then the game continues.
2) The game continues, but as long as I tap in the top or bottom of the screen, the "background" today screen appears (or the main pocket pc menu, or the sip keyboard, ...)
UPDATE: I've killed the point #2) with some SHFullScreens after the CreateFile to open the serial port, but it's curious that it works nice with active sync and not with bluetooth....
3) No problem, everything goes ok, (my favourite xD)
and all 3 situations with the same h1940 :)
The weird thing it's that, if the problem comes from an active sync window or any other popup window (battery, ...), gives no problems. only with bluetooth when acting as a master (when the peer list appear), and I can't understand what's going on...
I've realized something, the CreateFile function is called inside the game loop, and automatically opens a window with the peer list. This means that the window is not "kicked off" nor notified in the message loop, isn't it?
could this lead to problems with pocketHAL??
has anybody got a clue? :)
TIA :)
Kak
p.s. there's only a "misterious" window message coming to my loop, a 0xd14 which I haven't been able to find across the web.