Click here to Skip to main content
15,894,740 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Asserion Failed:file wincore.cpp, Line 1047 Pin
Niklas L4-Jul-10 22:55
Niklas L4-Jul-10 22:55 
Question[Solved] Assigning xy coordinates to array values Pin
SilentDude56k3-Jul-10 22:27
SilentDude56k3-Jul-10 22:27 
AnswerRe: Assigning xy coordinates to array values [modified] Pin
Niklas L4-Jul-10 3:57
Niklas L4-Jul-10 3:57 
GeneralRe: Assigning xy coordinates to array values Pin
SilentDude56k4-Jul-10 9:44
SilentDude56k4-Jul-10 9:44 
QuestionInstalling software and registry settings onto a WinCE device from an SD card Pin
frqftgbdafr3-Jul-10 19:15
frqftgbdafr3-Jul-10 19:15 
AnswerRe: Installing software and registry settings onto a WinCE device from an SD card Pin
David Crow6-Jul-10 4:33
David Crow6-Jul-10 4:33 
QuestionHow to import structure variables from another cpp file Pin
raju_shiva3-Jul-10 1:35
raju_shiva3-Jul-10 1:35 
AnswerRe: How to import structure variables from another cpp file Pin
CPallini3-Jul-10 2:13
mveCPallini3-Jul-10 2:13 
Move the structure declaration in a header file, say abc.h:
// abc.h
struct ABC
{
 ...
 ...
};
//...


define the variable in the abc.cpp file, as usual
// abc.cpp
ABC abc;
//...


declare the variable as extern in the bcd.cpp file
// bcd.cpp
extern ABC abc;
//...

enjoy.
Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: How to import structure variables from another cpp file Pin
Code-o-mat3-Jul-10 2:26
Code-o-mat3-Jul-10 2:26 
QuestionIDispEventSimpleImpl Pin
shakumar_213-Jul-10 1:32
shakumar_213-Jul-10 1:32 
Questionstrtok Pin
T.RATHA KRISHNAN2-Jul-10 18:45
T.RATHA KRISHNAN2-Jul-10 18:45 
AnswerRe: strtok Pin
elchupathingy2-Jul-10 19:26
elchupathingy2-Jul-10 19:26 
GeneralRe: strtok Pin
Stephen Hewitt4-Jul-10 14:42
Stephen Hewitt4-Jul-10 14:42 
AnswerRe: strtok Pin
CPallini2-Jul-10 23:36
mveCPallini2-Jul-10 23:36 
AnswerRe: strtok Pin
Chris Losinger5-Jul-10 4:24
professionalChris Losinger5-Jul-10 4:24 
AnswerRe: strtok Pin
Aescleal5-Jul-10 22:03
Aescleal5-Jul-10 22:03 
QuestionSmallestInt-need algo Pin
mohitadube2-Jul-10 9:48
mohitadube2-Jul-10 9:48 
AnswerRe: SmallestInt-need algo PinPopular
Richard Andrew x642-Jul-10 9:55
professionalRichard Andrew x642-Jul-10 9:55 
QuestionNumTrans-need alogorithm Pin
mohitadube2-Jul-10 9:45
mohitadube2-Jul-10 9:45 
Questionabout apihook Pin
rockago2-Jul-10 7:17
rockago2-Jul-10 7:17 
AnswerRe: about apihook Pin
rp_suman3-Jul-10 0:55
rp_suman3-Jul-10 0:55 
GeneralRe: about apihook Pin
rockago3-Jul-10 11:09
rockago3-Jul-10 11:09 
QuestionHow i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
humais2-Jul-10 5:33
humais2-Jul-10 5:33 
AnswerRe: How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
Richard MacCutchan2-Jul-10 7:10
mveRichard MacCutchan2-Jul-10 7:10 
GeneralRe: How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
humais2-Jul-10 8:12
humais2-Jul-10 8:12 

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.