Language question

BlitzMax Forums/BlitzMax Programming/Language question

Jake L.(Posted 2006) [#1]
Hi,

I'm writing a source-parser, so I need to understand the following language-syntax:

Global Direct3DCreate9:IDirect3D9(SDKVersion )"win32"=GetProcAddress( d3d9Lib,"Direct3DCreate9" )


What I don't understand is the "win32" after the typecast. What is it for? I never saw this before...

Thanks in advance

Jake


ImaginaryHuman(Posted 2006) [#2]
Maybe it does something platform specific based on what platform you compile on?


N(Posted 2006) [#3]
It's to tell it to use 'stdcall' calling convention instead of the normal 'cdecl' method if I recall correctly.