Alaska Software Inc. - :Wheel causing IDSC
Username: Password:
AuthorTopic: :Wheel causing IDSC
Paulo Pinheiro:Wheel causing IDSC
on Tue, 13 Oct 2009 12:23:05 +0100
Hello all,

An Xbase++ GUI application created with Xbase++ version 1.90.355 might break 
after the middle mouse button was clicked and the wheel was moved. Maybe not 
at first time, but if we keep trying it breaks.

This has been observed when:
- Operating System is Windows XP SP3
- having a PS/2 mouse and the mouse driver: PS/2 Microsoft
- the application uses a Windows manifest file.

The application does not encounter this problem when:
- the application does not use a manifest file
- the mouse driver is not Microsoft
- the mouse is wireless
- The Operating System is Vista or 2000

If anyone could try or give me a reason for this, i will thank you
Best Regards,
Paulo Pinheiro








XbpMLE2.prg
XPPERROR.LOG
xbpmle2.exe.manifest
Andreas Gehrs-Pahl
Re: :Wheel causing IDSC
on Tue, 13 Oct 2009 16:50:25 -0400
Paulo,

>If anyone could try or give me a reason for this, i will thank you

The most obvious reason would be that the Microsoft Mouse Driver is 
faulty and isn't working as expected, at least not with your mouse.

The most obvious solution is to change mouse drivers!

-- Andreas

---                                                                      ---
  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
  415 Gute Street                     or: Andreas@DDPSoftware.com
  Owosso, MI 48867-4410               or: Andreas_Gehrs-Pahl@CrimeCog.com
  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
---                                                                      ---
AUGE_OHRRe: :Wheel causing IDSC
on Thu, 15 Oct 2009 00:54:21 +0200
hi,

> An Xbase++ GUI application created with Xbase++ version 1.90.355 might 
> break after the middle mouse button was clicked and the wheel was moved. 
> Maybe not at first time, but if we keep trying it breaks.
>
> This has been observed when:
> - Operating System is Windows XP SP3
> - having a PS/2 mouse and the mouse driver: PS/2 Microsoft
> - the application uses a Windows manifest file.

hm ... i did have XP sp3 and a "original" M$ PS2 Mouse but with 2 Buttons 
and Wheel.
if i click on Wheel (!!!) i got "nButton = 4" which is the same as "middle 
mouse button"

   cEventName := "Click"
   xVar       := oWmp:isEventPublished(cEventName)
   IF xVar <> Nil
      lSuccess := oWmp:SubscribeEvent(xVar,{| nButton,nShiftState,fX,fY | ;
                                             IF(nButton = 
4,PostAppEvent(xbeM_MbClick),NIL)})

i do use a lot of :Wheel and use Manifest (and a lot more) so i do not think 
it is a spezial
v1.9.355 Problem ... should be same with older Version ?

greetings by OHR
Jimmy
Paulo PinheiroRe: :Wheel causing IDSC
on Thu, 15 Oct 2009 20:22:18 +0100
> i do use a lot of :Wheel and use Manifest (and a lot more) so i do not 
> think it is a spezial
> v1.9.355 Problem ... should be same with older Version ?

I don't know. I haven't tested.
Andreas Gehrs-Pahl
Re: :Wheel causing IDSC
on Thu, 15 Oct 2009 01:15:48 -0400
Paulo,

>This has been observed when:
>- Operating System is Windows XP SP3
>- having a PS/2 mouse and the mouse driver: PS/2 Microsoft
>- the application uses a Windows manifest file.

On my Dell Precision with XP SP3, using a Dell (Logitech) PS/2 mouse 
with the Microsoft Mouse Driver, Version 5.1.2600.0, I can't get it to 
crash, no matter what I do. Have you tried a different Mouse Driver
version? It looks like yours might be defect.

-- Andreas

---                                                                      ---
  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
  415 Gute Street                     or: Andreas@DDPSoftware.com
  Owosso, MI 48867-4410               or: Andreas_Gehrs-Pahl@CrimeCog.com
  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
---                                                                      ---
Paulo PinheiroRe: :Wheel causing IDSC
on Thu, 15 Oct 2009 20:27:39 +0100
> On my Dell Precision with XP SP3, using a Dell (Logitech) PS/2 mouse
> with the Microsoft Mouse Driver, Version 5.1.2600.0, I can't get it to
> crash, no matter what I do. Have you tried a different Mouse Driver
> version? It looks like yours might be defect.

My driver is also 5.1.2600.0, 01/07/2001, files i8042prt.sys, mouclass.sys
I believe is the standard driver of the XP

I new this was a long shot but, but...

In any case, i confirm that, in more than one computer i can simulate this 
behaviour.
I also confirm that using a mouse with a driver named as "HIC compatible", i 
cannot simulate this in my computer.

Best Regards
Clifford Wiernik Re: :Wheel causing IDSC
on Sat, 17 Oct 2009 14:42:30 -0500
Paulo Pinheiro wrote:
>> On my Dell Precision with XP SP3, using a Dell (Logitech) PS/2 mouse
>> with the Microsoft Mouse Driver, Version 5.1.2600.0, I can't get it to
>> crash, no matter what I do. Have you tried a different Mouse Driver
>> version? It looks like yours might be defect.
> 
> My driver is also 5.1.2600.0, 01/07/2001, files i8042prt.sys, mouclass.sys
> I believe is the standard driver of the XP
> 
> I new this was a long shot but, but...
> 
> In any case, i confirm that, in more than one computer i can simulate this 
> behaviour.
> I also confirm that using a mouse with a driver named as "HIC compatible", i 
> cannot simulate this in my computer.
> 
> Best Regards
> 
> 
I can confirm, can't recreate, this problem as starting after I started 
to use Build 336 which had an interim fix for a problem I had.  Don't 
know if I still see it with build 355.  But, I did have the IDSC on the 
:wheel() method with build 336, never with 331.

Cliff.