Click here to Skip to main content
15,890,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Edit Box Pin
Christian Graus2-Apr-06 17:26
protectorChristian Graus2-Apr-06 17:26 
GeneralRe: Edit Box Pin
normanS3-Apr-06 0:53
normanS3-Apr-06 0:53 
QuestionWriting text on given bitmap file Pin
KongHL2-Apr-06 14:48
KongHL2-Apr-06 14:48 
AnswerRe: Writing text on given bitmap file Pin
Christian Graus2-Apr-06 16:17
protectorChristian Graus2-Apr-06 16:17 
GeneralRe: Writing text on given bitmap file Pin
KongHL2-Apr-06 16:20
KongHL2-Apr-06 16:20 
GeneralRe: Writing text on given bitmap file Pin
Christian Graus2-Apr-06 16:28
protectorChristian Graus2-Apr-06 16:28 
AnswerRe: Writing text on given bitmap file Pin
Hamid_RT2-Apr-06 18:31
Hamid_RT2-Apr-06 18:31 
QuestionVariables in DLL help Pin
borono2-Apr-06 13:05
borono2-Apr-06 13:05 
Hey, just trying to use a variable to hold multiple values so that I can then send those values back to my originating app. I have three values that I need to store in my variable before I return it.

I am using something like this:

for(d=alldevs; d; d=d->next)
{

if (d->description) {
strcpy(descp,d->description);
//strcpy(dev,descp);
}
}

return dev;

If I uncomment the commented line, I see only the second value, if left as is, I see only the first value, I of course, want all three or as many as there will be --probably no more than three. I am trying to enum the adapters in the system, btw.

Any help is appreciated, as always. If you need more info, please let me know. have a good day and thanks in advance.

EDIT: figured it out --I used strcat instead of strcpy and it works. thanks anyway.
-- modified at 19:37 Sunday 2nd April, 2006
QuestionCEdit Class Pin
merlinore2-Apr-06 11:23
merlinore2-Apr-06 11:23 
AnswerRe: CEdit Class Pin
Christian Graus2-Apr-06 12:41
protectorChristian Graus2-Apr-06 12:41 
QuestionCalling the constructor Pin
Alexander M.,2-Apr-06 10:33
Alexander M.,2-Apr-06 10:33 
AnswerRe: Calling the constructor Pin
Nemanja Trifunovic2-Apr-06 10:46
Nemanja Trifunovic2-Apr-06 10:46 
GeneralRe: Calling the constructor Pin
Alexander M.,2-Apr-06 11:31
Alexander M.,2-Apr-06 11:31 
GeneralRe: Calling the constructor Pin
Waldermort2-Apr-06 11:53
Waldermort2-Apr-06 11:53 
GeneralRe: Calling the constructor Pin
Waldermort2-Apr-06 12:04
Waldermort2-Apr-06 12:04 
GeneralRe: Calling the constructor Pin
toxcct2-Apr-06 22:17
toxcct2-Apr-06 22:17 
GeneralRe: Calling the constructor Pin
Alexander M.,2-Apr-06 13:13
Alexander M.,2-Apr-06 13:13 
AnswerRe: Calling the constructor Pin
cmk2-Apr-06 15:12
cmk2-Apr-06 15:12 
AnswerRe: Calling the constructor Pin
Stephen Hewitt2-Apr-06 16:20
Stephen Hewitt2-Apr-06 16:20 
AnswerRe: Calling the constructor Pin
Michael Dunn2-Apr-06 16:57
sitebuilderMichael Dunn2-Apr-06 16:57 
QuestionProblem to be solved in Visual C++ Express Edition Pin
aliashar862-Apr-06 10:00
aliashar862-Apr-06 10:00 
AnswerRe: Problem to be solved in Visual C++ Express Edition Pin
Waldermort2-Apr-06 11:49
Waldermort2-Apr-06 11:49 
QuestionFile name from a command line Pin
IvanovaIsGod2-Apr-06 6:22
IvanovaIsGod2-Apr-06 6:22 
AnswerRe: File name from a command line Pin
FarPointer2-Apr-06 7:07
FarPointer2-Apr-06 7:07 
AnswerRe: File name from a command line Pin
Michael Dunn2-Apr-06 7:16
sitebuilderMichael Dunn2-Apr-06 7:16 

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.