POV-Ray : Newsgroups : povray.unofficial.patches : can't compile povray with vc7 Server Time
31 Oct 2024 23:32:54 EDT (-0400)
  can't compile povray with vc7 (Message 1 to 6 of 6)  
From: Apache
Subject: can't compile povray with vc7
Date: 7 Jan 2003 03:46:32
Message: <3e1a93e8$1@news.povray.org>
Whenever I try to compile POV-Ray 3.5 with Microsoft's VC7 compiler,
everything works fine except for "error MIDL2035 : constant expression
expected". I'm getting this fatal error four times in codemax's "edit.idl",
lines 2506, 2507, 2513 and 2514:

[
 propput,
 id(DISPID_CMPROP_NORMALIZECASE),   // <<---- 1ST TIME
 helpcontext(HELPID_CMPROP_NORMALIZECASE),   // <<---- 2ND TIME
 helpstring("Language keyword case fixup on-the-fly (on/off)")
]
HRESULT NormalizeCase([in]VARIANT_BOOL bVal);
[
 propget,
 id(DISPID_CMPROP_NORMALIZECASE),   // <<---- 3RD TIME
 helpcontext(HELPID_CMPROP_NORMALIZECASE),   // <<---- 4TH TIME
 helpstring("Language keyword case fixup on-the-fly (on/off)")
]
HRESULT NormalizeCase([out, retval]VARIANT_BOOL *pbVal);

Hope someone could help me out  :-)


Regards,
Apache

N.B. I've posted this question earlier at p.p but maybe there are some
hardcore coders that don't read there  :-P


Post a reply to this message

From: Mael
Subject: Re: can't compile povray with vc7
Date: 7 Jan 2003 03:58:46
Message: <3e1a96c6$1@news.povray.org>
> Whenever I try to compile POV-Ray 3.5 with Microsoft's VC7 compiler,
> everything works fine except for "error MIDL2035 : constant expression
> expected". I'm getting this fatal error four times in codemax's "edit.idl",
> lines 2506, 2507, 2513 and 2514:

I have VC6 and compile with no problems but it seems that
DISPID_CMPROP_NORMALIZECASE and HELPID_CMPROP_NORMALIZECASE are not defined in
cmidlids.h

M


Post a reply to this message

From: Apache
Subject: Re: can't compile povray with vc7
Date: 7 Jan 2003 05:34:57
Message: <3e1aad51$1@news.povray.org>
Why not? This is weird, why does this give errors here while it compile fine
at your place? What should those ID values be then?


Post a reply to this message

From: Apache
Subject: Re: can't compile povray with vc7
Date: 7 Jan 2003 05:39:17
Message: <3e1aae55@news.povray.org>
Oh well..... never mind. I'll try to compile this all with another compiler,
maybe Borland's or vc6. :-(


Post a reply to this message

From: Troy S  Ristow
Subject: Re: can't compile povray with vc7
Date: 7 Jan 2003 11:37:16
Message: <3e1b023c$1@news.povray.org>
I have successfully built povray without any problems in VC7.  See my post
under povray.programming for details.  If you still have any problems send
me an email since I wrote a quick reply without checking my facts.

--- Troy S. Ristow


"Apache" <apa### [at] yahoocom> wrote in message
news:3e1a93e8$1@news.povray.org...
> Whenever I try to compile POV-Ray 3.5 with Microsoft's VC7 compiler,
> everything works fine except for "error MIDL2035 : constant expression
> expected". I'm getting this fatal error four times in codemax's
"edit.idl",
> lines 2506, 2507, 2513 and 2514:
>
> [
>  propput,
>  id(DISPID_CMPROP_NORMALIZECASE),   // <<---- 1ST TIME
>  helpcontext(HELPID_CMPROP_NORMALIZECASE),   // <<---- 2ND TIME
>  helpstring("Language keyword case fixup on-the-fly (on/off)")
> ]
> HRESULT NormalizeCase([in]VARIANT_BOOL bVal);
> [
>  propget,
>  id(DISPID_CMPROP_NORMALIZECASE),   // <<---- 3RD TIME
>  helpcontext(HELPID_CMPROP_NORMALIZECASE),   // <<---- 4TH TIME
>  helpstring("Language keyword case fixup on-the-fly (on/off)")
> ]
> HRESULT NormalizeCase([out, retval]VARIANT_BOOL *pbVal);
>
> Hope someone could help me out  :-)
>
>
> Regards,
> Apache
>
> N.B. I've posted this question earlier at p.p but maybe there are some
> hardcore coders that don't read there  :-P
>
>
>


Post a reply to this message

From: Apache
Subject: Re: can't compile povray with vc7
Date: 7 Jan 2003 12:48:41
Message: <3e1b12f9@news.povray.org>
It works! Thank you sir!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.