can we use .net dlls in win32 applications
-
Dear all, I have developed a .NET dll. I wants to use this dll in Win32(Delphi) applications. Is it possible to do the same. The data type of arguments passed to the functions in the dll & returned from it are compatible. The return type is a byte array & the arguments passed are string. But, when i used this dll in a Win32 application(developed using Delphi), EAccessViolation exception occurs. Can anyone suggest me how to use the .net dll in win32 applications? Thanks & regards, Abhilash
-
Dear all, I have developed a .NET dll. I wants to use this dll in Win32(Delphi) applications. Is it possible to do the same. The data type of arguments passed to the functions in the dll & returned from it are compatible. The return type is a byte array & the arguments passed are string. But, when i used this dll in a Win32 application(developed using Delphi), EAccessViolation exception occurs. Can anyone suggest me how to use the .net dll in win32 applications? Thanks & regards, Abhilash
I'm afraid that's not possible, unless you can host the CLR inside your application. Be warned that it's not for the faint hearted. This[^] link describes how you can do that. Regards Senthil _____________________________ My Blog | My Articles | WinMacro
-
I'm afraid that's not possible, unless you can host the CLR inside your application. Be warned that it's not for the faint hearted. This[^] link describes how you can do that. Regards Senthil _____________________________ My Blog | My Articles | WinMacro
S. Senthil Kumar wrote:
I'm afraid that's not possible, unless you can host the CLR inside your application. Be warned that it's not for the faint hearted. This[^] link describes how you can do that.
Why not just use CCW? Regards, Nish
My blog : Nish’s thoughts on MFC, C++/CLI and .NET
-
S. Senthil Kumar wrote:
I'm afraid that's not possible, unless you can host the CLR inside your application. Be warned that it's not for the faint hearted. This[^] link describes how you can do that.
Why not just use CCW? Regards, Nish
My blog : Nish’s thoughts on MFC, C++/CLI and .NET
You're right, CCW is the way to go. "Win32 Applications" put me off track, I mistakenly inferred he didn't want to use COM. Regards Senthil _____________________________ My Blog | My Articles | WinMacro