Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

NULL pointers no more accepted on Win builds (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: "namespace" (was Re: New Plugins-SDK available)
Next thread: TARGET MACOS missing


Re: Plugins website   -   Troy A. Dix
  NULL pointers no more accepted on Win builds   -   Christian Schmitz
   Re: NULL pointers no more accepted on Win builds   -   Joseph J. Strout
    Re: NULL pointers no more accepted on Win builds   -   Christian Schmitz

NULL pointers no more accepted on Win builds
Date: 07.06.02 14:20 (Fri, 7 Jun 2002 15:20:19 +0200)
From: Christian Schmitz
Hi,

All time I could pass NULL or nil as a valid pointer in C/C++, but with
the new plugin SDK this is no more allowed.

Is there a compiled switch for this?

Mfg
Christian

Re: NULL pointers no more accepted on Win builds
Date: 07.06.02 15:24 (Fri, 7 Jun 2002 07:24:22 -0700)
From: Joseph J. Strout
At 3:20 PM +0200 6/7/02, Christian Schmitz wrote:

>All time I could pass NULL or nil as a valid pointer in C/C++, but with
>the new plugin SDK this is no more allowed.
>
>Is there a compiled switch for this?

Hmm, actually I did saw that too at one point, but thought it was
just my own mistake. Glad to have confirmation. I'll try to find
out what changed and why.

Thanks,
- Joe

Re: NULL pointers no more accepted on Win builds
Date: 07.06.02 21:33 (Fri, 7 Jun 2002 22:33:56 +0200)
From: Christian Schmitz
> Hmm, actually I did saw that too at one point, but thought it was
> just my own mistake. Glad to have confirmation. I'll try to find
> out what changed and why.

In your both winheader files you find:

#include <Win32Headers++.mch>

and

#include <Win32Headers.mch>

Depending on which winheader you use you get this error or not. The one
with "#include <Win32Headers++.mch>" is for C++ as it seems.

PS: Maybe you can add more #if to make the SDK working without C++?

Mfg
Christian