Skip to main content
gamedev.net
🔒 Locked

MFC tutorials

Started by Staffan Jul 3, 2000 at 1:30 PM 6 replies 950+ views
Original Post
Staffan
Staffan
I have one very simple question: does anyone know where I can find any MFC tutorials or what so ever? I just realized it''ll be easier to learn it then doing everything in plain Win32. I''m stuck struggling with my GUI editor...it works so far but I hardly know what I''m doing "Paranoia is the belief in a hidden order behind the visible." - Anonymous
Great Milenko
Great Milenko
try
www.codegurus.com I think thats the address....
ummm for writing games MFC isn''t very good... I don''t know of anyway to use DX if your using MFC...
but for like a map editor or something it could be worth a shot...

Great Milenko

Words Of Wisdom:
"Never Stick A Pretzel In Your Butt It Might Break Off In There."


http://www.crosswinds.net/~milenko
http://www.crosswinds.net/~pirotech

The Great Milenko"Don't stick a pretzel up your ass, it might get stuck in there.""Computer Programming is findding the right wrench to hammer in the correct screw."
Qoy
Qoy
I think from reading the post he was planning on using it for an editor.

But you could use DX with MFC without much trouble I would think... You could initialize DX using the handle from your main window... I don''t know why it would be all that much slower than just using the WinAPI.
Ksero
Ksero
There are a few more at

http://devcentral.iftech.com/Learning/tutorials/submfc.asp

You can also find tutorials on DCOM if anyone''s interested...

//Ksero
felisandria
felisandria
Actually it''s www.codeguru.com

Also, check out the MSDN online libraries over at msdn.microsoft.com for more nifty stuff.

You can, as Qoy said, use MFC underneath a DX game, in fact the DirectX Complete sample game does this, but I''m really not sure why you would want to. MFC is awesome for level editors tho.

-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Staffan
Staffan
Thanks a bunch...that should get me going, if not I''ll stick with the good ole plain-Win32 approach.

"Paranoia is the belief in a hidden order behind the visible." - Anonymous
win32mfc
win32mfc
Hiya-

Great Milenko said "for writing games MFC isn''t very good... I don''t know of anyway to use DX if your using MFC..."

You can safely ignore that. MFC is a thin OO wrapper around the Win32 API. I have written ALL my DirectX games and programs using MFC. There''s absolutely NO reason not to use it other than personal preference. I have found MFC much easier to program with. Also, just about every machine out there already has the MFC DLL''s installed.

But, if you don''t know MFC it may take a little while to get the hang of it; understand what''s really happening, etc... Once you do, though, I''m sure you''ll find it easier and more intuitive to program with.

Microsoft has a couple tutorials for MFC. "Scribble" is one of them. Definitely check out www.codeguru.com and some of the other sites in their links section. They''re out there.

// CHRIS
// CHRIS [win32mfc]
Staffan
Staffan
I know MFC can be used in conjunction with DirectDraw/Direct3D as well as OpenGL. Personally, however, I prefer using the bare Win32-API for my games. I'm not doing anything much windows related besides creating a window and getting my HWnd anyways. MFC will be for tools only.

"Paranoia is the belief in a hidden order behind the visible." - Anonymous

Edited by - Staffan on July 3, 2000 7:26:59 PM

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.