Click here to Skip to main content
15,562,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to convert a byte[] to Bitmap image? Pin
kapardhi23-Apr-09 4:03
kapardhi23-Apr-09 4:03 
GeneralRe: How to convert a byte[] to Bitmap image? Pin
CPallini23-Apr-09 6:37
mveCPallini23-Apr-09 6:37 
Questionlibcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72823-Apr-09 2:52
RKP72823-Apr-09 2:52 
QuestionRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
CPallini23-Apr-09 3:01
mveCPallini23-Apr-09 3:01 
AnswerRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72823-Apr-09 3:18
RKP72823-Apr-09 3:18 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
CPallini23-Apr-09 3:43
mveCPallini23-Apr-09 3:43 
AnswerRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
Stuart Dootson23-Apr-09 4:21
professionalStuart Dootson23-Apr-09 4:21 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72823-Apr-09 20:26
RKP72823-Apr-09 20:26 
Thanks Stuart for the details
The same name of the customized function is as per deisgn
I cannot use a different name for the customized function
You are correct that the linker sees the definition is test.libfirst and then in libcmtd.lib which causes the error.

From the sample code you have shown it imples that the vs2008 build includes the standard strtoul while the vs2003 does not
Am I correct ?
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
Stuart Dootson23-Apr-09 21:06
professionalStuart Dootson23-Apr-09 21:06 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72823-Apr-09 23:06
RKP72823-Apr-09 23:06 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
Stuart Dootson23-Apr-09 23:18
professionalStuart Dootson23-Apr-09 23:18 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72824-Apr-09 1:11
RKP72824-Apr-09 1:11 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
Stuart Dootson24-Apr-09 2:16
professionalStuart Dootson24-Apr-09 2:16 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72824-Apr-09 2:53
RKP72824-Apr-09 2:53 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
Stuart Dootson24-Apr-09 4:23
professionalStuart Dootson24-Apr-09 4:23 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72824-Apr-09 23:09
RKP72824-Apr-09 23:09 
GeneralRe: libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in . . . Pin
RKP72826-Apr-09 22:32
RKP72826-Apr-09 22:32 
QuestionHow to implement CCrypto class into a MDI project ? Pin
mesajflaviu23-Apr-09 2:46
mesajflaviu23-Apr-09 2:46 
AnswerRe: How to implement CCrypto class into a MDI project ? Pin
Iain Clarke, Warrior Programmer23-Apr-09 3:10
Iain Clarke, Warrior Programmer23-Apr-09 3:10 
GeneralRe: How to implement CCrypto class into a MDI project ? Pin
mesajflaviu23-Apr-09 9:35
mesajflaviu23-Apr-09 9:35 
GeneralRe: How to implement CCrypto class into a MDI project ? Pin
Iain Clarke, Warrior Programmer24-Apr-09 6:54
Iain Clarke, Warrior Programmer24-Apr-09 6:54 
GeneralRe: How to implement CCrypto class into a MDI project ? Pin
mesajflaviu25-Apr-09 7:56
mesajflaviu25-Apr-09 7:56 
GeneralRe: How to implement CCrypto class into a MDI project ? [modified] Pin
mesajflaviu3-May-09 21:35
mesajflaviu3-May-09 21:35 
QuestionHow to load a region from an image file? Pin
Frank Isensee23-Apr-09 1:46
Frank Isensee23-Apr-09 1:46 
AnswerRe: How to load a region from an image file? Pin
CPallini23-Apr-09 2:40
mveCPallini23-Apr-09 2:40 

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.