Sign in to follow this  
Player_0

WinMainCRTStartup problem...

Recommended Posts

Player_0    99
Hello, I just found out about this function (I'm not too good with Windows yet...) and I'm getting the undefined __fltused error. I brought up a window fine and everything but as soon as I added an opengl function setting up the viewport, states and all that stuff, it came up. It has to do with floats right? I tried getting rid of the floats and using ints instead, but I still have it. Do doubles count as well? Also I tried "#define __fltused 0" and other combinations but to no effect. I'm using VC++ 6.0 if it matters. I appreciate any help, thank you!

Share this post


Link to post
Share on other sites
Player_0    99
I was using extern before and it wasn't doing it. I was defining __fltused instead of _fltused! 8( But the linker error had two _'s in it why does it only take one?

By the way, thanks Alan!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this