|
How are you Pallini. It has been long since we were in touch. I do have an MSDN subscription. I will check on that.
Easy Profiler : a compile-time profiler for C++
www.potatosoftware.com
|
|
|
|
|
I've not ever seen Windows v3.0 in MSDN, and the last VC++ I had with my subscription was 1.52c.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
You're right, indeed, and my guess was wrong.
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
[My articles]
|
|
|
|
|
Is it really possible to download an unsupported product (especially OS) even we've an MSDN subscription? I think even Visual C++ 6.0 is not possible to download. (Sorry I don't have any MSDN subscription)
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
As David Crow pointed out, MSDN has NOT OP's requested OS and compiler.
Sarath. wrote: Is it really possible to download an unsupported product (especially OS) even we've an MSDN subscription? I think even Visual C++ 6.0 is not possible to download.
You're right about Visual C++ 6.0 : it isn't available on MSDN , anyway Visual Basic 6.0 it still available there and, AFAIK, it is an unsopported product too.
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
[My articles]
|
|
|
|
|
If I remember correctly, Visual C++ 1.0 did not run on Windows 3.0, but Windows 3.1. (Windows 3.1 displaced Windows 3.0 almost immediately.) You could still create Windows 3.0 applications with it. The final version of Visual C++ 16-bit was 1.52c and I still have my CD-ROM for it in my closet (I had to support more than one 16-bit app through the 90s.)
Visual C++ 1.52c and Windows 3.1 are [typically] both available on eBay.
|
|
|
|
|
If I continue failing to find them, then I will ask you eagerly to give me your copy. I want to travel back in time.
Easy Profiler : a compile-time profiler for C++
www.potatosoftware.com
|
|
|
|
|
|
Hi,
when i tried to change LPRECT to CRect as follows..
LPRECT lprect;
CRect crect(lprect);
it throws exception as Access violation..
Please let me know how to convert LPRECT to Crect
|
|
|
|
|
LPRECT is a pointer to a RECT structure. In your case, you didn't initialize the pointer, so whe nthe constructor of CRect is trying the content of the pointer, this causes an access violation.
|
|
|
|
|
it was initialised and having the left,right and top values also..
|
|
|
|
|
Hope u didnt allocated LPRECT?
LPRECT lpRect = new RECT();
lpRect->left = 100;
lpRect->right = 200;
lpRect->top = 230;
CRect rec(lpRect);
otherwise no probs
|
|
|
|
|
Don't you like the bottom part?
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
[My articles]
|
|
|
|
|
They show how to do it [^].
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
[My articles]
|
|
|
|
|
Hi,
May i know how can i get the width of the text inside the button control..
where as using DrawText() function it returns height of the text...
and also i need to drawfocus rect just around the text inside the control...
Please let me know...
|
|
|
|
|
|
kumar sanghvi wrote: May i know how can i get the width of the text inside the button control..
Use GetWindowText() to get the button's text, and then call GetTextExtent() (or related function) to get its width and heighth.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I am using Smart device application & MFC option in VS2005 I want to shut down the PC programatically.
how to do that?
thanks
|
|
|
|
|
|
You just beat me to it.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
«_Superman_» wrote: You just beat me to it.
I had two RedBulls for lunch
|
|
|
|
|
I tried both the functions but they are not working for Smart device application.
thanks
|
|
|
|
|
saksp wrote: they are not working for Smart device application
Try this piece of code; MSDN Link[^]
keybd_event(VK_OFF,0,KEYEVENTF_SILENT,0);
keybd_event(VK_OFF,0,KEYEVENTF_SILENT | KEYEVENTF_KEYUP,0);
sleep(60);
|
|
|
|
|
|
Hi all,
I have CWebBrowser wrapper for IWebBrowser2 class. i use it to run flash and static images.
Problem is sometimes my application crashes because of certain flash that is running inside the web browser. (i can not tell which flash causes this).
i have several computers which has visual studio debugger, so after this crash i see the debugger dialog...
someone has suggested the problem is permission...but i am not sure...
is there a way to catch or neutralizer the crash via IWebBrowser2?
thanks for any thoughts or solutions
Yaron
Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp
don't forget to vote
|
|
|
|