| Thread | Last Post | Replies |
|
| Marshaling objects as pointer only! | 25 Feb 2010 12:09 GMT | 7 |
I have an unmanaged function: void Fun1(void * Delegate1, void * Param); which I call from managed code via PInvoke. The managed Delegate1 is then called from unmanaged code
|
| Marshaling data between managed VB.NET and unmanaged C dll | 23 Feb 2010 18:29 GMT | 1 |
I am trying to get data from a structure that is allocated by a C dll (TWAIN_32.dll) than returns a pointer in a structure that VB.NET allocates and passes to it. Her's the code. # ...previous code # twCapability = New twsCapability # With ...
|
| Memory Issues on P/Invoke | 19 Feb 2010 09:27 GMT | 3 |
Does anyone know if Marshal.GetDelegateForFunctionPointer have some memory issues? This is what's happening. I'm with some DLL's that are used with interoperability on a C# project and in a Java Project. The Java project
|
| Unbanlanced stack. | 18 Feb 2010 13:10 GMT | 3 |
I'm trying to convert the following unmanaged function from the csta32.dll with no success. Since I've been trying, I always get a PInvokeStackImbalance notification.
|
| Outlook 2007 automation with VS.NET 2005 | 12 Feb 2010 08:42 GMT | 12 |
I'm trying to iterate through the contents of a folder in a pst file using VS.NET 2005 + SP1 and Outlook 2007 running on 64-bit Vista Business. Virtually all the examples on Google and MSDN seem to be on how to write add-ins - I don't want to do that.
|
| Resouces for modifying a msi in C# | 09 Feb 2010 18:24 GMT | 1 |
I am working on a C# project to modify msi programmatically. I have no idea from where to start. Can somebody please point me to appropriate resources? thanks
|
| successfully registered dll not available in COM reference list | 09 Feb 2010 18:11 GMT | 2 |
when i run regsvr32, it looks like a registered my dll successfully. i get the message "DllRegisterServer in C:\...\<filename>.dll succeeded." when i check my registry, the keys for this dll is included. however, when i go to my project in visual studio 2008, the
|
| Marshalling dynamic byte array | 09 Feb 2010 15:10 GMT | 3 |
I'm creating a C++ dll and C# code that uses it. At the moment (and subject to change if there is better solution) functions in DLL have one input and one output structure. Output structure has pointer to dynamic byte array, like this:
|
| MS Project COM Exception | 06 Feb 2010 06:47 GMT | 2 |
I have some trouble with MS Project COM object. The following C# code segment has given me an "An unexpected error occurred with the method" exception during accessing timeScaleValue.Value after 10 looping in the foreach. However, there is not problem accessing other properties ...
|
| Problem Loading a DLL | 06 Feb 2010 00:58 GMT | 3 |
I'm having some issues now that I can't see what I'm doing wrong. I'm Pinvoking a non WindowsAPI-DLL (I mean, not a dll provided on windows). Pinvoking LoadLibrary, I can get a IntPtr to any WindowsAPI-DLL, but never I can get a pointer to my DLL.
|
| VSTO beginner | 06 Feb 2010 00:35 GMT | 1 |
I really did not know where to post this, but since VSTO works interop with office tools, thought I'd put it down here. I need a walkthrough or a tutorial for automating Word. Given the data I want to populate an application form in Word and
|
| Problem calling unmanaged dll from c# | 05 Feb 2010 13:31 GMT | 2 |
A have written a unmanaged C++ dl that I am attempting to call from a .NET 2.0 Winform app written in C#. The dll (HitVeinWin32.dll) is in the same directory as the web server dll. When I call execute call the HitVeinWin32API.Initialize function in the web
|
| Problem call unmanaged dll from C# | 05 Feb 2010 13:30 GMT | 1 |
I have written a unmanaged C++ dl that I am attempting to call from a C# app. The dll (HitVeinWin32.dll) is in the same directory as the C# apps exe. When I call execute call the HitVeinWin32API.Initialize function in the C# app, the function returns a zero and the hVeinHandle ...
|