Xojo Conferences
XDCMay2019MiamiUSA

"namespace" (was Re: New Plugins-SDK available) (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: [ANN] Theo's String Stuff plugin 3.3
Next thread: NULL pointers no more accepted on Win builds


Re: New Plugins-SDK available   -   Christian Schmitz
  "namespace" (was Re: New Plugins-SDK available)   -   Joseph J. Strout
   Re: "namespace" (was Re: New Plugins-SDK available)   -   Christian Schmitz
    Re: "namespace" (was Re: New Plugins-SDK available)   -   Joseph J. Strout

"namespace" (was Re: New Plugins-SDK available)
Date: 07.06.02 15:19 (Fri, 7 Jun 2002 07:19:12 -0700)
From: Joseph J. Strout
At 1:36 PM +0200 6/7/02, Christian Schmitz wrote:

> > >Is "namespace" a valid C command?
> >
> > No, it's a valid C++ keyword. Why, is it giving you trouble somewhere?
>
>No. I just saw it in the winheader.cpp which is C only, or?

No, a ".cpp" extension means C++.

Best,
- Joe

Re: "namespace" (was Re: New Plugins-SDK available)
Date: 07.06.02 19:09 (Fri, 7 Jun 2002 20:09:25 +0200)
From: Christian Schmitz
> At 1:36 PM +0200 6/7/02, Christian Schmitz wrote:
>
> No, a ".cpp" extension means C++.

And why do you have than winheader.cpp and winheader++.cpp ?

Mfg
Christian

Re: "namespace" (was Re: New Plugins-SDK available)
Date: 07.06.02 21:30 (Fri, 7 Jun 2002 13:30:32 -0700)
From: Joseph J. Strout
At 8:09 PM +0200 6/7/02, Christian Schmitz wrote:

> > No, a ".cpp" extension means C++.
>
>And why do you have than winheader.cpp and winheader++.cpp ?

Here's the answer from William:

>WinHeader.cpp does not include the C++
>precompiled headers, but WinHeader++.cpp does. The only noticeable
>difference is if you are using COM. If you include WinHeader.cpp you have
>to access a COM class' member functions via the vtable pointer, but with
>WinHeader++.cpp it is seemless. There are a few other subtle differences
>that I can't recall at this time, but that's the reasoning behind it.

Cheers,
- Joe