Click here to Skip to main content
15,887,214 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Need help figuring out error message Pin
Luc Pattyn16-Sep-07 9:48
sitebuilderLuc Pattyn16-Sep-07 9:48 
GeneralRe: Need help figuring out error message Pin
jada092316-Sep-07 10:09
jada092316-Sep-07 10:09 
GeneralRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 10:29
protectorChristian Graus16-Sep-07 10:29 
AnswerRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 10:07
protectorChristian Graus16-Sep-07 10:07 
AnswerRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 10:08
protectorChristian Graus16-Sep-07 10:08 
GeneralRe: Need help figuring out error message Pin
jada092316-Sep-07 10:30
jada092316-Sep-07 10:30 
GeneralRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 12:24
protectorChristian Graus16-Sep-07 12:24 
Questionhelp.....undefined reference to `InitCommonControlsEx@4' ERROR help??? Pin
$w0rdf1$h16-Sep-07 0:56
$w0rdf1$h16-Sep-07 0:56 
hi all... i am using ICC_BAR_CLASSES to initialize controls to create toolbar....
but i am getting one error

[linker error] undefined reference to `InitCommonControlsEx@4'

code creating problem is...

//-----------------------------------
INITCOMMONCONTROLSEX InitCtrlEx;

InitCtrlEx.dwSize = sizeof(INITCOMMONCONTROLSEX);
InitCtrlEx.dwICC = ICC_BAR_CLASSES;

InitCommonControlsEx(&InitCtrlEx);
//-----------------------------------

As structure INITCOMMONCONTROLSEX and function InitCommonControlsEx(..) are defined in commctrl.h i included this in my program.....earlier INITCOMMONCONTROLSEX this was also giving same error then i opened the header file commctrl.h and there i found these lines

//--------------------------------------
#if (_WIN32_IE >= 0x0300)
typedef struct tagINITCOMMONCONTROLSEX {
DWORD dwSize;
DWORD dwICC;
} INITCOMMONCONTROLSEX,*LPINITCOMMONCONTROLSEX;
#endif

//--------------------------------------

#if (_WIN32_IE >= 0x0300)
BOOL WINAPI InitCommonControlsEx(LPINITCOMMONCONTROLSEX);
#endif


//--------------------------------------




so in my program before header file in included

#ifdef _WIN32_IE
#undef
#endif
#define _WIN32_IE 0x501

and also

#ifdef _WIN32_WINNT
#undef
#endif
#define _WIN32_WINNT 0x501

now INITCOMMONCONTROLSEX is working fine... but i am getting error with InitCommonControlsEx(...)

error is
[linker error] undefined reference to `InitCommonControlsEx@4'

i am using Dev-C++ 4.9.9.2 compiler
can someone suggest me something...

thanx in advance....

bye have a nice day.....

AnswerRe: help.....undefined reference to `InitCommonControlsEx@4' ERROR help??? Pin
$w0rdf1$h16-Sep-07 1:54
$w0rdf1$h16-Sep-07 1:54 
Questionundefined reference to `InitCommonControlsEx@4' ERROR help??? Pin
$w0rdf1$h16-Sep-07 0:55
$w0rdf1$h16-Sep-07 0:55 
QuestionWrapping legacy code Pin
dedil14-Sep-07 7:48
dedil14-Sep-07 7:48 
AnswerRe: Wrapping legacy code Pin
led mike14-Sep-07 8:37
led mike14-Sep-07 8:37 
GeneralRe: Wrapping legacy code Pin
dedil14-Sep-07 8:47
dedil14-Sep-07 8:47 
GeneralRe: Wrapping legacy code Pin
led mike14-Sep-07 9:28
led mike14-Sep-07 9:28 
GeneralRe: Wrapping legacy code Pin
dedil14-Sep-07 9:36
dedil14-Sep-07 9:36 
GeneralRe: Wrapping legacy code Pin
led mike14-Sep-07 9:51
led mike14-Sep-07 9:51 
Questionhow to validate a date using c++ Pin
h_he_el_el_o14-Sep-07 4:30
h_he_el_el_o14-Sep-07 4:30 
AnswerRe: how to validate a date using c++ Pin
led mike14-Sep-07 4:51
led mike14-Sep-07 4:51 
GeneralRe: how to validate a date using c++ Pin
h_he_el_el_o14-Sep-07 5:18
h_he_el_el_o14-Sep-07 5:18 
GeneralRe: how to validate a date using c++ Pin
Christian Graus14-Sep-07 5:36
protectorChristian Graus14-Sep-07 5:36 
GeneralRe: how to validate a date using c++ Pin
led mike14-Sep-07 6:51
led mike14-Sep-07 6:51 
GeneralRe: how to validate a date using c++ Pin
Russell'14-Sep-07 7:30
Russell'14-Sep-07 7:30 
QuestionVisual Studio 2005 bug? Pin
devvvy13-Sep-07 22:07
devvvy13-Sep-07 22:07 
AnswerRe: Visual Studio 2005 bug? Pin
KarstenK13-Sep-07 22:59
mveKarstenK13-Sep-07 22:59 
GeneralRe: Visual Studio 2005 bug? Pin
devvvy14-Sep-07 20:26
devvvy14-Sep-07 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.