![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

From: "Schmitt Louis Jean-Pierre" <louis.schmitt_at_eif.ch>
Subject: [sftalk] use Fastgraph DLL with swiftforth Problem's
. . .
>=20
> Library Fgw32.DLL
>=20
> AS Lineto 2 CImport: fg_Draw
> AS Moveto 2 Cimport: fg_move
I haven't used FastGraph, but you made me curious enough to look
at the on-line documentation. There, it says, "Fastgraph for Windows
uses the same naming and stack-based calling conventions used by the
Windows API functions." Section 8.2 of the SwiftForth Reference Manual
says that Pascal prototype functions are standard in the Windows API.
Have you tried:
AS Lineto 2 Import: fg_Draw
AS Moveto 2 Import: fg_move
None of your code examples shows any initialization calls to FastGraph.
Likely it needs these to allocate memory for its frame buffers. =
Generating
an exception seems like a sure bet if draw to memory that hasn't yet=20
been assigned to FastGraph with something like fg_vbinit().
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Fri Dec 21 2001 - 08:35:30 PST
This archive was generated by hypermail 2.2.0 : Sat Nov 22 2008 - 03:04:20 PST