| Thread | Last Post | Replies |
|
| Where to Find Documentation for Interop Modules | 16 Jul 2004 19:41 GMT | 1 |
I am looking to do some work using Outlook. This is a link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout98/html/ms dn_movs105.asp that explains what I am going to do. My question is how do I find documentation for Interop Modules
|
| C# Interop of C dll passing a struct | 16 Jul 2004 06:05 GMT | 1 |
I have a C dll which interfaces to a voice card. The function call requires a special structure to be passed. I am attempting to wrap the C dll in a C# class so I can use C# instead of C. The C structure is as follows: typedef struct {
|
| Specifying credentials for access to a network share (UNC) | 16 Jul 2004 04:00 GMT | 1 |
Is there a way to specify credentials to a network share without using impersonation? I have a backup program that contains a username/password for a target directory to drop zipped files to. The network share requires
|
| Marshalling riddle | 15 Jul 2004 21:47 GMT | 1 |
I've an interface with the following method: void Show( [In, MarshalAs(UnmanagedType.I4)] int fShow);
|
| Need verification on RefreshCache method | 15 Jul 2004 15:27 GMT | 5 |
I feel rather confuse with the RefreshCache method. Let say I call the method using the following code, DirectoryEntry entry = new DirectoryEntry(); entry.Path = path;
|
| InvokeDispMethod fails intermittently | 15 Jul 2004 12:54 GMT | 2 |
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
|
| What are the problems when using CoRegisterClassObject/RegisterTypeForComClients in .NET? | 15 Jul 2004 12:48 GMT | 2 |
Are there any problems with using CoRegisterClassObject/ROT in .NET/CLR to expose an object as IDispatch for communication from/to unmanaged world? It is registered from MTAThread. The DllImport is as follows: [DllImport ("ole32.dll")]
|
| Delegate Callback with parameter | 15 Jul 2004 12:27 GMT | 1 |
We try callback C# method from C++ DLL using delegate, using delegate without argument works fine for me however the CallBackFunctionWithParameter which call delegate with parameter crash the application after being called .
|
| Problem Saving attachments from Outlook to files | 15 Jul 2004 01:01 GMT | 1 |
I am experiencing what appears to be a security problem when attempting to save file attachments from MailItems in the default inbox of Outlook (have tried both 2000 and 2002 SP-1). the messages have been filtered to only save .txt attachments and I use the following code to ...
|
| Remoted .NET object and COM Interop : QueryInterface needed? | 15 Jul 2004 00:07 GMT | 5 |
We are using .NET MarshalByRef remoted object that we use in a COM Interop scenario. When we try to access a member of the remoted object from COM returned by a remoting method call, we get the following error: <VSNET Debugger runtime error>
|
| NtOpenSection - how to use in .NET?? | 14 Jul 2004 20:43 GMT | 1 |
This is a repost from some other groups - I've been recommended to ask here. I need to use/upgrade the undocumented API's for NTDLL.dll - namely NtOpenSection, NtMapViewOfSection, NtUnmapViewOfSection, CloseHandle and CopyMemory. Code listing 1 shows the existing VB6 code, which ...
|
| Pass a C++ COM to another C++ COM from a C# application | 14 Jul 2004 18:24 GMT | 1 |
I have a C# application which creates two C++ COMs, and then pass one to another. the code snippet as follows: COM1 and COM2 are two COMs implemented in ATL. in C#:
|
| Win32 HANDLE and StreamReader???? | 14 Jul 2004 13:23 GMT | 2 |
Anyone know how I can get a Win32 HANDLE from a StreamReader or StreamWriter? I want to work with some I/O using Win32 APIs, but I would like to attach the I/O to a .NET Stream class. Any suggestions?
|
| OWCMDX: No such interface supported | 13 Jul 2004 21:20 GMT | 1 |
I am trying to use the OWCMDX.dll (an unsupported DLL that ships with SQL Server 2000) in order to assign MDX queries directly to PivotTables (Microsoft XP Office Web Components). I imported the dll into a .NET Windows Forms application using Visual Studio's Interop
|
| .NET classlib to COM-dll | 13 Jul 2004 15:27 GMT | 3 |
Hi NG, I have a c#-classlibrary that I registered as COM-Object. A TLB is created by this approach. But what I really need is a c#-dll that I can use as COM-dll. We have a VC++ 6.0 Application that loads COM-dlls as PlugIns. But
|