View Issue Details

IDProjectCategoryView StatusLast Update
0037765FPCFree Visionpublic2020-09-18 17:06
ReporterJoe care Assigned ToSven Barth  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Platformx86-64OSWin64 
Product Version3.3.1 
Summary0037765: Drivers: DoScreenshot is removed,
DescriptionI have a program that uses that frature, I even implemented a ScreenShot function.
please put this function in again, you can use my implementation, see below.
Additional InformationI implemented DoScreenshot:
procedure DoScreenShot(var Dest);
begin
  assert(assigned(VideoBuf),'VideoBuf should be assigned');
  move(VideoBuf^[0],dest,VideoBufSize);
END;
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget-
Attached Files

Activities

Sven Barth

2020-09-17 22:19

manager   ~0125599

Where do you say this function had been located? Do you know when it was removed? Cause so far I haven't found anything in the history of either Free Vision or the Video unit.

Joe care

2020-09-17 23:06

reporter   ~0125601

It was in the drivers-Unit, right below SetVideoMode, (around line 526)
I think in 2016 it had been there. I havent done anything with FV for some time,

Sven Barth

2020-09-18 15:10

manager   ~0125614

I can't see any changes in those locations. Are you sure that you didn't add that yourself back then as well?

Joe care

2020-09-18 16:38

reporter   ~0125618

This coul'd also be the case, I was sure there was an empty stumb. But maybe I put it there, then sorry for the fuzz.
btw. There are some Pointer -> Longint conversions, even some byte(longint(pointer))<>0, this might crash when going to x64, is it OK to open some Issues about that ? Also some shortstring[0]:= length instead of setlength too ?

Sven Barth

2020-09-18 17:06

manager   ~0125622

In that case I'm resolving this.

But yes, please open issues for the other issues you found.

Issue History

Date Modified Username Field Change
2020-09-17 21:23 Joe care New Issue
2020-09-17 22:19 Sven Barth Assigned To => Sven Barth
2020-09-17 22:19 Sven Barth Status new => feedback
2020-09-17 22:19 Sven Barth FPCTarget => -
2020-09-17 22:19 Sven Barth Note Added: 0125599
2020-09-17 23:06 Joe care Note Added: 0125601
2020-09-17 23:06 Joe care Status feedback => assigned
2020-09-18 15:10 Sven Barth Status assigned => feedback
2020-09-18 15:10 Sven Barth Note Added: 0125614
2020-09-18 16:38 Joe care Note Added: 0125618
2020-09-18 16:38 Joe care Status feedback => assigned
2020-09-18 17:06 Sven Barth Status assigned => resolved
2020-09-18 17:06 Sven Barth Resolution open => no change required
2020-09-18 17:06 Sven Barth Note Added: 0125622