Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# DLL consumed by Delphi
Message
From
13/08/2008 11:02:16
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
General information
Forum:
ASP.NET
Category:
Deployments
Miscellaneous
Thread ID:
01338445
Message ID:
01338558
Views:
14
>>To All:
>>
>>I have a wrapper class DLL that I wrote in C#, It wraps another DLL and communicates with a Delphi 6 EXE. All is well on my development box but when we deploy this to an app server I get a message that 'Class is not registered'. I suspect that the C# DLL could be the culprit, mainly because I'm not sure if I need to register it in any way or where on the app server I need to put it. Therefore, I wouldn't be surprised that the Delphi EXE cannot find it. Currently I have tried putting it in the same folder as the Delphi EXE but no luck.
>
>If you're using COM interop, you need to register the .NET DLL using REGASM:
>
>
>REGASM NameOfAssembly.DLL /codebase
>
Thanks Paul, that worked. It didn't like the '/codebase' part of the command, though, because it said I needed a signed assembly. The Delphi program was able to see and use the DLL regardless.

What are the advantages to signing the assembly? Should this be standard for the installation procedure?

Thanks again!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform