| Thread | Last Post | Replies |
|
| Callbacks of unmanaged code-urgent | 15 Nov 2003 21:40 GMT | 1 |
I've to invoke a unmanaged dll fucntion in C# which uses a callback fucntion.My problem is that the function is executing finely but I'm not getting correct output Error: The return code is 0 which means the fucntion has
|
| Help With Parameter Passing | 15 Nov 2003 19:16 GMT | 2 |
I am looking for some help. I have a 3rd party DLL that I am trying to use from within VS .NET 2003. I have written C++ code inside VS .NET 2003 to access the DLL. I am now trying to transfer data from C++ to C#. Here is some code that represents the problem.
|
| Windows Service COM Interop | 14 Nov 2003 17:03 GMT | 1 |
I'm looking for information on how to take an existing C++ COM Windows Service ( an EXE ) and Wrap it so I can access it via ASP.NET C# and .NET remoting. Can't seem to locate any Doc on how to do this. I want
|
| Object reference not set to an instance of an object. | 14 Nov 2003 16:12 GMT | 1 |
this one is a little bit tricky... We have a web project in ASP.NET which uses the functionality of a COM object, which we store in Session scope between multiple http requests. We tested this scenario on several OS and PCs - and we found out that in
|
| MSMAPI error | 14 Nov 2003 10:58 GMT | 6 |
I've created a small vb.net app that uses MAPI to send email. It works fine on my development computer. I created an InstallShield setup, which includes MSMAPI and Interop.MSMAPI.dll.
|
| SCARDListReaders | 14 Nov 2003 01:13 GMT | 2 |
In the following smartcard api function i have to marshal Lpctstr and Lptstr. SCardListReaders((handle) hContext,LPCTSTR mszGroups,LPTSTR mszReaders,LPDWORD pcchReaders)
|
| Automating Excel | 14 Nov 2003 00:33 GMT | 2 |
Just created an Excel.dll with: TlbImp Excel9.olb Excel.dll Then created the using directives: using System; using System.Reflection; // For Missing.Value and BindingFlags
|
| How to return an array of objects to vbscript? | 13 Nov 2003 21:35 GMT | 6 |
[Please do not mail me a copy of your followup] I'm trying to expose a COM interface to VBScript. We want to return an array of objects from a method. At first we ended up with IDL that said we were returning an array of custom structures. Since VBScript
|
| Text is not properly appearing | 13 Nov 2003 21:23 GMT | 2 |
In reference to setdlgitemText and messagebox APIs. I am using vb.net to change the name of a button in a custom messagebox. The best I can come up with is that the button is displaying empty or nothing strings because I am getting extended ascii characters as the
|
| Reference Parameters In Dynamically-Generated PInvoke Methods Take 2 | 13 Nov 2003 20:04 GMT | 1 |
In a previous thread of mine ("Problem with System.Reflection.Emit-ed PInvoke method's arguments") I received help from Mattias Sjögren (thanks again BTW) in getting my reference parameters, in dynamically generated assemblies with PInvoke methods, marshaled correctly. I've now
|
| How to use a licensed .NET class in a VB6 app? | 13 Nov 2003 16:41 GMT | 7 |
I have a .NET class which we need to license by including a licenses.licx file in any VB.NET / C# project which accesses it. This works great. Does anybody know how we can access this .NET class from VB6? I have
|
| WM_PASTE and textbox control | 13 Nov 2003 14:48 GMT | 3 |
Trying to not allow anything being pasted in textbox control in vb.net. The following doesn't seem to be working Private Const WM_COPY = &H301 Private Const WM_PASTE = &H302
|
| call .net class from vbscript | 13 Nov 2003 01:09 GMT | 1 |
I know a .net class can be registered for COM, but can a VB-script use CreateObject or GetObject and use a non-registered file location to get the object? Basically, can you call .net from COM directly from the assembly file,
|
| ShellExecuteEx not showing app window | 13 Nov 2003 00:09 GMT | 8 |
I am using ShellExecuteEx with "Runas" verb with declarations appended. ShellExecuteEx succeeds, but when used with lpVerb = "runas", the Run as dialog appears, but application (notepad.exe) does not display, but shows in the TaskManager (W2k).
|
| COM Interop Performance | 12 Nov 2003 23:31 GMT | 1 |
How does COM Interop perform when up against the likes of Delphi? It seems that calling the same COM object n times in Delphi code out-performs the equivalent in C#.
|