Learning Pain
Clarence Chiang -- clarence@spiderisland.com Monday, April 22, 1996 Does anyone know if there is any good book on MFC for OLE programming ? I have been reading Inside OLE (2nd Edition) but it is talking about OLE on COM level, I don't know how to integrate those knowledges into MFC. I know that in Inside Visual C++ 4.0 there are several chapters dealing with OLE but I don't seem to understand that. Clarence Chiang Spider Island Software
Frank Pijpers -- tgtcfp@chem.tue.nl Thursday, April 25, 1996 [Mini-digest: 6 responses] I've found that the easiest start with MFC/COM programming is chapter 23 = in Kruglinski's book (Inside Visual C++ 4.0). It gives a good = introduction on COM and what possibilities there are for COM programming = with MFC. I've used that approach for writing my first COM object (a = matrix storage class for doubles which uses virtual memory, DLL server), = which is available upon request. However, using such a COM object is a = wee bit more than a "no-brainer" as stated by Kruglinski, especially = when COM objects are being used in multithreaded programs. If you're a member of MSDN (Microsoft Developers Network) there are some = pretty good articles on the library CD concerning COM/MFC programming, = which give you also a starting point. Frank -----From: "Cunningham, Graham"If you can get hold of the articles written by Nigel Thompson on the MSDN= . These are exatly what you are looking for. I found them invaluable whe= n I first started out with COM and MFC. I think the word to search for is= MFC/COM. Graham Cunningham=20 email : Cunningham@tgd.swissptt.ch phone : 00 41 31 338 0633 -----From: Richard Morris You might take a look at OLE 2.X In Application Development published by Que. It discusses using MFC to implement OLE. -----From: bibhas@isgtec.com (Bibhas Bhattacharya) I found the online tutorial on OLE Automation and OLE control programming easy to understand and very helpful. Bibhas. -----From: lsiden@jade.bioimage.com (Larry Siden) I do have such a book, but unfortunately, it is at home. I will forward your msg to my home so that I can reply to you from there. I do remember that it is published by Que and comes with one or two floppies. Perhaps you can ask Que for a catalogue. I might add, though, that it is not as helpful as I would have liked. I think you will do much better with Microsoft's own documentation that comes with their products. ============================================================================ Larry Siden, Senior Software Engineer phone: 313-930-9900 x211 (w) Bio Image, Inc. 777 E. Eisenhower Pky, Suite 950 email: (w) lsiden@bioimage.com Ann Arbor, MI 48108 (h) 73677.1646@compuserve.com -----From: "Dan L. Pierson" There doesn't seem to be a really good book on this subject, though Mike = Blaszczak's "Revolutionary Guide to Win32" and Adam Denning's "OLE = Controls Inside and Out" both touch on parts of it. The best source to = date is the various articles on the MSDN CD or Microsoft's OLE = programming home page at http://www.microsoft.com/oledev. Part of the = problem is that both OLE and MFC are changing so fast that all the books = seem to be incomplete, out of date or both.
David Ohlssen -- DAVIDO@COMMERCE.CTECH.AC.ZA Tuesday, April 30, 1996 No one mentioned Mastering Visual C++ 4.0, the MS course CD with full syllabus for MCP/Solution Developer. It covers COM with many samples. > know that in Inside Visual C++ 4.0 there are several chapters dealing > with OLE but I don't seem to understand that. > Clarence Chiang > Spider Island Software David O. Ohlssen I _____________________________________ I I | Davido@Commerce.CTech.ac.ZA | I I | __ ____________ | I I | / \/ Cape Town \ _ | I I |__/ South Africa \/ \__________| I I_________________________________________I
| Вернуться в корень Архива |