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

    Problem porting my ActiveX Control to other PC's?????

    Hey All,

    I have this really neat ActiveX Control I wrote in VC++5.0 using the MFC ActiveX Control wizard. It interfaces great with a VB front end. I am
    relitivly new to MFC so be gentle, but I can't get the Contol to register on machines other than mine. I think that the problem is that the other machines do not have the right DLL's. My thought
    was to make the Contol staticlly link to MFC but when I did I got over a hundred errors having to do with COleControl, COleControlModule and COlePropertypage.

    What can be done?
    My Boss would really like it to Staticlly Link, can it be done?
    Will I have to write a setup program to install the right DLL's?
    If so can you point me to a good example?

    Help, and Thanks,
    Atticus


  2. #2
    Join Date
    Apr 1999
    Posts
    12

    Re: Problem porting my ActiveX Control to other PC's?????

    Were they LNK2001 "unresolved" errors, or were they "multiply defined" errors. in case 1 you need to add the correct libraries to the link, in the case of 2 you have to modify the link command line to ignore default libraries.

    Good Luck...RKM


  3. #3
    Guest

    Re: Problem porting my ActiveX Control to other PC's?????

    R.K.M.

    They were LNK2001 errors, is there an easy way to tell what libraries need to be included, and would I include them in the Project settings window on VC++??

    Thanks for the reply,
    Atticus


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