Re: Const from IDL-File
- From: Vi2 <sharachov@xxxxxxxxxxx>
- Date: Wed, 2 Jul 2008 21:04:06 -0700 (PDT)
On 30 июн, 12:17, babak.pou...@xxxxxx wrote:
Hallo,
I have defined a "const int" in an idl file( const int
DISPID_WAITINGFORTRG = 1;).
I Would like to use it in a c++ file, but this Sympol is not available
in the tlh file which was build after import of the com dll.
There is no room (except TKIND_ENUM) to storage "const"s in TLB file.
Use "enum" instead "const". OR use "inject_statement" of #import to
bring this constant into C++ files.
.
- Follow-Ups:
- Re: Const from IDL-File
- From: babak . pourat
- Re: Const from IDL-File
- Prev by Date: Re: VC 9.0 #import breaking changes
- Next by Date: Re: Const from IDL-File
- Previous by thread: ATL
- Next by thread: Re: Const from IDL-File
- Index(es):
Relevant Pages
|