//
PASCAL WRAPPER function being called is below
DllExport void SetL1Callback(TL1Callback p) { DasApi.m_pL1Callback=p; };
SUMMARY:
There seems to be nothing I can find that would cause a Runtime 217 in
the
layout and now finding C conversion of same is wor
>>> //
>>> PASCAL WRAPPER function being called is below
>>>
>>> DllExport void SetL1Callback(TL1Callback p) { DasApi.m_pL1Callback=p;
>>> };
>>>
>>> SUMMARY:
>>> There seems to be nothing I can find that would cause a Runtime 217 in
>>> the
>>> layout and now f
>>> //
>>> PASCAL WRAPPER function being called is below
>>>
>>> DllExport void SetL1Callback(TL1Callback p) { DasApi.m_pL1Callback=p;
>>> };
>>>
>>> SUMMARY:
>>> There seems to be nothing I can find that would cause a Runtime 217 in
>>> the
>>> layout and now f
Hi everyone
I'm just trying to compile and execute a simple example from a
graphics programming tutorial under FPC. Here is the code
PROGRAM PixelExample;
{$MODE TP}
Daniel Franzini wrote:
BEGIN
InitGraph;
Screen := MEM[$A000]; { Set up the screen buffer pointer }
<---here is the error
WHILE NOT KeyPressed DO
SetPixel(
RANDOM(320), { Random X (Range 0-319) }
RANDOM(200), { Random Y (Range 0-199) }
RAN
no, i didn't...but it worked and the program did compiled...now, it
shows the following message
Runtime error 216 at $00401034
$00401034
but i think that this is some windows (2000) issue not FPC one...so i
ask: is there any way of running these simple examples or i will just
have to set up som
Maybe free pascal supports the "absolute" directive ;)
something like:
var
SomeAddress : pointer absolute $a000;
- Original Message -
From: "Daniel Franzini" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 28, 2005 1:55 AM
Subject: [fpc-pascal] Pointers
Hi everyone
I'm just trying
Daniel Franzini wrote:
no, i didn't...but it worked and the program did compiled...now, it
shows the following message
Runtime error 216 at $00401034
$00401034
but i think that this is some windows (2000) issue not FPC one...so i
ask: is there any way of running these simple examples or i wil
El Mié 27 Jul 2005 20:14, Daniel Franzini escribió:
> no, i didn't...but it worked and the program did compiled...now, it
> shows the following message
>
> Runtime error 216 at $00401034
> $00401034
>
> but i think that this is some windows (2000) issue not FPC one...
New versions of WinNT (Incl.
On Wed, 27 Jul 2005 20:55:34 -0300
Daniel Franzini <[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> I'm just trying to compile and execute a simple example from a
> graphics programming tutorial under FPC. Here is the code
>
Note that those addresses (like $a000) are all things from the 16-bit
worl
Reply Peter and Tomas, is below, each... Thread pruned.
2. Re: C++ > C wrapper callback > Pascal Continues (Peter Vreman)
3. Re: C++ > C wrapper callback > Pascal Continues (Tomas Hajny)
--
Message: 2
Date: Wed, 27 J
Hello,
Note that those addresses (like $a000) are all things from the 16-bit
world. I'm not sure how far these are emulated correctly if you are
running in a 32-bit world. Addresses for graphics cards are way different
there, easier to use, but different from card to card.
If you compile a win
See bottom post
- Original Message -
From: "Urbansound" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 27, 2005 11:05 PM
Subject: C++ > C wrapper callback > Pascal Continues
Reply Peter and Tomas, is below, each... Thread pruned.
2. Re: C++ > C wrapper callback > Pascal Continu
13 matches
Mail list logo