Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Physical Drive Size Pin
Code-o-mat1-Oct-11 22:48
Code-o-mat1-Oct-11 22:48 
AnswerRe: Physical Drive Size Pin
Software_Developer2-Oct-11 0:29
Software_Developer2-Oct-11 0:29 
QuestionHow can program tell that itself is running as admin? Pin
Brandon-X120001-Oct-11 3:07
Brandon-X120001-Oct-11 3:07 
AnswerRe: How can program tell that itself is running as admin? Pin
Chris Losinger1-Oct-11 4:10
professionalChris Losinger1-Oct-11 4:10 
GeneralRe: How can program tell that itself is running as admin? Pin
Brandon-X120001-Oct-11 5:38
Brandon-X120001-Oct-11 5:38 
QuestionDatum & Map projection Pin
rajgaurav_jsr1-Oct-11 3:01
rajgaurav_jsr1-Oct-11 3:01 
AnswerRe: Datum & Map projection Pin
Software_Developer1-Oct-11 21:58
Software_Developer1-Oct-11 21:58 
QuestionHow to update the Document generated by server COleServerDoc Pin
Andraw Tang30-Sep-11 10:01
Andraw Tang30-Sep-11 10:01 
Hi, dear all,

Maybe my title make you confused, but I really don't know how to express it.

The project was created by other people before, inside the project there is a server called XXXX which inherite from COleServerDoc class. There are two containers that invoke the methods in the sever. Everything works fine.

Until now, before it only handle 4 types of materials, now it needs to handle 8 types of mateials, so I need to modify the server, otherwise it will cause array overflow. I modify the server and compile it, but when I run the container program, I still get the material overflow error, it totally didn't use the latest server I just compiled.

I check the container project and find it invode the server use the code: CreateDispatch(_T("XXXX.Document")), then I got to the Registry editor and find it was registered there before. So even I modify the server and recompile it, but the registered XXXX .Document is not updated, what should I do? how can I make the container project call my latest server?

Thank you very much!
QuestionHow can I Move a memory pointer in FILE? Pin
002comp30-Sep-11 2:52
002comp30-Sep-11 2:52 
AnswerRe: How can I Move a memory pointer in FILE? Pin
Code-o-mat30-Sep-11 3:04
Code-o-mat30-Sep-11 3:04 
AnswerRe: How can I Move a memory pointer in FILE? Pin
Madhu Nair30-Sep-11 3:29
Madhu Nair30-Sep-11 3:29 
AnswerRe: How can I Move a memory pointer in FILE? PinPopular
enhzflep30-Sep-11 3:34
enhzflep30-Sep-11 3:34 
GeneralRe: How can I Move a memory pointer in FILE? Pin
Chris Meech30-Sep-11 7:13
Chris Meech30-Sep-11 7:13 
AnswerRe: How can I Move a memory pointer in FILE? PinPopular
Richard MacCutchan30-Sep-11 10:10
mveRichard MacCutchan30-Sep-11 10:10 
QuestionSetting font size in popup message Pin
nashhashdash30-Sep-11 1:21
nashhashdash30-Sep-11 1:21 
AnswerRe: Setting font size in popup message Pin
Richard MacCutchan30-Sep-11 2:35
mveRichard MacCutchan30-Sep-11 2:35 
Question'Should I use <code>using namespace std;</code> in my code?' Pin
Stefan_Lang30-Sep-11 0:49
Stefan_Lang30-Sep-11 0:49 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Erudite_Eric30-Sep-11 0:56
Erudite_Eric30-Sep-11 0:56 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang2-Oct-11 22:14
Stefan_Lang2-Oct-11 22:14 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Erudite_Eric3-Oct-11 22:00
Erudite_Eric3-Oct-11 22:00 
AnswerRe: 'Should I use using namespace std; in my code?' Pin
Niklas L30-Sep-11 1:13
Niklas L30-Sep-11 1:13 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Stefan_Lang30-Sep-11 1:50
Stefan_Lang30-Sep-11 1:50 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Niklas L30-Sep-11 2:28
Niklas L30-Sep-11 2:28 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
Albert Holguin30-Sep-11 8:25
professionalAlbert Holguin30-Sep-11 8:25 
GeneralRe: 'Should I use using namespace std; in my code?' Pin
CPallini30-Sep-11 22:13
mveCPallini30-Sep-11 22:13 

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.