Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / July 2004

Tip: Looking for answers? Try searching our database.

InvokeDispMethod fails intermittently

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RichB - 12 Jul 2004 14:57 GMT
Hello,

I've developed an object that late binds to COM objects using
Activator.CreateInstance and <Type>.InvokeMethod.

The object is held within a ASP.NET application which is used heavily, thus
requiring the late binding to be activated regularly.  Unfortunately, on
more than once occasion RuntimeType.InvokeDispMethod has thrown an
unspecified error.

Has anybody encountered similar problems and can anybody offer any kind of
solution?

Thanks in advance,

Richard Bower.
Ben Rush - 12 Jul 2004 17:10 GMT
What is the apartment requirements for the object with which you are
invoking?

> Hello,
>
[quoted text clipped - 12 lines]
>
> Richard Bower.
RichB - 15 Jul 2004 12:54 GMT
Single threaded aparment, C++ COM object, no transaction or state, IDispatch
interface
that is sat in a COM+ package.

Thanks

Richard.

> What is the apartment requirements for the object with which you are
> invoking?
[quoted text clipped - 16 lines]
> >
> > Richard Bower.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.