Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] QTGrabber Error (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] convert a virtualKeyCode to an actual character
Next thread: [MBS] [ANN] 12.2pr3


Re: [MBS] 9.3pr11   -   Garth Hjelte
  [MBS] QTGrabber Error   -   William Koperwhats
   Re: [MBS] QTGrabber Error   -   Arnaud Nicolet
   Re: [MBS] QTGrabber Error   -   William Koperwhats
   Re: [MBS] QTGrabber Error   -   Christian Schmitz

[MBS] QTGrabber Error
Date: 09.04.12 22:56 (Mon, 9 Apr 2012 14:56:47 -0700)
From: William Koperwhats
After resizing my window, and subsequently resizing the QTGrabber frame buffer to match, I'm getting the following errors that do not seem to be documented:

Call Grabber.InitFrameBuffer(cvsPreview.Width, cvsPreview.Height)

If Grabber.LastError = 0 The

//Do stuff

End If

Mac OSX: Grabber.LastError = -2147450878
Windows: Grabber.LastError = -50

For now I'm simply ignoring the LastError property and everything *seems* to work just fine, but it makes me a bit worried. Any clue what these errors could be?

-bill k

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] QTGrabber Error
Date: 10.04.12 01:17 (Tue, 10 Apr 2012 02:17:49 +0200)
From: Arnaud Nicolet
Le 10 avr. 2012 à 00:19 Matin, William Koperwhats a écrit:

> Of course I can't find mention of error -2147450878 anywhere so I'll just ignore it for now...

This appears to be the smallest number you can get with an integer. I'd guess this is not a real error number.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] QTGrabber Error
Date: 09.04.12 23:19 (Mon, 9 Apr 2012 15:19:00 -0700)
From: William Koperwhats
Thanks Christian, thats good to know.

Of course I can't find mention of error -2147450878 anywhere so I'll just ignore it for now...

-bill k


On Apr 9, 2012, at 3:09 PM, Christian Schmitz wrote:

>
> Am 09.04.2012 um 23:56 schrieb William Koperwhats:
>
>> Call Grabber.InitFrameBuffer(cvsPreview.Width, cvsPreview.Height)
>
> InitFrameBuffer doesn't set Lasterror.
> I'll do in the next release.
>
> So the last error you see must come from different function.
>
> Greetings
> Christian
>
> --
> Real Studio Conferences, Training and Meetings.
>
> More details and registration here:
> http://www.monkeybreadsoftware.de/realbasic/events/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] QTGrabber Error
Date: 09.04.12 23:09 (Tue, 10 Apr 2012 00:09:32 +0200)
From: Christian Schmitz

Am 09.04.2012 um 23:56 schrieb William Koperwhats:

> Call Grabber.InitFrameBuffer(cvsPreview.Width, cvsPreview.Height)

InitFrameBuffer doesn't set Lasterror.
I'll do in the next release.

So the last error you see must come from different function.

Greetings
Christian