Results 1 to 4 of 4

Thread: compiler problems - VS6

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    10

    compiler problems - VS6

    i get this error, i have just reinstalled vs6, before it worked!!!!

    Compiling resources...
    Compiling...
    nb.cpp
    Linking...
    nb.obj : error LNK2001: unresolved external symbol __imp__InitCommonControls@0
    Debug/iuiuyiuy.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

    iuiuyiuy.exe - 2 error(s), 0 warning(s)


    visual studio 6 running on windows xp

    thanks for any help as its getting extremly infuryating, i have played with option's and looked around google !

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You need to list commctrl.lib in the import library section.

    Or maybe it has some other name, comctl32.lib or something like that.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    10
    well i suppose my dumbness might help others

    if you get this error make sure the libary comctl32.lib is included as InitCommonControls(); needs it

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    10
    lol thanks CornedBee u must have been typing at the same time as me

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