IlovePascal
14-02-2007, 12:59 AM
Hello,
(1)I tried to run Nehe's tutorials, but most of them require GLaux. Where do I get that? (I found glaux.aw and .ppw, but not .pas in JEDI-SDL).
And (2), many times I got the error "illegal type conversion: Shortstring to ^Char", how do i solve that?
Something to do with pChar...how do i convert that?
(the problem was in this line
glCallLists(length(text),GL_UNSIGNED_BYTE,pchar(te xt)); with Text:string)
Cheers :wink:
(1)I tried to run Nehe's tutorials, but most of them require GLaux. Where do I get that? (I found glaux.aw and .ppw, but not .pas in JEDI-SDL).
And (2), many times I got the error "illegal type conversion: Shortstring to ^Char", how do i solve that?
Something to do with pChar...how do i convert that?
(the problem was in this line
glCallLists(length(text),GL_UNSIGNED_BYTE,pchar(te xt)); with Text:string)
Cheers :wink: