| Thread | Last Post | Replies |
|
| Problem marshalling memory allocated in C++ DLL | 09 Jan 2007 21:40 GMT | 3 |
I'm trying to marshal memory allocated in C++ DLL to a C# component. The code I'm using is as follows: void Initialise( HGLOBAL* phBuffer, DWORD* pdwLength ) {
|
| Look for loaded DLL | 09 Jan 2007 21:38 GMT | 1 |
My C# control calls a function in an unmanaged DLL. I only want to call the function if the DLL has already been loaded. The DLL has a function used to initialize it and I do not have the data required for its parameters.
|
| manifest vs com dll-linking | 08 Jan 2007 21:21 GMT | 1 |
I have this case: App1: app1.exe complugin_ver1.dll
|
| Can't merge two cells in Excel (c#) | 05 Jan 2007 21:51 GMT | 4 |
I've a big problem! Reading newsgroup or article give me a solution that does not work. I just need to merge two cells in Excel. As it didn't work, I create just a little program that do the following:
|
| Reflecting for method param names and values? | 05 Jan 2007 21:39 GMT | 2 |
I have used the GetCurrentMethod and GetParameters via the System.Reflection namespace. With this I am able to identify all of the parameter names of the current method. What I would like to do is get the current values of those parameters using those dynamically
|
| Invalid callback object instance | 05 Jan 2007 20:40 GMT | 3 |
I have a COM library written in C++. For asynchronous operations I use a callback interface to notify the application of completions. Here's the interface definition: interface ICallback : IUnknown
|
| Why do I need regasm /codebase in this scenario? | 05 Jan 2007 20:30 GMT | 5 |
I have a .NET dll, it's in the c:\myfiles\bin directory. I went into a Visual Studio 2005 Command Prompt changed directory to the c:\myfiles\bin directory and ran a regasm /tlb MyDotNet.dll, so I inside my c:\myfiles\bin directory I have MyDotNet.dll and
|
| How to pass C# string to Embeded C++ String? | 05 Jan 2007 13:10 GMT | 1 |
I'm having a little trouble passing a C# string to a Embedded C++ 4.0 CE dll. The regular 'string' from C# would not work. I have also tried Marshaling, but no luck. Sometimes the Embedded C++ code throw an exception like
|
| Visual component written in unmanaged C++ | 05 Jan 2007 08:45 GMT | 3 |
I need to write a visual component to be used in a C# windows application. The component must be written in unmanaged C++. What is the easiest way to do that? Thanks.
|
| Get data from pointer to a buffer | 03 Jan 2007 12:14 GMT | 1 |
I'ma having some problems here getting into Interop. I have a dll which has method gettextItem(char*data,int* datalen), In C I can have a malloc with doing this: gettextItem(null,datalen) data=(unsigned char*)malloc(size)
|
| Finding the executable path of a running process | 03 Jan 2007 06:37 GMT | 2 |
Can anyone shed any light on how i can get the path of a task/process that is running if i have a handle to its top-level window? Please! I don't know where to start... HYCH,
|