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

C / C++ / MFC

 
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 
AnswerRe: CListCtrl(Report Style) Pin
CPallini27-Jul-08 21:07
mveCPallini27-Jul-08 21:07 
JokeRe: CListCtrl(Report Style) Pin
Rajesh R Subramanian27-Jul-08 21:55
professionalRajesh R Subramanian27-Jul-08 21:55 
GeneralRe: CListCtrl(Report Style) Pin
CPallini27-Jul-08 22:13
mveCPallini27-Jul-08 22:13 
GeneralRe: CListCtrl(Report Style) [modified] Pin
Rajesh R Subramanian27-Jul-08 22:22
professionalRajesh R Subramanian27-Jul-08 22:22 
GeneralRe: CListCtrl(Report Style) Pin
CPallini27-Jul-08 22:49
mveCPallini27-Jul-08 22:49 
AnswerRe: CListCtrl(Report Style) Pin
_AnsHUMAN_ 27-Jul-08 21:39
_AnsHUMAN_ 27-Jul-08 21:39 
GeneralRe: CListCtrl(Report Style) Pin
bravoone27-Jul-08 21:43
bravoone27-Jul-08 21:43 
GeneralRe: CListCtrl(Report Style) Pin
_AnsHUMAN_ 27-Jul-08 22:25
_AnsHUMAN_ 27-Jul-08 22:25 
GeneralRe: CListCtrl(Report Style) Pin
bravoone30-Jul-08 3:59
bravoone30-Jul-08 3:59 

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.