|
-
Nov 5th, 2000, 07:41 PM
#1
I currently know only the win32 api, should i learn MFC or would it be better to stick to the API?
-
Nov 6th, 2000, 05:21 AM
#2
Frenzied Member
There is no reason to go to MFC if you know pure API programming preety good. MFC exists only to make programming with C++ easier. I have read that is a bit slower than pure API.
-
Nov 6th, 2000, 01:39 PM
#3
Monday Morning Lunatic
It's not much slower, although the tradeoff is between ease of coding, and final size, since you'd need to distribute mfcxx.dll (for whatever version) with your program.
There are other classes in MFC, but these can be substituted by some better alternatives:
CString - string / wstring (both are faster and easier to use)
The controls are also basically worthless. If you want to use OOP for a windows app, just write a quick class for your window. I can send you one if you want (it's a bit cryptic, and actually looks very similar to MFC, but doesn't take loads of space).
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
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
|