Board index » delphi » Unable to create COM object from dll. HELP
Gilles Koffmann
![]() Delphi Developer |
Mon, 18 Feb 2002 03:00:00 GMT
|
Gilles Koffmann
![]() Delphi Developer |
Mon, 18 Feb 2002 03:00:00 GMT
Unable to create COM object from dll. HELP
Hello,
I use the XMLDOM objects from Microsoft that I use importing the type When I use those objects from a standard Delphi (3 or 4) .exe everything When I use it from a standard or activeX DLL (Delphi 3 or 4), it does'nt Please, this is driving me crazy. Gilles |
Cliff Este
![]() Delphi Developer |
Tue, 19 Feb 2002 03:00:00 GMT
Re:Unable to create COM object from dll. HELPGiles: I sympathize with your frustration. I have had the same situation numerous 1) Be sure the classes in the Dll are registered. To do this, use the 2) In the D4 Dll project, use project|import type library to re-import the 3) Close the resulting xxx_TLB.pas file. This is an annoying feature of D4 4) Do a project|build on the project which uses the functions in the Dll. This should do it. If not, it's quite possible that you are using functions I can't really say why you get the error most, but not all, the time, except I work with 4 Dlls compiled in VB and used in my D4 project (which is QuoteGilles Koffmann wrote in message <7qm2re$f...@forums.borland.com>... |
Gilles Koffman
![]() Delphi Developer |
Fri, 08 Mar 2002 03:00:00 GMT
Re:Unable to create COM object from dll. HELPHi cliff, thanks for the answer and sorry for not getting back to you but I was out I remember using this tool comsvr32.exe 2 years ago when I was working with Thanks Gilles Cliff Estes <cliff.es...@sgsi.com> a crit dans le message : Quote> Giles: |
1. Help Needed Urgently - How to pass Com Object to Delphi COM DLL
2. COM objects creating other COM objects
3. Creating a COM object to hold COM objects
4. Creating COM objects from COM objects, in threads
5. Creating COM Objects inside DLLs
6. create COM object in a dll?
7. Call DLL with com object parameter, so as to execute com method
8. HELP - Error creating COM object