Hi,

I have a DLL library (glew) which exports its symbols without
underscores (e.g. glCreateShader instead of _glCreateShader). I use
AUTOWRAP => 1 and declare a function in an Inline section like this:

 

GLuint glCreateShader(GLenum type);

 

But the linker tries to search later for _glCreateShader. I'm not sure
what is a remedy to this situation. I hoped that a modifier: __cdecl
could help. But if I add it to the declaration:

 

__cdecl GLuint glCreateShader(GLenum type);

 

then the Inline does not build a binding for it.

 

I'm using Windows 7 and Visual Studio 6.0.

 

Is this issue known? Could you please help me solve it?

 

Thank you for your time,

Best Regards,

Krystian

Reply via email to