Article View: comp.os.os2.programmer
Article #867How to get pointer to class object
From: Chan Shih-Ping
Date: Mon, 17 Aug 1992 00:57
Date: Mon, 17 Aug 1992 00:57
18 lines
937 bytes
937 bytes
Many of the WPS class method API functions (those that start with _wpcls) require a "pointer to the class object" as their first argument e.g. _wpclsQueryFolder etc. These pointers are suppose to have type M_WPObject *. How do you obtain a pointer to the *existing* class objects like WPFolder?? (I don't have the SOM manual only the Developer's Toolkit.) I can enumerate the registered classes using WinEnumObjectClasses but that function doesn't return pointers to the class objects. Thanks in advance. Shih-Ping Chan Dept of Mathematics National University of Singapore
Technical Details
Message-ID:
<1992Aug17.005733.2856@nuscc.nus.sg>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!jvnc.net!nuscc!matcspShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!jvnc.net!nuscc!matcsp From: matcsp@nuscc.nus.sg (Chan Shih-Ping) Subject: How to get pointer to class object Message-ID: <1992Aug17.005733.2856@nuscc.nus.sg> Organization: National University of Singapore Date: Mon, 17 Aug 1992 00:57:33 GMT Lines: 18