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

On Jan 17, 2007, at 12:11 PM, Charles Melice wrote:
> ----- Original Message -----
> From: "Dennis Ruffer" <druffer_at_worldnet.att.net>
> To: <sftalk_at_forth.com>
> Sent: Wednesday, January 17, 2007 6:43 PM
> Subject: [sftalk] GLUT Stroke Font
>
>
>> I'm not sure what more I can do to figure this out, so I'll throw
>> this out to you all and see if anyone has any advice...
>>
>> I've attached a translation of C code I found in a GLUT tutorial at
>> http://www.lighthouse3d.com/opengl/glut. The C code works fine, as
>> do many other OpenGL examples I have found elsewhere. I've done
>> about as much debugging as I can do, short of tracing the
>> glutMainLoop, and all the stack parameters appear to be correct and I
>> no longer get any crashes or exceptions. Yet, the GLUT window
>> doesn't have any contents.
>
> In a preceding mail, after analysis of the problem, I had concluded as
> follows:
>
> <<I think It will not possible to use glut32.dll with SwiftForth.
>
> The executable GLUT consumer have to be a CONSOLE application: there
> is a lot of "printf" in the code.
>
> Also, the executable have to be a multithreaded application.
>
> Inside GLUT.H, there is the next definition:
>
> /* GLUT callback calling convention for Win32. */
> # define GLUTCALLBACK __cdecl
>
> So, the __cdecl convention is used. Not compatible with the original
> CB: definition.>>
Thanks for the feedback. I wondered why the talk about it here had
just stopped
Have you come up with any alternative?
>
> Charles
DaR
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Wed Jan 17 2007 - 12:11:20 PST
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:41 PST