|
just a question are ATL header files are available for eVC, you could use CAtlFile Class [^]
|
|
|
|
|
No Alok, ATL is not available in eVC, only MFC & pure C/C++. In that too with Win CE, many are again not allowed or supported.
Thanks
Terry
|
|
|
|
|
CString strTime=childnode->getAttribute("Time");
initializing' : cannot convert from 'class _variant_t' to 'class CString'
how to save it
thankyou
|
|
|
|
|
SOS
|
|
|
|
|
huke1987 wrote: SOS
so still in college or working somewhere!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
CString strTime = whchildnode->getAttribute("Time").bstrVal;
|
|
|
|
|
thank you
but there have a little problem
i use "CString strTime = childnode->getAttribute("Time").bstrVal; "
strTime=""
the strTime in xml is not null
|
|
|
|
|
put the following code and tell me what is the value of vt and bstrVal in the objVar variable after executing it.
_variant_t objVar = childnode->getAttribute("Time");
|
|
|
|
|
thank you
objVar need change to cstring
~~~~~
|
|
|
|
|
what?I didnt understand..
I said to do so for debugging..
|
|
|
|
|
Naveen wrote: I said to do so for debugging..
Better ask for BreakPoint and F-5 function keys!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Nice move!
My 5!
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
i save it in another way
///////////////////////////////
CString strTime=(char *)childnode->selectNodes("Time")->Getitem(0)->text;
////////////////////////////////////////////
or
///////////////////////////////
aSmsItemlist=childnode->GetchildNodes
node1=aSmsItemlist->Getitem(0);
CString strTime=(char *)node1->text;
|
|
|
|
|
This is on the right track but sloppy. What happens if the variant's type isn't VT_BSTR ? Nothing pleasant I can assure you!
Steve
|
|
|
|
|
since he tried to assign the value to a CString, I thought that the node will be having a string value. But later when he said his CString is empty, I felt there is some thing wrong. so I suggested him to take the return into a _varient_t and check for the type.
|
|
|
|
|
thank you all the friends
I have to solve that problem
my English is so bad~~~~~
|
|
|
|
|
huke1987 wrote: CString strTime=childnode->getAttribute("Time");
better use _bstr_t bstVal = childnode->getAttribute("Time").bstrVal; , it has overloaded LPCTSTR, which could be used any where !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
thank you ??
|
|
|
|
|
huke1987 wrote: ??
sometimes extra ?? is confusing [ ]
|
|
|
|
|
Hi
I want to know about SDk and API.
SDk - A set of tools and libraries for creating software applications
(Eg :Cbutton , Clist I think)
API – Application Programme Interface
(eg: CTime getting Date ,Time from OS)
at my knowledge I said this ,if this is wrong ignore and give me the
explanation about the SDK and API and give difference between them.
thanks
regards
shakumar
|
|
|
|
|
I think API refers just to "interface" to a system for example Operating System. So it will only include funtions exposed by a system. In case of windows we call it Win32 API. SDK on the other hand is a collection of tools, samples codes, documentation, wrappers, etc which helps to use API.
To program a system you don't have to use SDK, you can directly use the API to get the job done but SDK's make programming easy by hiding lot of detail not important in most cases.
-Saurabh
|
|
|
|
|
API - An acronym for Application Program Interface, the set of commands that an application uses to request and carry out lower-level services performed by a computer's operating system.
SDK - A set of library, header, and Help files that you use to write applications for a specific platform.
Regards,
Paresh.
|
|
|
|
|
Hi,
I have a Progressdialog on the center of which I have placed a CStatic control to display the Progress percentage.But when the dialog is resized the CStatic Control gets disapeared and so the percentage.
Can anybody help me out of it.
Thanks and Regards,
Purusottam Mishra
Purusottam Mishra
Systems Executive
|
|
|
|
|
|
Where/how did you create the static control?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|