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

Thread: Win32 network

  1. #1
    Join Date
    Apr 2009
    Posts
    6

    Win32 network

    Good afternoon
    I developed in Win32 since 4 years but I use Code::Blocks IDE currently I want to migrate in Visual C++,I bought visual Studio 2008.But I have a problem to link .lib files.Exemple link comctl32.lib I force it with "#pragma comment(lib,"comctl32.lib") " and I have link error as " unknow 'CommonControlsEx@32' as I know you have this kind of error when you don't link comctl32.lib.I don't know how can I link it manually.
    Thank you.

  2. #2
    Join Date
    Jul 2005
    Posts
    185

    Re: Win32 network

    If I'm not mistaken 'CommonControlsEx' isn't part of the Windows API and if it is then why can't I found it when I google;
    "msdn CommonControlsEx"

    .. I think you're linking the wrong library.
    A more concrete example, with some code, would surely resolve this tiny issue...

  3. #3
    Join Date
    Dec 2008
    Posts
    114

    Re: Win32 network

    Quote Originally Posted by mikoil View Post
    If I'm not mistaken 'CommonControlsEx' isn't part of the Windows API
    It's of course Init...

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