Click here to Skip to main content
15,868,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Issue with Printing Pin
Richard MacCutchan20-Jul-12 2:52
mveRichard MacCutchan20-Jul-12 2:52 
GeneralRe: Issue with Printing Pin
Mohibur Rashid23-Jul-12 14:50
professionalMohibur Rashid23-Jul-12 14:50 
QuestionWindows has triggered a breakpoint in exe....... Pin
Andraw11119-Jul-12 9:01
Andraw11119-Jul-12 9:01 
AnswerRe: Windows has triggered a breakpoint in exe....... Pin
Albert Holguin19-Jul-12 9:12
professionalAlbert Holguin19-Jul-12 9:12 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11119-Jul-12 9:56
Andraw11119-Jul-12 9:56 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11119-Jul-12 10:58
Andraw11119-Jul-12 10:58 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Richard MacCutchan19-Jul-12 22:24
mveRichard MacCutchan19-Jul-12 22:24 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11123-Jul-12 3:44
Andraw11123-Jul-12 3:44 
Richard, thanks for your suggestion.

Yes, if in the calling side I pass string.c_str() value
string xx = "calling...";

func(xx.c_str());

and in the function definition side I define function as:
func(const char* str){}

everything is fine.

But my project has hundreds functions, it was created in C++ 6.0, now I wish to migrate it to VS2008, if I have to modify all the function definition and modify all the places to function call, that's a big work.

Is there any better way to solve this issue? Thanks!
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Richard MacCutchan23-Jul-12 4:30
mveRichard MacCutchan23-Jul-12 4:30 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11123-Jul-12 5:36
Andraw11123-Jul-12 5:36 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Richard MacCutchan23-Jul-12 5:45
mveRichard MacCutchan23-Jul-12 5:45 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Andraw11123-Jul-12 6:24
Andraw11123-Jul-12 6:24 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Richard MacCutchan23-Jul-12 7:14
mveRichard MacCutchan23-Jul-12 7:14 
GeneralRe: Windows has triggered a breakpoint in exe....... Pin
Stephen Hewitt20-Jul-12 6:55
Stephen Hewitt20-Jul-12 6:55 
Generalerror C2491: 'XXX'::entries' : definition of dllimport function not allowed Pin
Andraw11119-Jul-12 4:51
Andraw11119-Jul-12 4:51 
AnswerRe: error C2491: 'XXX'::entries' : definition of dllimport function not allowed Pin
Albert Holguin19-Jul-12 5:09
professionalAlbert Holguin19-Jul-12 5:09 
GeneralRe: error C2491: 'XXX'::entries' : definition of dllimport function not allowed Pin
Andraw11119-Jul-12 5:35
Andraw11119-Jul-12 5:35 
Generalerror C2679: binary '!=' : no operator found which takes a right-hand operand of type 'int' In VS2008 Pin
Andraw11119-Jul-12 4:20
Andraw11119-Jul-12 4:20 
GeneralRe: error C2679: binary '!=' : no operator found which takes a right-hand operand of type 'int' In VS2008 Pin
Chris Losinger19-Jul-12 4:27
professionalChris Losinger19-Jul-12 4:27 
GeneralRe: error C2679: binary '!=' : no operator found which takes a right-hand operand of type 'int' In VS2008 Pin
Stephen Hewitt19-Jul-12 4:27
Stephen Hewitt19-Jul-12 4:27 
GeneralRe: error C2679: binary '!=' : no operator found which takes a right-hand operand of type 'int' In VS2008 Pin
Andraw11119-Jul-12 4:35
Andraw11119-Jul-12 4:35 
Questionc++ code Pin
phineas kimathi19-Jul-12 2:46
phineas kimathi19-Jul-12 2:46 
AnswerRe: c++ code Pin
Richard MacCutchan19-Jul-12 3:21
mveRichard MacCutchan19-Jul-12 3:21 
AnswerRe: c++ code Pin
Rajesh R Subramanian19-Jul-12 3:34
professionalRajesh R Subramanian19-Jul-12 3:34 
AnswerRe: c++ code Pin
Software_Developer19-Jul-12 6:52
Software_Developer19-Jul-12 6:52 

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.