all groups > dotnet interop > june 2008
Cannot convert from 'out int[]' to 'int*'
Posted by Cartoper at 6/20/2008 12:33:29 PM
I have an old unmanaged C function that needs to take an array of
long:
long oldCFunction(long * array, int arraySize);
There is a C++ CLI layer between the C# and the oldCFunction. How do
I prototype the C++ CLI code to take an an int[] and pass it into this
oldCFunction()?... more >>
Unsafe structure declaration
Posted by 2dipikke at 6/13/2008 5:32:02 AM
Hi,
does anybody know how to declare the following c struct in unsafe c#:
typedef struct {
int csp; /* [in] colorspace; or with XVID_CSP_VFLIP to perform vertical flip
*/
void * plane[4]; /* [in] image plane ptrs */
int stride[4]; /* [in] image stride; "bytes per row"*/
} xvid_... more >>
deadlock when using waitOne in a STA thread
Posted by Daniel Cuculescu at 6/10/2008 11:31:45 AM
Hi,
I have the problem described bellow with the calls to WaitHandle.WaitOne
causing re-entrancy on main GUI thread (STA) of a .NET application and I
would like to find out:
- did anybody else run into the same problem?
- is it a known issue? is there a fix for it?
- is there a work... more >>
How can I exclude a .tlb file from a VS setup project?
Posted by ssg31415926 at 6/7/2008 12:33:07 AM
Is there any way to prevent a VS2005 setup project from including
a .tlb file? It installs a copy of domobj.tlb (which is already on
the machine). Then, when i uninstall the project it removes
unregisters domobj.tlb and breaks other things. I don't need the
setup project to install the .tlb a... more >>
calling a WCF callback from COM exe
Posted by AJ at 6/3/2008 11:24:28 PM
Hi everyone
I made my WCF service dll exposed to COM.
I call a function in WCF from an COM exe, in that function I get the
callback chanel to call a WCF callback function but I get an exception.
COM exe and WCF dll and host are all in one machine but the client is in
another machine with... more >>
|