Theos PowerBasic Museum 2017

Webmaster: José Roca (PBWIN 10+/PBCC 6+) (SDK Forum) => Discussion => Topic started by: Håkan Olsson on March 22, 2014, 08:13:41 PM

Title: Problem with wglCreateContextAttribsARB using new .INC ...
Post by: Håkan Olsson on March 22, 2014, 08:13:41 PM
Loaded new files and immediatly the code got not worthy to compile ...

I get a "UNDEFINED SUB/FUNCTION REFERENCE" in line:
FUNCTION = wglCreateContextAttribsARB(hDC, 0, attributes(0))

Found some examples here in forums that aren't compilable either ...

Any good ideas??? ... someone??
Title: Re: Problem with wglCreateContextAttribsARB using new .INC ...
Post by: José Roca on March 22, 2014, 08:45:52 PM
In the headers for PB10, the macros were replaced with the CWGLEXT class (in CWGLEXT.inc).
Title: Re: Problem with wglCreateContextAttribsARB using new .INC ...
Post by: Håkan Olsson on March 23, 2014, 08:19:43 PM
Aaa. Got it ... My bad! =)