|
Hi
I use Add as following way, though there is Assertion, what is the problem in this code.
m_HTML_Page_arry->Add(strPagePath);
Thanks in Advance
Atul
|
|
|
|
|
have you allocated memory for this?
m_HTML_Page_arry
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
Hi Chandu,
I did not allocate memory to m_HTML_Page_arry object. I used it directly. So can I allocate memory to it.
Thanks in advance
Atul
|
|
|
|
|
allocate it and see.
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
Do you have something akin to:
m_HTML_Page_arry = new CStringArray; Why are you not just using an actual object rather than a pointer to one? Most of the time, this indicates a design flaw.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi David,
Thank u very much.. problem gets solved
Atul
|
|
|
|
|
And in the end remember you must delete this object.
|
|
|
|
|
Hello:
Looking for local (around Western Philadelphia, PA suburbs -- preferably Exton/Malvern area) person with experience coding C++ Windows Mobile apps.
SQL Server 2000/2005 experience helps.
Please send me a note if you are local and interested.
Please (please) no recruiters and check the map to see if you are local first. India is not local
Thanks
~Bill
|
|
|
|
|
How could I convert a BSTR value to an enum value in a COM class???
|
|
|
|
|
switch/case?
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal. George Orwell, "Keep the Aspidistra Flying", Opening words
|
|
|
|
|
Does not work on strings in C++, the switch statement will compare the pointers. This might work if you're using static strings (and the string pooling flags are set) but won't on user-supplied strings.
If you need to do string comparisons in C/C++, you have to use a multi-armed if statement with something like strcmp .
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
A BSTR is still a pointer to an array of wide characters, so you can still pass it to any string manipulation function. If it contains string representation of an integer you can pass it to swscanf or _wtoi .
If it contains the name of the enumeration value, you're out of luck. Those aren't compiled into the program. You'll have to manually write code to handle this using string comparisons.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
Hello Friends,
Is it possible to delete the file which I am running from within the File??
Means the code for deleting the File should reside in the File Itself Which I want to delete.
I know in a Simple manner it will provide Access Violation Error.
please tell me if you have any Idea,
|
|
|
|
|
It is available in codeguru.com, just find it out.
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
Yes but he is on CodeProject NOT Codeguru.
WPF - Imagineers Wanted
Follow your nose using DoubleAnimationUsingPath
|
|
|
|
|
thats why i redeirected him to the codeguru.com.
i dont think it is wrong, because, all of us here are open minded, and should also encourage the other programming sites.
am i right or not?
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
chandu004 wrote: am i right or not?
yes, but not CodeGuru !!!
moreover, when you answer like that, take the time yourself to provide the link, or don't answer at all, because it's useless (I mean, yes, the OP should have searched at first, so you don't bring something new then)
BTW, your Signature is a bit too aggressive. you should consider reduce its size and/or add a separator because most of the time, it looks like it's part of the body of your answer
|
|
|
|
|
toxcct wrote: yes, but not CodeGuru !!!
iam sorry if it has hurt the ego of any body.
toxcct wrote: take the time yourself to provide the link,
yah you are right i would have done that. but now only i came to know that, quoting the competor site, would be inconvinient to some people.
toxcct wrote: BTW, your Signature is a bit too aggressive. you should consider reduce its size and/or add a separator because most of the time, it looks like it's part of the body of your answer
thanks for the advice, i shall do the same.
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
norm .net wrote: Yes but he is on CodeProject NOT Codeguru.
Well said.;)
|
|
|
|
|
|
I know, strange advice being handed out by the newbie
WPF - Imagineers Wanted
Follow your nose using DoubleAnimationUsingPath
|
|
|
|
|
|
It will be better if you provide the Link also. Or some keywords to find the thing.
|
|
|
|
|
self deleting an application
or
"an application that deletes itself."
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
Hey Thnx,
Got the link. Coming back to you after Checking.
|
|
|
|