InitCommonControls Link Error

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

Hello All,
I have a VC project I created a few years back (Visual Studio 97). I'm now
trying to recompile it under .NET 2003. I'm getting a linker error...

LNK2019: unresolved external symbol __imp__InitCommoncontrolsEx@4 referenced
in function _WinMainN@16

Does anyone know what I need to do to fix this? I can't find a library with
this function in it.

Thanks

Cheers :)
 
InitCommonControlsEx is located in comctl32.dll, so you'd need to link
to comctl32.lib.

However, your error says InitCommoncontrolsEx, which is a difference in
capitalization. That could be a problem as well.

Thobias Jones
 
InitCommonControlsEx is located in comctl32.dll, so you'd need to link
to comctl32.lib.

However, your error says InitCommoncontrolsEx, which is a difference in
capitalization. That could be a problem as well.

Thobias Jones
 
Got it...that works...thanks so much!


Thobias Jones said:
InitCommonControlsEx is located in comctl32.dll, so you'd need to link
to comctl32.lib.

However, your error says InitCommoncontrolsEx, which is a difference in
capitalization. That could be a problem as well.

Thobias Jones
 
Back
Top