marcello62
Technical User
Hello,
I have written a very simple dll in Delphi, it only contains one procedure which generates a message. I have done this for test-purposes, because I want to call the .dll from C#. I registered the .dll with regsvr32, and I try to set a reference to it in C#. However, I get the error message: 'a reference to Testdllproject.dll could not be added. Please make sure that the file is accessible, and that it's a valid assembly or .COM component.' However, I can use the DLL without any problem from another Delphi application and I have registered it without any problems. So why can't I set a reference?
Any help will be greatly appreciated.
Thanks.
I have written a very simple dll in Delphi, it only contains one procedure which generates a message. I have done this for test-purposes, because I want to call the .dll from C#. I registered the .dll with regsvr32, and I try to set a reference to it in C#. However, I get the error message: 'a reference to Testdllproject.dll could not be added. Please make sure that the file is accessible, and that it's a valid assembly or .COM component.' However, I can use the DLL without any problem from another Delphi application and I have registered it without any problems. So why can't I set a reference?
Any help will be greatly appreciated.
Thanks.