|
-
Jan 28th, 2001, 02:48 PM
#1
Thread Starter
Junior Member
what is better MFC or pure windows programming
-
Jan 28th, 2001, 03:09 PM
#2
Frenzied Member
Raw API is better. You don't have to distribute the MFCxx.DLL. It is a bit faster. MFC is less complex than raw API but it is not a huge difference.
I would definetely suugest using raw API.
-
Jan 28th, 2001, 03:29 PM
#3
Thread Starter
Junior Member
hmmmmmmmm... thanx .... but I am pure beginer what is best for me
-
Jan 28th, 2001, 03:36 PM
#4
Monday Morning Lunatic
Pure beginner to C++ or pure beginner to Windows programming with C++?
If the former, then I would suggest learn console programs first...it really helps you get to grips with pointers, debugging and all sorts of other useful things.
If the latter, raw API is, as Vlatko says, the best option, since you can see EXACTLY what's happening, and it's not obscured behind layers of inheritance.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 28th, 2001, 03:43 PM
#5
Thread Starter
Junior Member
i'm a pure beginner to Windows programming with C++
-
Jan 28th, 2001, 03:48 PM
#6
Monday Morning Lunatic
Then in that case, get yourself a copy of the Platform SDK. You can download it from Microsoft's site, and the bits which are necessary for the basic Windows programming are only about 15MB - not too bad 
Also, here's some example code, hopefully the comments are understandable 
http://www.parksie.net/Raw.zip
http://www.parksie.net/RawDlg.zip
If you need any more help there's people like Vlatko, Dennis Wrenn and myself around on the forums
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 28th, 2001, 04:15 PM
#7
Frenzied Member
This site helped me alot getting started with C++ Window applications, I believe Dennis gave it to me.
http://winprog.org/tutorial/
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jan 28th, 2001, 05:57 PM
#8
Wow, my name was mentioned twice in this thread... I'm so proud... 
the platform SDK is a great tool, but it didn't help me much with the basics of windows programming, but it did help me with controls, and window styles, and all that fun stuff 
but I definatly do recomend you getting the PSDK, or at least getting the sections on CreateWindow, CreateWindowEx, and the window styles.
-
Jan 28th, 2001, 05:59 PM
#9
Thread Starter
Junior Member
wow!
Thanx
you use dialog in rawdlg. So where is the diference betwen dialog and code-generated form.
-
Jan 29th, 2001, 06:07 AM
#10
I've only used a Dialog once, but I like the CreateWindowEx method better, I don't know why, it just makes it seem like you wrote the majority of the code rather than using microsofts resource file generator.
-
Jan 29th, 2001, 08:28 AM
#11
Thread Starter
Junior Member
is CreateWindowEx faster
-
Jan 29th, 2001, 10:28 AM
#12
Frenzied Member
I think it is... at least it doesn't force you to ship a dll with your program, that's a good reason to me!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jan 29th, 2001, 02:30 PM
#13
Monday Morning Lunatic
Speed-wise, there's very little between dialogues and CreateWindow[Ex].
MFC is a lot slower, but is intrinsically based on dialogues.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 30th, 2001, 11:12 AM
#14
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|