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

C / C++ / MFC

 
Question_beginthread issue Pin
Programm3r27-Jul-08 21:45
Programm3r27-Jul-08 21:45 
AnswerRe: _beginthread issue Pin
CPallini27-Jul-08 22:22
mveCPallini27-Jul-08 22:22 
GeneralRe: _beginthread issue Pin
Programm3r27-Jul-08 22:48
Programm3r27-Jul-08 22:48 
GeneralYou are welcome. Pin
CPallini27-Jul-08 23:13
mveCPallini27-Jul-08 23:13 
QuestionComparison between MFC6.0 and MFC8.0 Pin
Priya_Sundar27-Jul-08 21:09
Priya_Sundar27-Jul-08 21:09 
AnswerRe: Comparison between MFC6.0 and MFC8.0 Pin
_AnsHUMAN_ 27-Jul-08 21:42
_AnsHUMAN_ 27-Jul-08 21:42 
RantRe: Comparison between MFC6.0 and MFC8.0 Pin
Rajesh R Subramanian27-Jul-08 21:48
professionalRajesh R Subramanian27-Jul-08 21:48 
GeneralRe: Comparison between MFC6.0 and MFC8.0 Pin
_AnsHUMAN_ 27-Jul-08 22:16
_AnsHUMAN_ 27-Jul-08 22:16 
GeneralRe: Comparison between MFC6.0 and MFC8.0 Pin
Rajesh R Subramanian27-Jul-08 22:23
professionalRajesh R Subramanian27-Jul-08 22:23 
GeneralRe: Comparison between MFC6.0 and MFC8.0 [modified] Pin
_AnsHUMAN_ 27-Jul-08 22:29
_AnsHUMAN_ 27-Jul-08 22:29 
GeneralRe: Comparison between MFC6.0 and MFC8.0 Pin
CPallini27-Jul-08 22:41
mveCPallini27-Jul-08 22:41 
GeneralRe: Comparison between MFC6.0 and MFC8.0 Pin
Rajesh R Subramanian27-Jul-08 22:46
professionalRajesh R Subramanian27-Jul-08 22:46 
JokeRe: Comparison between MFC6.0 and MFC8.0 Pin
CPallini27-Jul-08 22:52
mveCPallini27-Jul-08 22:52 
GeneralRe: Comparison between MFC6.0 and MFC8.0 Pin
Rajesh R Subramanian27-Jul-08 22:56
professionalRajesh R Subramanian27-Jul-08 22:56 
JokeRe: Comparison between MFC6.0 and MFC8.0 Pin
Rajesh R Subramanian27-Jul-08 22:58
professionalRajesh R Subramanian27-Jul-08 22:58 
AnswerRe: Comparison between MFC6.0 and MFC8.0 Pin
Rajesh R Subramanian27-Jul-08 21:53
professionalRajesh R Subramanian27-Jul-08 21:53 
QuestionString and wstring question Pin
monsieur_jj27-Jul-08 21:02
monsieur_jj27-Jul-08 21:02 
Hi all,

I have this class generated by gsoap:

class SOAP_CMAC _ns1__DoCheckForProductUpdates
{
public:
	std::string *productName;	/* optional element of type xsd:string */
	std::string *productVersion;	/* optional element of type xsd:string */
	std::string *serialNumber;	/* optional element of type xsd:string */
	std::string *siteCode;	/* optional element of type xsd:string */
	struct soap *soap;	/* transient */


then my structure:

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;
		
		//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;				
		}
	};



I cant find a way to pass the value of
wstring m_Name;
wstring m_SerialNo;
wstring m_VersionNo;

to

std::string *productName;
std::string *productVersion;
std::string *serialNumber;

thats what I need to be able to use the methods of the webservice.

Thanks,
jayjay
AnswerRe: String and wstring question Pin
CPallini27-Jul-08 21:13
mveCPallini27-Jul-08 21:13 
GeneralRe: String and wstring question Pin
monsieur_jj27-Jul-08 21:15
monsieur_jj27-Jul-08 21:15 
GeneralRe: String and wstring question Pin
CPallini27-Jul-08 21:25
mveCPallini27-Jul-08 21:25 
AnswerRe: String and wstring question Pin
Jijo.Raj28-Jul-08 3:13
Jijo.Raj28-Jul-08 3:13 
QuestionHow can I get the Index of a tree control Item ? Pin
SherTeks27-Jul-08 20:34
SherTeks27-Jul-08 20:34 
AnswerRe: How can I get the Index of a tree control Item ? Pin
CPallini27-Jul-08 21:45
mveCPallini27-Jul-08 21:45 
AnswerRe: How can I get the Index of a tree control Item ? Pin
SherTeks27-Jul-08 23:29
SherTeks27-Jul-08 23:29 
QuestionCListCtrl(Report Style) Pin
bravoone27-Jul-08 20:09
bravoone27-Jul-08 20:09 

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.