| Thread | Last Post | Replies |
|
| Catch unmanaged C++ exception in managed code | 10 Nov 2005 18:53 GMT | 1 |
I got following scenario here: Unmanaged static lib (c++) which throws exceptions (e.g. throw new MyExceptionClass(...)) Managed C++ dll which uses that lib
|
| Difficulties in using .Net dll in VB6 due to Int64 type in function parameters | 10 Nov 2005 15:24 GMT | 5 |
I have gone through necessary step and have been able to use a .Net libraries (created using C#) in VB6. It run good untill I try to use certain function in the library that is using Int64 type as parameter. VB6 give the following error
|
| Implementing class 'xxx' for interface <yyy> cannot be found | 10 Nov 2005 11:10 GMT | 1 |
Hi - I'm trying to call our existing COM software components from a new .NET 2005 project I am writing. The COM stuff in question is a DLL written in VB6. Adding this as a COM reference in the IDE project Properties dialog produces an interop DLL as expected, but as my .NET ...
|
| Issue with WriteEncryptedFileRaw API | 09 Nov 2005 09:36 GMT | 1 |
I am writing a code to restore encrypted files using c#.NET All my functions are successful.But in the target the file shows size 0KB. i.e.,even if ReadFile API reads all the bytes,they are not written using the call back function.Can someone please suggest me what am I doing ...
|
| pointer to a c++struct kept by c# code | 08 Nov 2005 20:26 GMT | 3 |
i would like to know how a c# class can keep a reference (pointer) to a structure allocated by unmanaged c++ code. ******************************************************
|
| Detect if excel document has been modified | 08 Nov 2005 19:28 GMT | 1 |
I would like to know how I can detect if an excel document needs to be saved or not using the primary interop assemblies for excel XP. There must be some kind of flag telling me this! Thanks for your answer
|
| How to dispose C# object created via VB6 COM component interop? | 08 Nov 2005 15:46 GMT | 6 |
I am having problems getting a C# component to release itself fro memeory when calling it from a VB6 COM component via an interop. Thi is what I am doing: VB6 COD
|
| Do I need My COM's to have same CID when Deployed | 08 Nov 2005 14:51 GMT | 3 |
This might be a stupid question but it is not covered in any materials I have been reviewing. Basically, I am consuming a COM component using interop in my .ASP.Net application. When I move code over to production and run the project, I get
|
| Trying to create a dll accessible from SQL Server (sp_OACreate), here is my code.. | 07 Nov 2005 14:45 GMT | 1 |
I am trying to create a class library accessible to in SQL server as a COM. I am using the Wininet.dll and can get it to build successfully. I then run tlbexp and create the type library and when I attempt to register the dll with regasm.exe I get the following error:
|
| app.config with .Net written COM | 07 Nov 2005 08:49 GMT | 2 |
I wrote a COM (ABC.dll) using VS.Net 2005 since it is not an application; I don't know how it can access app.config (ABC.dll.config) I tried ConfigurationManager.AppSettings but it didn't work
|
| How to create an out of proc server using C#? | 06 Nov 2005 00:16 GMT | 3 |
I would like to create a singleton out of proc server using C# to be called by a legacy COM client. I don't want to use NT service. Has anybody done this. All the example I've seen are all either InProc or NT service.
|
| unresolved externals porting managed wrapper from 1.1 to 2.0 | 05 Nov 2005 15:43 GMT | 3 |
I am just trying to port my Application from .NET 1.1 to 2.0. Native C++ Code works fine. Native C# Code also works fine (just some deprecations). The problems start when trying to port my managed C++ Wrappers.
|
| COM Interface's GUID property in .NET | 04 Nov 2005 16:55 GMT | 2 |
I have a COM interface definition which has a property set like this: [propget, helpstring("property Prop")] HRESULT Prop([out, retval] GuidType *pVal); [propput, helpstring("property Prop")] HRESULT Prop([in] GuidType
|
| Object pointer to IntPtr. | 04 Nov 2005 16:39 GMT | 1 |
How do I get an IntPtr to a specified object, or rather, how do I convert an Object to an IntPtr? Thanks in advance, Per Rasmussen.
|
| Transfer protected media file license to device | 04 Nov 2005 02:59 GMT | 3 |
We are trying to transfer a protected file (with DRM) to a portable device using Windows Media Device Manager SDK (WMDMsdk) . We have no problem running this as an ATL application. But since our application is written in C#, we're trying to write a DLL in c++ that will enable ...
|