CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Won't register

  1. #1
    Join Date
    May 1999
    Location
    Fort Worth Texas
    Posts
    614

    Won't register

    I have built a composite control using ATL 6.0 I get the following error message duign registering

    Performing registration
    The system cannot execute the specified program.
    Server registration done!

    Composite.dll - 0 error(s), 0 warning(s)


    Under Project settings, Custome Build the follwoing was automatically placed as:

    "$(TargetPath)" /RegServer
    echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
    echo Server registration done!

    What is the problem?

    Thanks

    Jim Bassett


  2. #2
    Join Date
    Apr 1999
    Posts
    30

    Re: Won't register

    My atl based projects have these lines in the custom build step:

    echo regsvr32 exec. time > $(OutDir)\regsvr32.trg"
    regsvr32 /s /c "$(TargetPath)"

    You can debug the registration process by going to settings/debug and keying in regsvr32.exe as the program and "$(TargetPath)" (or simply key in the path to your dll) as the program argument. You should be able to break in DllRegisterServer, assuming regsvr32.exe can be found and launched.


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

Featured