pouët.net

Go to bottom

Visual c++ 6 to visual c++ 2010 Conversion

category: code [glöplog]
So, heres the problem, i was working in my "beautiful" framework, and i was trying to use use ARB Multi Sampling, but since nothing is easy in opengl and NeHe tutorials are a little bit scary for me, i decided to download a framework, so i could work in what actually matters, the musics and effects :D (not just 300+ lines for a simple empty window... if you know what i mean...)

Let's go to the point, i just downloaded the IQ's 64kbs framework, but it was in the Visual c++ 6 format, and my little friend Visual c++ 2010 doesn't like retro compatibility what should i do? And no, i will not use Visual c++ 6...
Ps: Create a new project from Existing Code Files is not a good idea if you don't know what libs use, and also, what sources include
I think NeHe is a bit outdated, or am I wrong?
Yeah, i know. But thats what i have, all the other tutorials noways are for the new OpenGL versions such as 3.0 or 4.0, and i don't think people would like to pay thousands of dollars just to watch a spinning cube...
3.0 for thousands of dollars? you've got to be kidding me..
added on the 2012-03-02 23:45:54 by kbi kbi
As for the actual question, all you will need to do is to link with opengl32.lib and potentially with glu32.lib. Look for a "additional dependencies" field in project settings, that's where you got to put it.
added on the 2012-03-02 23:48:36 by kbi kbi
I Think it's better i keep working in my own framework, any Multi Sampling tips? Or good websites with UPDATED tutorials?
dunno what's your problem. i never had any problems with the conversion processes of vs. :/ maybe you just to lazy to check and fix some simple errors if any?!?

also what's the bits about money and frameworks? the frame blows up intros. don't use them.. learn to code whitout it!!! and all the down low stuff you need is always for free.

*headscrews*
added on the 2012-03-02 23:58:25 by yumeji yumeji
Simple errors? I Tried it 10 times and it didn't convert any one of the files.

I Was talking about Graphic cards, some graphic cards don't support new OpenGL versions, like 3.0 or 4.0, got it?
yumeji: agreed, but then some people strive for effect, not for the hard-core low-level understanding of every single nut and bolt. i tend not to be the one to evaluate which attitude is better or worse.
added on the 2012-03-03 00:01:56 by kbi kbi
ahh foo. fuck the conversion. just read the important effect stuff and recode that on the fly and learn. and graphics cards? ofc.. if it doesn't support features it just doesn't support it! the other way it's just the drivers and some of them struggle with vendor specific ogl. not an issue. use vendor-indy extensions. :)

and kbi: what's so low level there for some effect? just get the handle of a window and push it into the demo's render engine. this' like 2 lines of code to add that info into a struct and create the device. -_-
added on the 2012-03-03 00:53:41 by yumeji yumeji
yumeji: you're not exactly being helpful here :)

BlackSheep8bit: If you're not comfortable with OpenGL, I'd suggest leaving multisampling for later - GL is particularly finicky about the way AA is implemented, so best just keep coding and then later come back to the issue when you feel more homely with the API.
added on the 2012-03-03 01:22:44 by Gargaj Gargaj
not helpful? okay. :/
added on the 2012-03-03 01:48:03 by yumeji yumeji
Gargaj: thats the problem, i understood how the vectors works, normals, lighting, everything seems to be ok in my head, i can write a demo in seconds, the hard part is making the Framework.

Can you sugest me a website with recent opengl tutorials, not outdated stuff?


yumeji: read what you wrote, 2 lines of code in theory, specially if you can't decorate those simple names that microsoft insist in use. They are so simple! *irony*

BlackSheep8bit: if you can write a demo in seconds, then do it ;) that said, as far as framework is concerned, i'm not sure what you need or what do you mean by "framework" in the first place - when it comes to AA, i'm afraid i can't help you beyond nehe (i'm a d3d guy myself).
added on the 2012-03-03 02:37:48 by Gargaj Gargaj
Gargaj: When i say framework i mean, creating windows, multi-sampling, those things that takes ages to put in a demo D:
added on the 2012-03-03 03:11:03 by Gargaj Gargaj
You can have an awesome demo without multi sampling. You can't display any gfx without a window. Priorities.
Also nehe's tutorials are for win32 opengl 1.0 in good old C and there is nothing wrong with it and won't kill you if you go through the tutorial once. There is a point where you have to stop looking for premade information and start doing it yourself if you ever want to write a demo.
added on the 2012-03-03 09:26:11 by musk musk
The 4k framework by iq shows pretty well the things you absolutely need for an ogl enabled window. Add your own window class, some release calls in the end and that's about what you need. The NeHe tutorial is written in a nice way of checking every possible error, but to me it was always just a distraction of what's really going on. After learning the actual process it's pretty easy to add a few error checks.
added on the 2012-03-03 09:41:51 by msqrt msqrt
yumeji: trust me, people do have problems getting around winapi. at times of c#, java, etc. it is actually considered to be quite a low-level thing. take a different perspective - to some extent, you sound at this moment like a professor at a university who has a problem understanding what's so difficult in solving a particular set of partial differential equations and why there are so many students failing the exam.

back on the track, though. multisampling is one of the fairly simpliest features of opengl that you can use. as far as i remember, all you have to do is add a special flag when creating a context, and then add a special glenable/gldisable() pair. oh, and there's some special care about frame-buffers. anyway, BlackSheep8Bit: try to read the GL chapter on the topic. It should be neatly summarized there. If you're having problems reading the extension registry, don't worry - they are written in a diff-like manner and it takes practice to start seeing actual light behind them.

oh, and agreed on the remark soembody wrote above: you've got to try to solve the problem by reading and experimenting - tips on the net end at some point.
added on the 2012-03-03 11:01:55 by kbi kbi
I second msqrt, look at iQ's 4k framework(s) for something waaay minimal. Otherwise, if you just want to create a window and move the fuck on, then I suggest using GLUT. Works for me at least.
Speaking of frameworks, whatever happened to Frontend...?
added on the 2012-03-03 15:44:47 by Gargaj Gargaj
to convert a projet from visual studio 6 to 2010, I use visual studio 2008 first or visual studio 2002. conversion of project are not the best in vs2010.
added on the 2012-03-03 15:50:20 by Bartoshe Bartoshe
http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express
added on the 2012-03-03 15:53:10 by Bartoshe Bartoshe
Thanks to everybody for helping me with another *almost* impossible mission for a beginner,

mu6k: Yeah, i know, but multi-sampling make things more professional, specially if you want to make alot of effects, effects without anti-aliasing doesn't looks THAT good D:

msqrt: I Saw that framework, it was like perfect, but since i am not making 4kbs i would have a lot of problems with the final filesize being "too small" but not enought 4kbs, thats why i am dowloading the 64kbs framework by the same author, IQ

kbi: Well, you say it's something simple, and you have experience, but i simply can't find any tutorial in the internet about it, only the NeHe tutorial with doen't make any sense for me!

Lord Graga: Glut dll is about 200kbs, and i want to make 64kbs...

Bartoshe: I am just downloading MSVS2006 to test this ;D

login

Go to top