🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #588

Re: How BWCPP knows PTwindow == *Twindow?

#588
From: Tom W. Brown
Date: Thu, 15 Oct 1992 00:31
24 lines
1552 bytes
In article <Bw4IMt.JMx@news.cso.uiuc.edu>, smlg1015@uxa.cso.uiuc.edu (Stuart M Lichtenthal) writes:
|> I have been through every #include file in a typical
|> Borland C++ example program which uses PTWindow or
|> PTWindowsObject and I still don't see how the compiler
|> knows that the P stands for "pointer".  This is certainly
|> Hungarian notation, but I don't see where the "P" is
|> defined.  I did see where TWindow and TWindowsObject classes
|> are defined, though (WINOBJS.H).
|> 
|> PTWindow is not in the "help" list. 
|> 
|> Could somebody clear this up for me?
|> 

Look in _defs.h (in the runtime include directory, not the OWL include
directory).  It defines a macro called _CLASSDEF(name) which does the
necessary typedefs to create Pname, Rname, etc.


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
Technical Details
Message-ID: <638@lax.lax.pe-nelson.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!lax.pe-nelson.com!lax!twbrown
References: <Bw4IMt.JMx@news.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!lax.pe-nelson.com!lax!twbrown
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: How BWCPP knows PTwindow == *Twindow?
Message-ID: <638@lax.lax.pe-nelson.com>
Date: 15 Oct 92 00:31:46 GMT
References: <Bw4IMt.JMx@news.cso.uiuc.edu>
Sender: news@lax.pe-nelson.com
Organization: PE-Nelson
Lines: 25