| Thread | Last Post | Replies |
|
| How to tell if Outlook interop created new Outlook process | 30 Sep 2005 15:58 GMT | 2 |
I have a WinForm application that interacts with Outlook using interop. Is there a way to tell if the 'new MSOutlook.Application()' call is actually creating a new Outlook process, or it is using an existing Outlook process? I want to terminate the Outlook process if it was spawned ...
|
| UnauthorizedAccessException with third party component | 30 Sep 2005 15:55 GMT | 3 |
I'm using a third party COM+ component inside C# (v 1.1.4322) application. I installed the proxy on my machine, it were working fine. But since yesterday, unexpectedly, the component stopped working. Then exactly at the moment that i'm instantiating the component, I get an
|
| C++/C# interop causes OleInitialize (STA) to fail? | 30 Sep 2005 15:43 GMT | 7 |
Is there something about C++ / C# interop that initializes the threading model to MTA so that OleInitialize will fail? I have a mostly C++ app that calls a single C# class DLL. Only one source file in the C++ app is compiled as managed (with /clr) – the single file in
|
| Problem with .NET MSMQ wrapper - FileNotFoundException | 29 Sep 2005 10:04 GMT | 2 |
Don't know if this is the right group, but my problem involves COM interop, hence the post to this group. We have a simple API which we use to send messages to a private MSMQ queue. This API is C#, and it abstracts some of the details in using the
|
| How to return an HRESULT to COM caller? | 29 Sep 2005 08:05 GMT | 2 |
I need to implement an COM interface in C#, there is one method whose IDL definition is HRESULT IsServerAvailable(); which is supposed to return an hresult value to indicate the server
|
| ActiveX and casting? | 28 Sep 2005 03:33 GMT | 1 |
Hope you don't mind some questions from an interop newbie ('m not even sure what questions to ask, but I want to learn) ... I'm trying to access a COM object (the MS Agent server) in VB.Net 2005. I can create the object that represents the server, access its methods and
|
| ClassCast-Exception for COM-interface, but only when run in own thread | 27 Sep 2005 21:11 GMT | 13 |
Hi there, i hope anybody can help or just give a hint... using C#, i try to get an instance of a COM-class of the ShellAPI, IShellIcon in this case pericular case, but is also reproduceable with other Shell-interfaces :-) See the code...
|
| COM and Threading problem(I think) | 27 Sep 2005 11:36 GMT | 11 |
I have a VB.net application which creates two threads (A&B). In Thread A I create an instance of an object contained in a COM dll which performs a lengthy search operation. In Thread B i create an instance of the same object in the same COM dll but i perform a short search. As i'm ...
|
| Writing COM component in C# | 27 Sep 2005 10:07 GMT | 5 |
I am terribly sorry to disturb you all with this probably very simple question... but I have searched the net for two hours, and there are a lot of webpages out there with the words n it that I have tried searching for :-/
|
| Problems with BindIFilterFromStream | 26 Sep 2005 21:11 GMT | 8 |
I'm using some example code from http://www.codeproject.com/csharp/DesktopSearch1.asp?df=100&forumid=190772&exp=0 &select=1153650 to parse PDF files for a DotLucene index. It uses the query.dll com object's LoadIFilter method to return the correct IFilter for the file
|
| SendMessage help | 26 Sep 2005 20:29 GMT | 1 |
I have a stand alone c++ program that uses SendMessage to communicate with a stand alone C# program. The c++ program looks like this hWind has previously been determined;
|
| Getting rid of _Object | 26 Sep 2005 12:04 GMT | 6 |
I don't want to factor out my public functionality into interfaces, suppress the ClassInterface, use ClassInterfaceType.None and ComInterfaceType.InterfaceIsIUnknown as attributes just to find that when I use OleView my pretend coclasses implement some mysterious
|
| Passing objects between c# Managed and c++ unmanaged code via COM | 25 Sep 2005 11:38 GMT | 3 |
I have some troubles with using my managed C#.Net code in unmanaged C++ code through COM. I have troubles with passing C# objects to C++ code. - I have an interface IObjectPass and an object ObjectPass that
|
| Refresh COM Object | 25 Sep 2005 09:36 GMT | 9 |
I have a Vb6 DLL Called from csharp which is a report object. It can fetch data properly, however, when I run 2nd, 3rd, 4th time with differenct report criteria, the fetched data still remained as same as the first time. The object seems cannot refresh after first creation. It ...
|
| Nothing displays on Word window! | 23 Sep 2005 14:43 GMT | 1 |
I'm facing a strange behavior when trying to invoke and open a Word document through my aspx (vb.net) file. I'm working with Office 2003 and I can see that the requested document gets opened on the screen. Some of the Word's icons on standard toolbar and other toolbars come up ...
|