Results 1 to 6 of 6

Thread: dll problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    2

    dll problem

    I am having an installation problem that I cannot reolve. I created a dll using VB6. The dll is accessed by an application (created in VB6) and a service (created in VB 6 using NT toolkit by Desaware). I built an installation disk using InstallShield X. On the target machine, the application works properly but the service generates an error 429 (ActiveX component can't create object) whenever it attempts to access a class w/i the dll. If I register and run the service on my development machine, it works properly. Both the target and development machines are running XP SP2.

    I have check and re-checked registration and dependcy files relating to the dll. They all look correct and besides I don't see how the application would work if they had a problem. I have also checked the dll's permissions. The file creates with SYSTEM permissiions set to full control. I even created a SERVICE permission and set it to full control without solving the problem.

    I don't know if I'm missing something real simple but any help on this would be greatly appreciated.

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: dll problem

    Is there anything unusual about your DLL regarding threading? Is it set for "Unattended Execution" in the Project properties?

    The Desaware Toolkit is quite nice, but it plays a lot of little games that might not be obvious. Most of them relate to threading and COM activation, but pretty much any Service has those issues.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    2

    Re: dll problem

    Nothing unusual about the threading; apartment threaded, unattended execution not set. Again what's strange is that the service will access the dll if I register and run it on my development machine.

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: dll problem

    Well what I was getting at is that generally you should set Unattended Execution for any code used in a Service. I won't say it'll make a difference here but it is cheap to try.

  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: dll problem

    If you have that error you haven't registered the dll in your installation...

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: dll problem

    Duplicate Threads Merged

Posting Permissions

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



Click Here to Expand Forum to Full Width