Search found 42 matches

by fcb
Tue Mar 21, 2023 2:10 pm
Forum: Coding Questions
Topic: Video capture issues
Replies: 33
Views: 5187

Re: Video capture issues

Thanks JHPJHP & Caronte3D for your help.

Can confirm the demo.pb now works on my machine!! - there appears to be some small changes between 2.1 and 3.0 demo code.

Going to make the changes to my code later to reflect this and try it again.
by fcb
Mon Mar 20, 2023 11:53 pm
Forum: Coding Questions
Topic: Video capture issues
Replies: 33
Views: 5187

Re: Video capture issues

Thanks Caronte3D,

The camera output is being used for homebrew machine vision (not OpenCV!) and in my prototype runs at either 2 or 10Hz (throttled on purpose).

The problem is registering the damn escapi.dll (machine is Windows 10, Defender as AntiVirus). It worked fine initially for a few hours ...
by fcb
Mon Mar 20, 2023 6:47 pm
Forum: Coding Questions
Topic: Video capture issues
Replies: 33
Views: 5187

Re: Video capture issues

Code here (thanks Caronte). This requires escapi.pb and escapi.dll (https://solhsa.com/escapi/index.html) I've been using 2.1

I put "escapi.pb" and "escapi.dll" in the same folder as the code below:

demo.pb

XIncludeFile "escapi.pb"

device = 0

count = setupESCAPI()
Debug "init: " + Str(count ...
by fcb
Mon Mar 20, 2023 5:55 pm
Forum: Coding Questions
Topic: Video capture issues
Replies: 33
Views: 5187

Re: Video capture issues

So I've abandoned VfW in favour of ESCAPI (V2.1)

I got it working for a couple of hours (escapi.dll in the same directory as my project code). Lovely. Then it stopped working. :shock:

Basically something is now stopping it finding escapi.dll, so I tried adding escapi.dll to Windows/System32 ...
by fcb
Sun Mar 19, 2023 3:54 pm
Forum: Coding Questions
Topic: Video capture issues
Replies: 33
Views: 5187

Video capture issues

Hi,

I'm trying to display video from a low cost USB video capture device (from Amazon), whilst displaying the video I also want to capture stills for further processing.

I know the capture device works in the standard Win10 webcam app and OBS. I found various bits of sample code on this forum ...
by fcb
Mon Apr 04, 2022 4:40 pm
Forum: Coding Questions
Topic: ListIconGadget, detect Column Header press??
Replies: 6
Views: 1030

Re: ListIconGadget, detect Column Header press??

Thank you blueb. Is there a way of doing this without rhe SetWindowCallback?
by fcb
Mon Apr 04, 2022 11:22 am
Forum: Coding Questions
Topic: ListIconGadget, detect Column Header press??
Replies: 6
Views: 1030

ListIconGadget, detect Column Header press??

Is there a method of detecting a mouse click/press for a column header in ListIconGadget?
by fcb
Wed Mar 02, 2022 2:55 pm
Forum: Game Programming
Topic: Complex GUI
Replies: 4
Views: 1967

Re: Complex GUI

Thanks. I'll have a look.
by fcb
Tue Mar 01, 2022 7:38 pm
Forum: Game Programming
Topic: Complex GUI
Replies: 4
Views: 1967

Re: Complex GUI

Yeah.
HTML5 skills - zero
HTML5 budget - zero
:cry:
by fcb
Tue Mar 01, 2022 6:04 pm
Forum: Game Programming
Topic: Complex GUI
Replies: 4
Views: 1967

Complex GUI

I'm building a complex GUI for a PC connected electronic instrument.

There is realtime data being displayed (graphs), as well occacsionally updated image (graph backgrounds/historical data), user interactive buttons (essentially static) as well as fastmoving number displays, mouse sprite and ...
by fcb
Thu Feb 17, 2022 10:28 am
Forum: Game Programming
Topic: un-SetFrameRate
Replies: 7
Views: 1997

Re: un-SetFrameRate

I have left the adjust framerate feature in my SW so if someone runs it on an ancient machine it will still work.

To lower the overhead I reworked the way the graphics is(was) generated (basically stop regenerating the complex graph background each frame).
by fcb
Sat Feb 12, 2022 1:38 pm
Forum: Game Programming
Topic: un-SetFrameRate
Replies: 7
Views: 1997

Re: un-SetFrameRate

No, I'm using SetFrameRate for my experiments.

SetFrameRate(0) - causes program to crash with: "SetFrameRate(): Frame rate can't be less than 1."
by fcb
Fri Feb 11, 2022 8:30 pm
Forum: Game Programming
Topic: un-SetFrameRate
Replies: 7
Views: 1997

un-SetFrameRate

Is there a way to unset (i.e. set to default) the framerate if it is set?
by fcb
Tue Feb 01, 2022 7:45 pm
Forum: Coding Questions
Topic: POLINK error: virus...?
Replies: 12
Views: 1447

Re: POLINK error: virus...?


Submit the executable that creates the false positive to microsoft and McAfee as false positive. This has happened repeatedly in the past with different AV products and currently there is no easy fix to avoid it happening in the future.

The steps to release a binary have to end with:

Compile ...
by fcb
Tue Feb 01, 2022 12:50 pm
Forum: Coding Questions
Topic: POLINK error: virus...?
Replies: 12
Views: 1447

POLINK error: virus...?

Working on an update to a program and this happened:

Complile with Debug project attempt 1: Got a POLINK fatal error (virus), Windows Defender detected: Trojan:Win32/Wacatec.B!ml
Complile with Debug project attempt 2: Got a POLINK fatal error (virus), Windows Defender detected: Trojan:Win32/Wacatec ...