Click here to Skip to main content
16,014,765 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: datatransfer Pin
CPallini18-May-08 23:37
mveCPallini18-May-08 23:37 
GeneralRe: datatransfer Pin
Mohanraj D18-May-08 23:53
Mohanraj D18-May-08 23:53 
GeneralRe: datatransfer Pin
CPallini19-May-08 0:08
mveCPallini19-May-08 0:08 
GeneralRe: datatransfer Pin
Nelek19-May-08 7:37
protectorNelek19-May-08 7:37 
GeneralRe: datatransfer Pin
Mohanraj D19-May-08 20:18
Mohanraj D19-May-08 20:18 
GeneralRe: datatransfer Pin
Mohanraj D19-May-08 20:19
Mohanraj D19-May-08 20:19 
AnswerRe: datatransfer Pin
Rajesh R Subramanian19-May-08 1:04
professionalRajesh R Subramanian19-May-08 1:04 
GeneralRe: datatransfer Pin
David Crow19-May-08 4:00
David Crow19-May-08 4:00 
Mohanraj D wrote:
error C2065: 'str' : undeclared identifier


The error message tells it all. You have failed to declare str. Should be:

CString str = "data;
But that does nothing to solve your original problem. Before calling DoModal(), you need to populate some variable that belongs to your datatransfer class (e.g., array, list, vector). You can either do this by accessing the variable directly, or implement some sort of "setter" method. Then in the OnInitDiaog() method of datatransfer, populate the listbox with the data.

"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


AnswerRe: datatransfer Pin
Hamid_RT19-May-08 1:34
Hamid_RT19-May-08 1:34 
Questionproblem with fwrite Pin
Cadimi18-May-08 22:50
Cadimi18-May-08 22:50 
QuestionRe: problem with fwrite Pin
CPallini18-May-08 22:56
mveCPallini18-May-08 22:56 
AnswerRe: problem with fwrite Pin
Cadimi19-May-08 2:28
Cadimi19-May-08 2:28 
QuestionRe: problem with fwrite Pin
CPallini19-May-08 2:56
mveCPallini19-May-08 2:56 
AnswerRe: problem with fwrite Pin
Cadimi19-May-08 3:10
Cadimi19-May-08 3:10 
QuestionRe: problem with fwrite Pin
CPallini19-May-08 3:15
mveCPallini19-May-08 3:15 
AnswerRe: problem with fwrite Pin
Cadimi19-May-08 3:20
Cadimi19-May-08 3:20 
QuestionRe: problem with fwrite Pin
CPallini19-May-08 3:25
mveCPallini19-May-08 3:25 
AnswerRe: problem with fwrite Pin
Cadimi19-May-08 3:33
Cadimi19-May-08 3:33 
QuestionRe: problem with fwrite Pin
CPallini19-May-08 3:45
mveCPallini19-May-08 3:45 
AnswerRe: problem with fwrite Pin
Cadimi19-May-08 4:00
Cadimi19-May-08 4:00 
QuestionRe: problem with fwrite Pin
David Crow19-May-08 4:03
David Crow19-May-08 4:03 
AnswerRe: problem with fwrite Pin
Cadimi19-May-08 4:13
Cadimi19-May-08 4:13 
GeneralRe: problem with fwrite Pin
David Crow19-May-08 4:18
David Crow19-May-08 4:18 
GeneralRe: problem with fwrite Pin
Cadimi19-May-08 4:23
Cadimi19-May-08 4:23 
QuestionRe: problem with fwrite Pin
David Crow19-May-08 5:42
David Crow19-May-08 5:42 

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.