|
-
Jan 26th, 2003, 03:31 PM
#1
[Resolved] MFC vs Win32, MFC: Serialization, and header files
Once again, found the web lacking in tutorials that tell me things.
I'm creating a program with MFC. I'm not exactly fluent with MS VC++ at all. I'm mostly making a move from VB, but have experience of Java, ML, other random languages from my Uni course (i.e., am a total C++ noob, but fairly experienced programmer).
Given I have to create this program by June (ish), am I making it hard on myself using MFC? I have a copy of the book: Beginning Visual C++ 6 by Ivor Horton from Wrox Press, which advocates MFC, but you guys seemed to suggest that coming from VB would be better done with Win32. If that's the case, can you suggest a good book that will teach me this approach?
Anyway, with the program I've got so far, I'm looking to open a docfile (OLE 2.0 Structured Storage or something like that). I've tracked through various information sources and believe I'm supposed to use the IStorage and IStream objects. These are defined in the objidl.h header file, but I'm kinda confused as to where this declaration should go - I have many .cpp files: Prog.cpp, ProgDoc.cpp, ProgView.cpp, MainFrm.cpp and ChildFrm.cpp. Any enlightenment on this score?
Also, I think serialization won't allow me to use these objects to open the file anyway - it appears too high level, only providing the functions for storing ints, longs, etc... How should I do this?
Or should I just scrap what I've got (which, tbh isn't much more than what AppWizard generated) and try implementing in Win32?
Last edited by Evil_Giraffe; Jan 27th, 2003 at 01:26 PM.
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
|