| Thread | Last Post | Replies |
|
| WebService DllImport Unable to load DLL | 26 Apr 2004 23:56 GMT | 2 |
I am trying to import a dll from within a webservice. At the call of the dll function, a DllNotFoundException exception is thrown. I have tried to putting the dll in the web service directory, putting the dll in the system32 directory, specifying the full path for the DllImport ...
|
| Baffled: SHGetSpecialFolderLocation throws MissingMethodException on Compact Framework | 26 Apr 2004 21:11 GMT | 1 |
I working on a very simple prototype to intercept file system change messages on my Pocket PC. When I use the SHGetSpecialFolderLocation function, I get a MissingMethodException.
|
| Understanding CryptoAPI "keycontainer" and "unique key container" | 26 Apr 2004 17:09 GMT | 1 |
A number of folks have asked me about the naming convention used for the CryptoAPI unique keycontainer files (Microsoft CSP keycontainer files). These are encrypted (via DPAPI in W2k+) files holding RSA or DSA keypairs and managed by the CSPs.
|
| slow reading of eventlog | 26 Apr 2004 14:22 GMT | 5 |
I need to read the entire eventlog and parse it. The application uses vb.net and the EventLog object. The problem i'm having is that it can take less then a second up to 15 seconds to read all entries in the eventlog. I used Perfmon and found the following two counters that were ...
|
| WTSSetUserConfig help. Urgent!!! | 26 Apr 2004 12:36 GMT | 2 |
I am trying to call the WTSSetUserConfig function from VB.Net but it does not seem to work. I always get the error: "The user does not exist". But when I am using the function WTSQueryUserConfig to get the information i works ok. My code is as follows Const ...
|
| Marshalling error with System.Drawing.Color <==> OLE_COLOR parameter | 25 Apr 2004 22:38 GMT | 7 |
There appears to be a problem with marshalling a specific usage of a System.Drawing.Color reference parameter from an unmanaged caller. I have a .NET control exposing an interface as (managed C++): public __gc __interface IManagedUIElement
|
| MFC COM client interop problem with arrays | 24 Apr 2004 17:16 GMT | 1 |
I'm trying to send an array from a MFC COM client to a .NET assembly. It works fine with non-array data and with strings, but I get an error message "No such interface supported" when sending an array. Here is the C# code: namespace SpecTest {
|
| InvalidCastException: QueryInterface for interface ... failed | 24 Apr 2004 13:32 GMT | 1 |
I am trying to access a managed com object created in VC6. I have created a ASP.Net form and have added a COM Reference to the project. This creates a interop.xxx.dll for the project. When I run the form I recieve an exception: InvalidCastException: QueryInterface for ...
|
| QueryInterface for interface xxx.yyy failed | 24 Apr 2004 12:49 GMT | 1 |
We are trying to access a remote COM object in our asp.net application and are running into difficulties. We keep receiving the error: QueryInterface for interface "dll.className" failed. This error occurred when we deployed the application to our test servers. During our ...
|
| marshal array of structure into a com component | 24 Apr 2004 12:29 GMT | 1 |
two questions, 1. how to debug trace into the com componet developed using vc++ 6? I had the enable unmanaged debugging set to true in c# project 2. what's the correct way to pass an array of structure into a com method. below is what I have so far and it is not working
|
| Event Sink tutorial - Error Updating Props using EventReg | 24 Apr 2004 00:56 GMT | 1 |
Not sure where to post this Q I am trying to write a Managed Exchange Server Event Sink (as a class library) in C# I have been following this tutorial step-by-step http://www.codeproject.com/csharp/CsManagedEventSinksHooks.as
|
| Is is possible to "Emit" an object that will work via Interop? | 23 Apr 2004 18:24 GMT | 1 |
We're trying to sythetically emit an object on the fly and have it work via COM Interop (we using scripting in our product). We can generate the object just fine and it even kind of works, however I need the equivalent of these attributes on the object I "Emit" and I
|
| AxInterop Bug? | 23 Apr 2004 15:08 GMT | 1 |
I'm having a strange problem and can't find a solution anywhere. I have an ActiveX control that I added to the toolbox. I then added it to the form with no problems and ran the application. Everything looked good. I then
|
| Problem with Microsoft fax on XP with C# and tiff files | 23 Apr 2004 08:16 GMT | 8 |
I am trying to send a fax in C# using the XP fax com extended api. If I specify the body of my message as a multi page .tiff file, it get the following error: "System.Runtime.InteropServices.COMWException(0x80070483): Operation
|
| Calling 3rd party ActiveX control -> type mismatch problem | 22 Apr 2004 21:37 GMT | 2 |
I'm trying to call a third party HexEditor ActiveX control (http://www.softerra.com/products/hexeditor.php) from within C#. I can set all the necessary properties from C# but when I want to execute the SetData method I always run into problems.
|