|
Your Product key from your boxed Pro 7 will work as an Anytime Upgrade key. I did that myself on a new netbook I had purchased with Win 7 Starter.
I chose the Anytime Upgrade, and put in my boxed Win 7 product key, and everything went through.
So you're not out of luck.
Rich
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Try [Microsoft QuickC 16 Bit] IDE/Compiler for the C programming language. Its main competitor was Turbo C. (Quick C vs Turbo C , get it? ), Its from the year 1990.
[This] link mentions this:
Emulation
The easiest way to get Turbo C/C++ to run is using DOSBOX which emulates the environment of an old 16bit MsDOS computer. This works very well and will allow you to run most programs (even CGA/VGA/SVGA graphics).
If you wish to run Turbo C on Linux there is DOSEMU.
Virtualization
Another option is to run the programs on a Virtual Machine. Think of this as running a virtual computer on your computer. The VM emulates a PC and you can load an OS like an old copy of windows (if you have old disks laying about) or you can use FreeDOS as an OS.
|
|
|
|
|
Thanks for the reply.
As I said earlier, I have used Microsoft Virtual PC and loaded Windows XP 32 bit on it but it was very slow and routinely locked up and lost connection to the host HDD, loosing the contents of any source file I had made changes to
Since them I have installed Oracle VM Virtual Box which seems (so far) to be a much better product.
Thanks again
Tony
|
|
|
|
|
I create MFC application and run its exe on a system where .net is not installed.
What dll i need to copy on new system.
|
|
|
|
|
|
Hi All,
I want to capture screen of dialog and save it in JPEG format in MFC application.
Does anybody have sample code in VC++ for this?
Thanks in advance.
-Amit
|
|
|
|
|
Check if this link will help you <barry's screen="" capture<="" a="">[^]
Every new day is another chance to change your life.
|
|
|
|
|
Hi Chandrasekharan P,
I already have code to capture screen in BMP format.
I want to capture screen in JPEG format.
if you have VC++ code please share it to me.
Thanks in advance.
-Amit
|
|
|
|
|
Use GDI+.
The Image::Save[^] method allows you specify the jpeg file type.
Independent ACN Business Owner- Check out the possibilities for your future!
- Financial independance
- Full time or Part time
- In more than 20 countries through North America, Europe, Asia and the Pacific
- Featuring the ACN IRIS 5000 video phone. See the person you are talking to.
Within you lies the power for good - Use it!
|
|
|
|
|
Thanks all for feedback.
I am new in VC++ MFC programming.
In my application, User presses show dialog button. Then dialog window gets opend. Here after opening dialog I want to save dialog screenshot in. JPEG format to any local folder. Does anybody have sample code? Please help me.
-Amit
|
|
|
|
|
Hi All,
I have got the solution.
Thanks all for help.
-Amit
|
|
|
|
|
Hello all. I'm trying to synthesize alt + space to bring up the output window's menu using SendInput(). For some reason it works on other windows that I click on after compiling, but CMD windows just take it as a space key press. Here's what I have:
Sleep(2500);
INPUT in1 = {INPUT_KEYBOARD};
INPUT in2 = {INPUT_KEYBOARD};
INPUT in3 = {INPUT_KEYBOARD};
INPUT in4 = {INPUT_KEYBOARD};
KEYBDINPUT k1 = {VK_MENU,0,0,0,0};
KEYBDINPUT k2 = {VK_SPACE,0,0,0,0};
KEYBDINPUT k3 = {VK_SPACE,0,KEYEVENTF_KEYUP,0,0};
KEYBDINPUT k4 = {VK_MENU,0,KEYEVENTF_KEYUP,0,0};
in1.ki = k1;
in2.ki = k2;
in3.ki = k3;
in4.ki = k4;
SendInput(1, &in1, sizeof(INPUT));
SendInput(1, &in2, sizeof(INPUT));
SendInput(1, &in3, sizeof(INPUT));
SendInput(1, &in4, sizeof(INPUT));
system("pause");
So this works in other windows and ignores the alt press in CMD windows. Snarl. The alt + space hot key works in CMD windows when I press the keys manually.
|
|
|
|
|
Just a guess but it could be that the key handler for those windows you want to target use GetKeyState[^] or GetAsynchKeyState[^] to check if the ALT key is down or not and SendInput does not change what these will return. I guess you could test for this by manually pressing the ALT key and sending the space with SendInput as you do.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> If it doesn't matter, it's antimatter.<
|
|
|
|
|
I try to compile my project with "Maximize speed /o2"
But when i compile i get:
Command line error D8016 : /o2 and /RTC1 command line options are incompatible
Any one know what can i do about it?
Thanks
|
|
|
|
|
you'll need to disable the "run time error checks" compiler option.
|
|
|
|
|
Either turn off 'Optimize for speed' or 'Run Time Error Checks[^]' as they are apparently not compatible.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> If it doesn't matter, it's antimatter.<
|
|
|
|
|
Hi all,
i have made a CStringArray, and inside that array i have put 5 items of CString type, but i want to add one more item which is int array inside that item.
How can i do this?
Thanks in advance
|
|
|
|
|
What do you really need to do? Do you have to store the integers or their string representation?
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]
|
|
|
|
|
You need to rethink your design; don't mix different types in this way, it will likely lead to problems in the future.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
+5, don't store an int array in a CStringArray
|
|
|
|
|
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Hi ,
I have created C++ library(3 dlls) and I am using these library in my Java UI through JNI. In my JNI I am modifiying jobjectArray i.e. adding data inside my jobjectArray and returning it from JNI. Now my problem is if in future my C++ library changes I will have to change my JNI code. What should I do to 'tune' my JNI so that it will change with minimum impact. Does it require Adapter classes or wrapper clases. Any information on this will help me. Thanks
|
|
|
|
|
[Byrne voice]
Well we can't predict the future
But we're trying to do the best that we can
[/Byrne voice]
I suppose 'the best you can' here is: "follow the KISS principle, keep it simple".
Since you cannot predict the future changes, make your overall design simple and well documented.
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]
|
|
|
|
|
In the main thread of my app i do some work and once in a while i create another helper thread to do some job using: AfxBeginThread function which returns me a CWinThread object reference.
But before i will create once again the helper thread i have to be sure that the previous is done.
Now im using the CEvent object to signal from the helper thread that he is done but my app crashes sometimes.
Can i use the CWinThread object to find out whether the previous thread is done?
Thanks.
|
|
|
|
|
Have a look at MSDN documentation: "Multithreading: Terminating Threads"[^].
The "Retrieving the Exit Code of a Thread" section gives all info you need (read carefully the steps needed in order to retrieve the exit status of a CWinThread ).
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]
|
|
|
|