COM EXE is OK but DLL bombs.

Results 1 to 2 of 2

Thread: COM EXE is OK but DLL bombs.

  1. #1
    Join Date
    Dec 1969

    Default COM EXE is OK but DLL bombs.

    When we compile our component as an exe, the ASP page can see it and creates it properly. <BR>As a DLL, it doesn&#039;t even initialize the class. <BR>We get an error about not being able to create the activex component. <BR>

  2. #2
    Karin van Ettinger Guest

    Default RE: COM EXE is OK but DLL bombs.

    don&#039;t know what you did, but try this<BR><BR>registering your component first<BR>if you use MTS register the DLL via MTS (put it in a package and MTS will register it for you.<BR>if you don&#039;t use MTS register the DLL using regsvr32<BR><BR>in the asp<BR>dim obj<BR>set obj = Server.CreateObject("ProgID")<BR>&#039; ProgID - mark CapsLock it&#039;s CAPS sensitive<BR>&#039; ProgID = DLL-name.Class-name (you can find the ProgId in the register!)<BR>&#039; now you must be able to call all the methods and properties<BR> <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts