|
Mushq wrote: through createprocess
Hi,
Have you tried CreateProcess() ?
Can you use ShellExecute()[^] ?
Best Regards,
Suman
|
|
|
|
|
See here.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I have a Url How can i send the http request using this url?
Please send me sample code for sending the http request.and also give guidance for that.
B est regards
Nmesh Aghera
|
|
|
|
|
|
actually sometime people forget what they want
|
|
|
|
|
Will this[^] article help?
/ravi
|
|
|
|
|
Ravi Bhavnani wrote: Will this[^] article help?
Ravi Sir, back from holiday?
|
|
|
|
|
Yes sir, returned in mid-Feb. Lovely weather in Bombay - the coldest it's been in 45 years!
/ravi
|
|
|
|
|
See here[^] does any help.
|
|
|
|
|
bluetooth connectivity in symbain os and howmany class to be used & step by step source code.
yogesh
|
|
|
|
|
If that's a query try www.google.com If it's an article idea then this is still the wrong forum but we'll be interested when you post it. If you have a Visual C++ question then feel free to post it here after reading the instructions at the top of the list.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
|
|
|
Will this[^] article help?
/ravi
|
|
|
|
|
|
in some c++ coding standard guidance i noticed following text written :
"Avoid using short as its still generally packaged into a 32 bit chunk of memory. There are very few places where a short can be justified over a long."
Can someone explain why is it so ?
|
|
|
|
|
That is don't use UNICODE strings?.
BTW probably you should give some more info about the context of the above statement.
Sometimes taking a sentence out of its context doesn't make sense.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Well it seems that author is trying to say that since a short which is 16 bit long is internally stored as 32 bit number it doesn't make sense to use it. I am not sure if this indeed is the case.
-Saurabh
|
|
|
|
|
Saurabh.Garg wrote: I am not sure if this indeed is the case.
It depends on the compiler and platform.
"1==sizeof(char)<=sizeof(short)<=sizeof(int)<=sizeof(long)<=sizeof(long long)" is all the standard says.
This tends to be interpreted as "char is 8 bits, short is 16 bits, int is 32 bits and long is 64 bits". But it doesn't need to be that case.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
Yes you are right but if you read original question again it says:
"Avoid using short as its still generally packaged into a 32 bit chunk of memory. There are very few places where a short can be justified over a long."
It clearly indicates that author is implying that short is not 32-bit but is generally packages as 32-bit. So I was just trying to say that I am not sure that short is packaged as 32-bit.
-Saurabh
|
|
|
|
|
Saurabh.Garg wrote: It clearly indicates that author is implying that short is not 32-bit but is generally packages as 32-bit.
There is not ehough information available to rule out any of at least two possibilities:
- They need to support some (exotic?) platform where short == int == long.
- The sentece refers to #pragma pack, which defaults to a 32Bit boundaries to gain a significant speed boost at the expense of a non-significant amount of memory.
The last possibility would be that rule is like 99% of all coding standard rules: Utter crap, designed to stop the programmers from doing real work.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
Well I don't think author meant any of two things you mentioned.
jhwurmbach wrote: The last possibility would be that rule is like 99% of all coding standard rules: Utter crap, designed to stop the programmers from doing real work.
I was really trying to say this but I was being polite
-Saurabh
|
|
|
|
|
Hi !
I am complete pure win32/C++ Guy . I want to Migrate to Visual C++.net.
I saw so many books everything telling for .Net with C# or .Net with Vb or aDO.net or asp.net like that
But I need C++ to Visual C++.net style.
Which is the book for beginning?
Please suggest
|
|
|
|
|
ERLN wrote: I am complete pure
ERLN wrote: Guy .
Hence you can knock, knock, knockin' on heaven's door.
ERLN wrote: I am complete pure win32/C++ Guy . I want to Migrate to Visual C++.net.
ERLN wrote: I saw so many books everything telling for .Net with C# or .Net with Vb or aDO.net or asp.net like that
But I need C++ to Visual C++.net style.
Why?
I mean: remain stuck with C++ for unmanaged applications and use C# for managed ones.
ERLN wrote: Which is the book for beginning?
Many people here (at CP ) suggest Andrew Troelsen books (I'm not his editor), see for instance [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|