| Thread | Last Post | Replies |
|
| Exposing .Net Class to Com, Dependancy Problem | 12 Mar 2007 13:47 GMT | 2 |
I am new to COM as well as to .Net COM interop. I want to expose a .Net class(lets say (lets say A::ClassA) of an assembly (A ) to COM with a method that returns an Object of another .Net class(B::ClassB). The problem is ClassB has been defined in another assembly (B) that the ...
|
| Creating Journal Record Hook gives error 1400 (Invalid Window Hand | 10 Mar 2007 16:35 GMT | 2 |
I am trying to create a journal record hook in C#. According to http://www.codeproject.com/tools/winmacro.asp I do not need a DLL for it. Creating a Journal Playback hook works (although I don't have anything to play back yet), and creating the Local Message Hook
|
| Call C/C++ library DLL from C# with CALLBACK and messages | 09 Mar 2007 15:39 GMT | 1 |
I have an old C++ GUI Application CPPAPP.exe that calls a C DLL library RULE.DLL through a C++ class wrapper LoadRule.CPP. Now I need to call the C DLL RULE.DLL from C# GUI application CSAPP.exe. I need help to convert LoadRule.CPP to a C++ BridgeDLL or a
|
| Using GetOutlineTextMetrics GDI API from C# | 07 Mar 2007 17:33 GMT | 2 |
I am working on a project that includes creating a PDF file by hand using a predefined font. The PDF reference requires certain font metrics be included. Using the FontFamily class, I have access to a few, but the majority of them aren't available. Therefore I'm attempting to ...
|
| Native DLL and callback in C++ | 07 Mar 2007 07:27 GMT | 2 |
I'm trying to figure out how some stuff can be done when calling functions in a native DLL from managed C++ and the called functions have callbacks. What I want is to be able to use an opaque type as a handle for the user of the DLL, in this case it's called Test and the
|
| VB2005 usercontrol in VB6 works fine, but I want to know something about controls here.... | 07 Mar 2007 04:33 GMT | 8 |
my VB6 code says : Dim ctlDynamic As Object Private Sub Form_Load() Set ctlDynamic = Controls.Add("stlOperators.stlOperator", "stlOp")
|
| Help me - ATL dll in vb.net | 06 Mar 2007 19:32 GMT | 1 |
I created ATL dll in vc++. One of the function has datatype as WCHAR*. I am rferring this dll in .net, .net automatically converts this to interop dll and the signature for the method WCHAR* is changed to ushort. I actually have a string in WCHAR* variable. since it is ushort in ...
|
| Marshalling complex types between a .NET CCW and VBScript | 06 Mar 2007 03:43 GMT | 1 |
We want to determine whether it's possible to develop a .NET COM- callable wrapper (CCW) which exposes complex types that are accessible to a VBScript client. We have found that VBS has no problem accessing 'simple' types like integer, String, Boolean. On the other hand, we
|
| Use of DLL in VB6 works fine, but I want to learn something and try to get the intellisense of the DLL | 05 Mar 2007 07:25 GMT | 4 |
In an earlier post I received a perfect solution to use a visible VbNet USERCONTROL in VB6 and get the intellisense. I'm rewriting the answer I got beneath my new question which is =>
|
| Equivalent of void* | 03 Mar 2007 08:20 GMT | 2 |
What is the equivalent of "void*" in managed C++ ? Thanks.
|
| P/Invoke OutOfMemoryException in .NET Compact Framework 2.0 | 02 Mar 2007 17:36 GMT | 1 |
I'm getting an OutOfMemoryException when calling a native method. The same program and library are working on the big .NET Framework 2.0 but not on the Windows CE 4.2 that I have. The exception is thrown at the level of P/Invoke because it's when I call
|
| Mashaling array of structures... not working I don't know why | 02 Mar 2007 14:37 GMT | 5 |
I'm having the following problem and I need some help from you: I've a dll writen in C that has one function that has a parameter that's an array of structures of type T_MyStruct. The structure T_MyStruct has just one field, being an array of 7 stuctures
|
| GetWindowTextLength hangs in .NET | 02 Mar 2007 03:22 GMT | 2 |
I have a application that reads another application's text box. I use GetWindowText and GetWindowTextLength to read the text into my C# application. From time to time the call to GetWindowTextLength 'stalls' and never returns. It is not that it does not return a value, but ...
|
| How to catch this error Access Violation | 01 Mar 2007 23:32 GMT | 17 |
I have a crash; I know that crash is in the following code 0012d300 12d75f49 OLEAUT32!VariantClear+0xb1 It is because the VariantClear tries to release a COM Object that is not long valid.
|
| Must the .NET DLL be installed in the GAC to be used by COM? | 01 Mar 2007 21:52 GMT | 5 |
The docs I've read aren't too clear about that. Seems to me they should work anyway. That's what registration is for. Also, I have successfully created a .NET DLL with a public class and public default constructor and registered it but nothing shows in the object
|