[fpc-pascal] Segmentation Error using VideoBuf

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu Jul 3 10:58:23 CEST 2014


mokashe.ram wrote:
>  Hi,
> 
>       Its throwing 'Segmentation Error' every procedure whereever 'VideoBuf'
> is used Actually  i am migration my application from TP TO Free pascal for
> 32 bit OS but i am not able to fix MEM issue.
> i am totaly blank now please suggest me the soluition to replace MEM/MEMW.

Apologies if this is brief, I've got my own problems and rather a lot of 
them.

Make sure that you read 
http://www.freepascal.org/docs-html/rtl/video/index.html, in particular 
the bit about what you have to do before referencing VideoBuf.

Tomas has put a lot of time and effort into trying to help you already. 
I don't claim particular familiarity with the Video unit, but if you 
want anybody to help then you need to do what he suggested a couple of 
weeks ago: write a simple, compilable program (i.e. A SINGLE FILE OF NO 
MORE THAN A DOZEN OR SO LINES) and post it here with a description of 
what's going wrong.

Presenting us with a unit that can't be compiled and run in isolation 
doesn't help us to help you. Also I'd suggest not using Video and CRT 
together in your initial test code: you've already been warned that this 
is a suspect combination and I'd strongly suggest getting the Video side 
of things working before tinkering.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list