Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. IAdams

    C# DLLs reading Config file

    Thanks for your quick response. Do you mean I should make the dll's config file a member of the EXE Assembly? Or that I should move the settings from the dll's config to the EXE's config?
  2. IAdams

    C# DLLs reading Config file

    To All: I have written a DLL using C# that has a config file called <DLLName>.dll.config. The trouble is, the DLL's config file never seems to be read unless I open the code, go to the tab that defines the config, change the value and rebuild. It seems it only exists in code? I also have an...
  3. IAdams

    Class Not Registered error

    I have a Delphi version 6 executable. It calls a C# DLL that I used to wrap another DLL called Vipvco that talks to a large database on an iSeries. Everything runs fine on my development box but I get the above error when I call the C# DLL from inside the Delphi EXE after I load it on another...
  4. IAdams

    Passing string as const string

    I have a C# dll that is called from Delphi (version 6). The parameters for the C# method are <string,string,string,...> but for some reason Delphi is insisting on <const: widestring,const: widestring,const: widestring,...> as the passed-in parms. However, I need to reassign these fields in a...
  5. IAdams

    The System cannot find the file specified

    I finally got this to work with a TLB file consumed by Delphi. I'm not sure what caused the initial 'file not found' error, but I added some more functionality to the .NET dll and it started working. I had to put GUID information on every Class and Interface within the .NET dll to make them...
  6. IAdams

    Use C# dll in Delphi

    I accidentally posted it here; I also posted it in the Delphi thread, thanks.
  7. IAdams

    The System cannot find the file specified

    Thanks for your quick response. Yes, I registered it with the command line VS function gacutil.exe which, as I understand, does the job of registration and also puts it in the GAC, right? Then I run a utility calle tlbexp which builds the TLB file. All is well and Delphi can see the classes...
  8. IAdams

    The System cannot find the file specified

    To All, I am using Delphi 6 and trying to consume a COM object created by VS 2005 C#. I can successfuly create the DLL in VS, export it to a TLB file and import the TLB into Delphi. But when I try to instantiate a new class from the COM using Co(Classname).Create, I get the above error. I have...
  9. IAdams

    C# dll consumed by Delphi 6

    Thanks for the feedback. The C# dll is something I wrote so I have complete control. I'll look carefully at all the options and compile settings. It just seems to only expose certain things (classes but not methods, properties) and I am not sure why.
  10. IAdams

    C# dll consumed by Delphi 6

    How do I consume a C# dll using Delphi 6? I have tried creating and using a TLB file that is created by Delphi as a _TLB, but it is a little buggy when I compile it and it only sees the classes and not the methods or properties in the C# dll. Is there another way to consume the dll directly...
  11. IAdams

    Use C# dll in Delphi

    I am trying to use a C# dll inside Delphi and have some questions. I generated a TLB file with Delphi and I can see some of the Classes but not any methods or properties. Is there a way to use an external dll w/o generating a TLB? I am using Delphi version 6. Thanks!

Part and Inventory Search

Back
Top