replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - mswin and opengl
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mswin and opengl

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2923
Location: South Pole, Antarctica

PostPosted: Sat Oct 30, 2010 9:14 am    Post subject: mswin and opengl Reply with quote

That's old problem not yet fixed in my code (most probably in others too).
I just did not use this functionality, waiting for really big necessity or some spare time to research it.

If i correctly understand docs, when we need some genuine MS functions like keyboard and mouse handling we have to include mswin instead of just pure clrwin (or clearwin.ins). But with OpenGL when i use mswin even in this simplest 3-line snippet code

use mswin
include <opengl.ins>,nolist
end

i get conflict with "Win32 API functions converted from wingdi.h" like WGLUSEFONTOUTLINES 'wglUseFontOutlinesA' (VAL,VAL,VAL,VAL &
&,VAL,VAL,VAL,REF):LOGICAL*4

(it's these functions which are at the end of opengl.ins file. If they are commented by default in your installation, you need to uncomment them. I do not remember if they are commented by default or i did that - i was searching for the reason of this conflict so many times). The compilation error states:

1/2447) STDCALL WGLUSEFONTOUTLINES 'wglUseFontOutlinesA' (VAL,VAL,VAL,VAL &
1/2448) &,VAL,VAL,VAL,REF):LOGICAL*4
*** Return type is expected.
Found
(VAL,VAL,VAL,VAL,VAL,VAL,VAL,REF):LOGICAL*4 (In include file D:\Program
Files\Silverfrost\FTN95\include\OPENGL.INS)

Please suggest how to fix that. TIA.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group