|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: ?IDL: how to share common code in separate file?
From: Alexander Balaev (Alexander.Balaev
COMPUWARE.COM)
Date: Mon May 05 2003 - 14:30:23 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stephen,
Thanks a lot!
That works also. without //mktyplib203 switch.
Regards,
Alex.
On Mon, 5 May 2003 12:17:14 -0700, Stephen Sauls <SSAULS
OPTO22.COM> wrote:
>1) You don't need the
>
> import "oaidl.idl";
> import "ocidl.idl";
>
>in your declaration idl file, only in the main idl file.
>
>
>2) Use #include instead of import so enter
>
>#include "declaration.idl";
>
>instead of
>
>import "declaration.idl";
>
>
>3) Only include the main idl file in your project.
>
>
>That should do the trick.
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]