Click here to Skip to main content
15,913,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta30-May-08 22:41
Trupti Mehta30-May-08 22:41 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj30-May-08 23:16
Jijo.Raj30-May-08 23:16 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta31-May-08 0:38
Trupti Mehta31-May-08 0:38 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj31-May-08 6:28
Jijo.Raj31-May-08 6:28 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta1-Jun-08 0:05
Trupti Mehta1-Jun-08 0:05 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj1-Jun-08 1:59
Jijo.Raj1-Jun-08 1:59 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta1-Jun-08 8:57
Trupti Mehta1-Jun-08 8:57 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj1-Jun-08 23:11
Jijo.Raj1-Jun-08 23:11 
Terry your map is CMap < int, int, DeptDetails, DeptDetails > where you are supposed to insert an object of DeptDetails.

Trupti Mehta wrote:
// deptMap.SetAt(i, dd);


But dd, which you're inserting is a pointer where object is expected. So you should use it like as follows,

deptMap.SetAt(i, *dd);



Trupti Mehta wrote:
Have I implemented the CArchive correctly in Write & Read Departments. Please check out that.


Seems Fine by looking with my eyes. Smile | :)


Trupti Mehta wrote:
I have come back in VC++ after long time, so many things are new and many out of the mind also. Hope to get this woring correctly at the earliest.


No probs buddy. Feel free to shoot any doubts.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: Error with CArray, CMap Pin
Trupti Mehta2-Jun-08 2:09
Trupti Mehta2-Jun-08 2:09 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj2-Jun-08 4:27
Jijo.Raj2-Jun-08 4:27 
QuestionCannot run the exe of my application Pin
vijay_aroli30-May-08 2:55
vijay_aroli30-May-08 2:55 
QuestionRe: Cannot run the exe of my application Pin
David Crow30-May-08 3:15
David Crow30-May-08 3:15 
AnswerRe: Cannot run the exe of my application Pin
Mike Dimmick30-May-08 7:16
Mike Dimmick30-May-08 7:16 
QuestionHow to remove a folder and all its contents Pin
piul30-May-08 0:25
piul30-May-08 0:25 
QuestionRe: How to remove a folder and all its contents Pin
CPallini30-May-08 0:32
mveCPallini30-May-08 0:32 
AnswerRe: How to remove a folder and all its contents Pin
piul30-May-08 0:44
piul30-May-08 0:44 
GeneralRe: How to remove a folder and all its contents Pin
CPallini30-May-08 0:59
mveCPallini30-May-08 0:59 
GeneralRe: How to remove a folder and all its contents Pin
piul30-May-08 1:05
piul30-May-08 1:05 
AnswerRe: How to remove a folder and all its contents Pin
vijay_aroli30-May-08 0:59
vijay_aroli30-May-08 0:59 
AnswerRe: How to remove a folder and all its contents Pin
Michael Schubert30-May-08 1:43
Michael Schubert30-May-08 1:43 
AnswerRe: How to remove a folder and all its contents Pin
David Crow30-May-08 3:17
David Crow30-May-08 3:17 
AnswerRe: How to remove a folder and all its contents Pin
ThatsAlok20-Jul-09 1:01
ThatsAlok20-Jul-09 1:01 
QuestionVisual Studio 2005 intellisense now showing all the elements Pin
ComplexLifeForm29-May-08 23:32
ComplexLifeForm29-May-08 23:32 
AnswerRe: Visual Studio 2005 intellisense now showing all the elements Pin
Ahmed Charfeddine30-May-08 2:11
Ahmed Charfeddine30-May-08 2:11 
QuestionRe: Visual Studio 2005 intellisense now showing all the elements Pin
David Crow30-May-08 3:19
David Crow30-May-08 3:19 

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.