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

    Can AxtiveX controls be compiled staticly

    I keep getting LNK2001 errors on COleControl class functions when I try to complile my ActiveX control Staticly. What can be done?

    Thanks,
    Jay


  2. #2
    Guest

    Re: Can AxtiveX controls be compiled staticly

    Please expand on "complile my ActiveX control Staticly". Does this mean that
    you are compiling to a static library? Or that the compile option for using
    MFC statically is turned on?
    Since you are getting linker errors, I suspect that the compile option for MFC
    use is incorrect. I may be wrong but for ActiveX controls, I believe the use
    of MFC is to link dynamically.



  3. #3
    Guest

    Re: Can AxtiveX controls be compiled staticly

    I have my Project settings to use MFC in a static library. I recieved something like 116 LNK2001 errors. All with COleControl, ColeControlMethod, or ColePropertyPage classes.

    Thanks,
    Jay


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