Re: CType question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 03/29/04


Date: Mon, 29 Mar 2004 22:43:56 +0200

Jeff,

>Isn't that what I have?

No, the type expression must be something that the compiler can
evaluate at compile time, it can't be a variable.

What are you actually trying to accomplish?

Mattias

-- 
Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Relevant Pages

  • Re: Unshielded comma in macro expansion
    ... trying to accomplish with all this running around? ... The purpose is to simplify notation for a type-generic macro. ... C is a statically-typed language, ... known at compile time and immutable thereafter. ...
    (comp.lang.c)
  • Re: library design
    ... Module A should use either module B1 or module B2 to accomplish its task. ... In C++ (or Java or whatever) I would propably create an abstract base class ... Is the choice of using B1 or B2 being made at runtime or compile time? ...
    (comp.lang.c)
  • Re: access is denied ???
    ... How can I accomplish this? ... try creating a referece to it 1st so that on compile time your program ... >> Explorer, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Extracting data from an XML to put into a constant
    ... only be set at compile time, ... If one is willing to use the "wsf" construct, ... access the constants in an object's typelib by using the ... Please reply to the newsgroup. ...
    (microsoft.public.scripting.vbscript)
  • Re: Extracting data from an XML to put into a constant
    ... what time context is the <reference object= ... I suspect that behind the scenes, it is doing something similar what I ... isn't being accessed at the script's compile time? ... Please reply to the newsgroup. ...
    (microsoft.public.scripting.vbscript)