| Thread | Last Post | Replies |
|
| Marshalling "packed" struct | 23 Apr 2006 16:38 GMT | 2 |
What is the best approach to marshal structure declared like: typedef struct tag_SCRIPT_CONTROL { DWORD uDefaultLanguage :16; DWORD fContextDigits :1;
|
| How to determine if the windows screensaver option "on resume, display windows Welcome screen" is checked | 23 Apr 2006 04:43 GMT | 2 |
using vb.net (2005) how can I determine if the windows screensaver option for "on resume, display windows Welcome screen" is checked? Thanks in advance, Rob
|
| Can GetActiveObject find multiple running objects? | 21 Apr 2006 20:44 GMT | 1 |
I can use Marshal.GetActiveObject to attach to a running instance of some application. I can then use Type.InvokeMember to control it. My question is how to attach to a SPECFIC running instance of some application when there may be two instances running.
|
| COM InterOp - InterOp assembly marking a char **buffer as System.IntPtr instead of out System.IntPtr | 21 Apr 2006 17:21 GMT | 3 |
I have the following problem if referencing a COM assembly from a C# program. The method GetImageFrame declared as HRESULT GetImageFrame([in] long capDeviceIndex, [out] ULONG *pSize,
|
| E_FAIL | 21 Apr 2006 15:19 GMT | 2 |
I am trying to use AccessibleObjectFromWindow() and it keeps returning E_FAIL. This seems to be an ambiguous error message and i feel like i have tried everything. I used Spy++ to verify that i am giving it the correct handle and several sources have told me that I do have the
|
| Help with Marshaling an Array of Pointers from COM to Managed Objects | 20 Apr 2006 23:42 GMT | 5 |
Ok so I've been beating my brains out over this for two days now pouring through the SDK, MSDN Documentation, and the Internet at large. I'm not new to programming or .NET, but definately new to Interop and shell programming, and am getting tripped up by all the marshaling, ...
|
| GetWindowPlacement problem. RECT members are all zeroes | 20 Apr 2006 20:30 GMT | 2 |
Ive been wrapping GetWindowPlacement function of the Win32 API. The function call succeeds and returns != 0 and the showCmd member looks correct. The problem is that all coordinates in the RECT (rcNormalPosition) are 0
|
| fix lenght char c parameter | 20 Apr 2006 16:42 GMT | 2 |
I’m trying to get a fix length string from an unmanaged C dll. This is an example of the method I must invoke: typedef bool __stdcall (*Add3_t)(char *, char *, char *); Add3_t Add3 = (Add3_t) GetProcAddress(hInstance, "Add3");
|
| Assembly registration - interface missing | 20 Apr 2006 15:51 GMT | 1 |
I register an assembly with regasm useally like regasm L:/Common/BIN/ComWrapper.dll /tlb:L:/Common/BIN/ComWrapper.tlb /codebase This works excellent most time, but on a few machines there's
|
| using /namespace with tlbimp.exe | 20 Apr 2006 09:06 GMT | 2 |
I want some information regarding /namespace switch. Is this the name of Namespace of the source code where our COM dll is referenced for which we will generate Interop.dll or is this some variable string or what? Thanks in advance.
|
| calling COM objects | 20 Apr 2006 08:54 GMT | 2 |
I am c# newbie coming from c++ background. I need to call a COM object(which was written in VC++) from my c# program. The c++ application(Let's call it abc) has an .ODL file that defines the COM interface. It generates a tlb(abc.tlb) file. The application's
|
| Accessing core .NET Framework classes from COM | 20 Apr 2006 04:11 GMT | 1 |
Can any of the classes that are part of the .NET Framework be accessed directly from COM? I.e. are they ComVisible? Or do I need to develop a custom .NET wrapper which is ComVisible and use that as the middleware between my COM client and the .NET Framework class?
|
| uninstalling 3rd party application | 19 Apr 2006 07:55 GMT | 1 |
I would like my C# program to uninstall our old installation. Is it possible from C# to do the same think that user does, i.e get the list of installed applications (similar to Add/Remove programs), select an application, and command it to uninstall?
|
| Invoking C# object from C++ DLL | 17 Apr 2006 20:07 GMT | 6 |
I wish to provide a C++ DLL interface for non-framework clients to access a C# DLL - is this possible? I have had some limited success by using a pimpl idiom to cross from unmanaged to managed - but anything more than a simple message output yields an exception. I cannot debug ...
|
| Access the "global" focused control from C# app-. | 16 Apr 2006 23:54 GMT | 2 |
Im trying to develop a C# application which interacts with a Fingerprint scanner. The appliaction is going to run in the background (and as trayicon). When my applicatons catches an event from the finger scanner i want to paste
|