Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
Mark Salsbery12-Aug-08 5:40
Mark Salsbery12-Aug-08 5:40 
QuestionRe: How to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 23:21
fantasy121511-Aug-08 23:21 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
Jijo.Raj11-Aug-08 23:30
Jijo.Raj11-Aug-08 23:30 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 23:39
fantasy121511-Aug-08 23:39 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
toxcct11-Aug-08 23:33
toxcct11-Aug-08 23:33 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 23:53
fantasy121511-Aug-08 23:53 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
David Crow12-Aug-08 3:28
David Crow12-Aug-08 3:28 
Questionpush_back error Pin
monsieur_jj11-Aug-08 19:53
monsieur_jj11-Aug-08 19:53 
Hi all,

I am having this push_back error, this is my struct:

struct RMUpdates {		
		RMUpdates(): prdName(L""), nameVer(L""), link(L""), savePath(L"") {};		
		wstring prdName;
		wstring nameVer;
		wstring link; 	
		wstring savePath;
	};

	struct RMproduct
	{
		RMproduct(){};
		RMproduct(wstring szName, wstring serv, wstring version){m_Name = szName; m_serviceKey = serv; m_versionKey = version;};

		wstring m_serviceKey;
		wstring m_versionKey;

		wstring m_Name;
		wstring m_SerialNo;
		wstring m_VersionNo;
		wstring m_SiteCode;

		//xml	
		vector<RMUpdates*>* updateList; 
		~RMproduct()
		{
			if (updateList !=NULL) {
				vector<RMUpdates*>::iterator Iter;	
				Iter = updateList->begin();
				for (; Iter < updateList->end(); Iter++)				
					delete *Iter;
				updateList->clear();
			}
			delete updateList;				
		}
	};


Now when i perform this:

RMproduct* prd

RMUpdates* update = new RMUpdates;
update->prdName = prd->m_Name.c_str();
update->nameVer = prd->m_Name.c_str();
update->nameVer.append(L" ");
update->nameVer.append(std::wstring(A2W(pDoGetLatestProductResponse->DoGetLatestProductResult->Version->c_str())));
update->link = DOWNLOADLINK;
update->savePath = SetDestination(update->link.c_str()); 					
prd->updateList->push_back(update);


Then I will get an error here:

size_type size() const
    {   // return length of sequence
    return (_Myfirst == 0 ? 0 : _Mylast - _Myfirst);
    }

Any advise?

thanks,
Jayjay
AnswerRe: push_back error Pin
Jijo.Raj11-Aug-08 20:38
Jijo.Raj11-Aug-08 20:38 
GeneralRe: push_back error Pin
monsieur_jj11-Aug-08 20:47
monsieur_jj11-Aug-08 20:47 
GeneralRe: push_back error Pin
monsieur_jj11-Aug-08 20:49
monsieur_jj11-Aug-08 20:49 
GeneralRe: push_back error Pin
Jijo.Raj11-Aug-08 21:08
Jijo.Raj11-Aug-08 21:08 
GeneralRe: push_back error Pin
Jijo.Raj11-Aug-08 21:07
Jijo.Raj11-Aug-08 21:07 
GeneralRe: push_back error Pin
monsieur_jj11-Aug-08 21:46
monsieur_jj11-Aug-08 21:46 
GeneralRe: push_back error Pin
Jijo.Raj11-Aug-08 22:00
Jijo.Raj11-Aug-08 22:00 
QuestionBitMapButton using VC++ -MFC Pin
Selvan.S11-Aug-08 18:33
Selvan.S11-Aug-08 18:33 
AnswerRe: BitMapButton using VC++ -MFC Pin
Jijo.Raj11-Aug-08 19:00
Jijo.Raj11-Aug-08 19:00 
AnswerRe: BitMapButton using VC++ -MFC Pin
madyastha11-Aug-08 22:59
madyastha11-Aug-08 22:59 
QuestionHow to make a context menu in list control Pin
VCProgrammer11-Aug-08 18:24
VCProgrammer11-Aug-08 18:24 
QuestionRe: How to make a context menu in list control Pin
Mark Salsbery12-Aug-08 5:42
Mark Salsbery12-Aug-08 5:42 
QuestionFlushing Serial Port using Win32api Pin
Lord Dark11-Aug-08 18:19
Lord Dark11-Aug-08 18:19 
AnswerRe: Flushing Serial Port using Win32api Pin
kakan11-Aug-08 20:17
professionalkakan11-Aug-08 20:17 
GeneralRe: Flushing Serial Port using Win32api Pin
Lord Dark11-Aug-08 21:00
Lord Dark11-Aug-08 21:00 
GeneralRe: Flushing Serial Port using Win32api Pin
kakan11-Aug-08 22:22
professionalkakan11-Aug-08 22:22 
QuestionStack around the variable 'ctemp' was corrupted ?? Pin
monsieur_jj11-Aug-08 15:31
monsieur_jj11-Aug-08 15:31 

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.