Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C Sharp
COM Interop Static Classes
COM Interop Static Classes
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Alan Roberts
#1
COM Interop Static Classes
Dec 21 '05, 02:05 PM
Is it possible to expose a static class to COM?
Thanks
Alan
WebMatrix
#2
Dec 21 '05, 03:25 PM
RE: COM Interop Static Classes
Sure, if it's a public class I don't see why not.
"Alan Roberts" wrote:
[color=blue]
> Is it possible to expose a static class to COM?
>
> Thanks
>
> Alan
>
>
>[/color]
Comment
Post
Cancel
Mattias Sjögren
#3
Dec 21 '05, 11:25 PM
Re: COM Interop Static Classes
Alan,
[color=blue]
>Is it possible to expose a static class to COM?[/color]
No, a static class can't be instantiated and it only has static
methods that can't be called through COM interop.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
|
http://www.dotnetinterop.com
Please reply only to the newsgroup.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment