CreateProcess() returns 0
CreateProcess() returns 0, the execution of this code:
ZeroMemory (& TR, sizeof TR);
Si.CB = sizeof is;
result = CreateProcess (NULL, szCommand, NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE |) DETACHED_PROCESS,
NULL, NULL, & TR, & piProcess);
If (result == TRUE) {}
CloseHandle (piProcess.hThread);
If (WaitForSingleObject (piProcess.hProcess, INFINITE)! = WAIT_FAILED)
GetExitCodeProcess (piProcess.hProcess, & dwExitCode);
CloseHandle (piProcess.hProcess);
exitCode = dwExitCode;
}
The exit code is the return value. The documentation describes the following:
Remarks
This function returns immediately. If the process is not completed and the function is successful, the status returned is STILL_ACTIVE. If the process is completed and the function succeeds, the return status is one of the following values:
- The value of output specified in the ExitProcess or TerminateProcess function.
- The value returned by the main or WinMain in the process function.
- The value of the exception to an unhandled exception that caused the end of the process.
Important The GetExitCodeProcess function returns a valid error code defined by the application once the thread ends. Therefore, an application should not use STILL_ACTIVE (259) as error code. If a thread returns STILL_ACTIVE (259) as error, application code that test this value may interpret to mean that the thread is still running and continue to test the completion of the thread once the thread is finished, which could put the application into an infinite loop.
As I understand it, this returns the value returned by hand unless the process still works, in which case it will return 259.
Tags: NI Software
Similar Questions
-
Error in Upgareding of xp to vista
Hello...
my xp's sp3
Vista is ultmate.
at the end of the upgrade process, this error occure:
Windows could not configure one or more system components. To install restarts the computer in the window, and then restart the installation. »
I have try 4 times, but my problem not solved.
Contents of SETUPERR. newspapers are:
2011-05-28 08:07:48, error [0x0808f5] MIG AddDriverFiles: SetupDiBuildDriverInfoList failed [gle = 0 x 00000002]
2011-05-28 08:07:48, error [0x0808f5] MIG AddDriverFiles: SetupDiBuildDriverInfoList failed [gle = 0 x 00000002]
2011-05-28 08:11:04, error [0x08081e] MIG could not load manifest to C:\$WINDOWS.~BT\Sources\dlmanifests\errorreportingfaults-dl.man: class UnBCL::XmlException: hResult = 0 x 0 = 2 line, Position = 134; .
void __thiscall UnBCL::XmlDocument:Load(class_UnBCL::String_*)2011-05-28 08:11:07, error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW (C:\$ WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) could not rule = 0x7f. [gle = 0x0000007f]
2011-05-28 08:11:07, error [0 x 080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr = 0x8007007f. [gle = 0x0000007f]
2011-05-28 08:11:07, error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate-> LoadDllServer (C:\$, WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr = [0x8007007f].
2011-05-28 08:11:12, error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW (C:\$ WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) could not rule = 0x7f. [gle = 0x0000007f]
2011-05-28 08:11:12, error [0 x 080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr = 0x8007007f. [gle = 0x0000007f]
2011-05-28 08:11:12, error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate-> LoadDllServer (C:\$, WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr = [0x8007007f].
2011-05-28 08:11:13, error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW (C:\$ WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) could not rule = 0x7f. [gle = 0x0000007f]
2011-05-28 08:11:13, error [0 x 080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr = 0x8007007f. [gle = 0x0000007f]
2011-05-28 08:11:13, error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate-> LoadDllServer (C:\$, WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr = [0x8007007f].
2011-05-28 08:13:07, [0x08071d] MIG CDownlevelOCStore::GetOCCollection error, failed to load C:\$WINDOWS.~BT\Sources\dlmanifests\errorreportingfaults-dl.man. : Class UnBCL::XmlException: hResult = 0 x 0 = 2 line, Position = 134; .
void __thiscall UnBCL::XmlDocument:Load(class_UnBCL::String_*)2011-05-28 08:13:07, error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW (C:\$ WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) could not rule = 0x7f. [gle = 0x0000007f]
2011-05-28 08:13:07, error [0 x 080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr = 0x8007007f. [gle = 0x0000007f]
2011-05-28 08:13:07, error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate-> LoadDllServer (C:\$, WINDOWS.~BT\Sources\dlmanifests\Microsoft-Windows-IasServer-MigPlugin\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr = [0x8007007f].
2011-05-28 08:13:11, error [0x08081e] MIG could not load manifest to C:\$WINDOWS.~BT\Sources\dlmanifests\errorreportingfaults-dl.man: class UnBCL::XmlException: hResult = 0 x 0 = 2 line, Position = 134; .
void __thiscall UnBCL::XmlDocument:Load(class_UnBCL::String_*)2011-05-28 08:16:34, error [0 x 080389] MIG failed during IDiscovery call-> gather for Plugin = {ServerPath = "Microsoft-Windows-MediaPlayer-DRM - DL\drmmgrtn.dll ', CLSID = {743B7FD2-8427-4b7d-B330-A95618DE2BFC}, ThreadingModel = Apartment}. Error: 0 x 80070057
2011-05-28 08:48:32, error [0 x 080792] MIG COCEventTracing::COCEventTracing call failed StartTrace 87. [gle = 0 x 00000057]
2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\AutoEnrollment [EventMessageFile]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\AutoEnrollment [EventMessageFile]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\AutoEnrollment [TypesSupported]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\AutoEnrollment [TypesSupported]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Tlntsvr [EventMessageFile]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Tlntsvr [EventMessageFile]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\DfsSvc [EventMessageFile]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\DfsSvc [EventMessageFile]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\DfsSvc [TypesSupported]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\DfsSvc [TypesSupported]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\SCardSvr [EventMessageFile]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\SCardSvr [EventMessageFile]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:49:21, error [0x0802b6] MIG could not create object: HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\SCardSvr [TypesSupported]. Mig::Win32ErrorException exception class: Win32ErrorException: Error (0), Skip opening the [HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\SCardSvr [TypesSupported]] registry entry, which is protected by WRP...
void __thiscall Mig::CRegistryDataStore:Create(class_Mig::CDataUnit_*)2011-05-28 08:57:32, error CSI 00000239 (F) done with the generic command 13 (0x0000000d); CreateProcess returned 0, CAPG returns S_OK
Exit code 15 (0x0000000f) resulted in the success? FAKE
Process the output: [l:22 [22] 'Failed = 0x8009000f]"] [gle = 0 x 80004005]."
2011-05-28 08:57:32, error CSI 0000023 b Failed (F) execution of the element of queue Installer: generic commands ({81a34a10-4256-436a-89d6-794b97ca407c}) with HRESULT HRESULT_FROM_WIN32 (14109). Failure will not be ignored: a restore will begin after all operations in the queue of the installer; Setup is reliable (2) [gle = 0 x 80004005]
2011-05-28 08:57:50, error CSI 000006ff@2011/5/28:04:27:50.318 (F) d:\vistartm\base\wcp\componentstore\com\advancedinstallerstore.cpp(377): error HRESULT_FROM_WIN32 (ERROR_ADVANCED_INSTALLER_FAILED) from the Windows::COM:CComponentStore:IAdvancedInstallerAwareStore_ResolvePendingTransactions expression function: status
[gle = 0 x 80004005]
2011-05-28 08:57:53, error CSI 00000700 (F) HRESULT_FROM_WIN32 (ERROR_ADVANCED_INSTALLER_FAILED) #55 # to Windows::COM:CComponentStore_IAdvancedInstallerAwareStore:ResolvePendingTransactions(dwFlags_=_(RollbackOnFailure|0x00000002), progress = NULL, Phase = 0, available = (0 unknown numbered) [3] "|) '0).
2011-05-28 08:57:53, error CSI 00000701 (F) cancel called when waiting I expected that to be resolved [gle = 0x80004005]
2011-05-28 08:57:53, error CSI 00000702@2011/5/28:04:27:53.828 (F) d:\vistartm\base\wcp\componentstore\com\cancel.cpp(453): error E_UNEXPECTED from function Windows::COM:CComponentStore:IAdvancedInstallerAwareStore_Cancel expression: ((HRESULT) 0x8000FFFFL)
[gle = 0 x 80004005]
2011-05-28 08:57:58, error CSI 00000703 (F) #109207 E_UNEXPECTED # of Windows::COM:CComponentStore_IAdvancedInstallerAwareStore:Cancel (dwFlags = 0, TxCount = 1, TxIds = [1:[91]"TI4.800:1126374:4/Microsoft-Windows-Foundation-Package~31bf3856ad364e35~x86~~6.0.6000.16386"[1] "]", Progress = NULL, Disp [6] = "(null)")
2011-05-28 08:57:58, error CSI 00000704 (F) #109206 E_UNEXPECTED # of2011-05-28 08:57:58, CBS startup error: failed to process the queue of advanced operation startupPhase: 0 HR: 0 x 80073713
2011-05-28 08:57:58, error [0 x 030149] CMI Callback_CBS_Do_OnlineInstall:Calling boot 0 x 80073713 treatment failure
2011-05-28 08:57:58, error [0 x 030153] CMI Callback_CMI_ConfigInstall: start treatment of CBS rerun failed.Please help me.
Thank you.
Perform a clean installation
-
Cannot CreateProcess with plugin, AccessDenied returns error 5
Hello
Base:
WinAPI call to CreateProcess fails with Access Denied.
Details:
SDK version 10Adobe Reader version 10
Tested Vista 64-bit/Win7 32-bit environments
More:
I'm developing a plugin that will be used to easily export a PDF file in an application. I added an Additional menu item to the file menu item to do this. The final step for export is to call the application with a pointing to the file to export command line parameter.
I have to do this by calling the windows API CreateProcess. I tested everything in its own environment and it works properly, however, when it is run as a plugin for Adobe Reader X, it fails and returns ERROR_ACCESS_DENIED (error 5).
So far, it has been tested on Vista and Windows 7 with UAC, and user accounts have full administration and ownership of the called executable privileges.Is it possible to do what I'm doing here and create a new process from a plugin?
Thank you, Isaac
Edit: CreateProcessAsUser, CreateProcessWithLogon these two not so. I also tried from the custom in CreateProcess security attributes with no luck.
You should consult the documentation on the new "Protected Mode" in the drive
X.
-
Exit code of CreateProcess for WinRar different in SP2/SP3 and 7
Hi allI am new to windows programming and wrote a small utility with mingw, which will unrar a package. The code is as belowDescription:When the sub program is run, the results are as followsXPSP2 32-bit and Windows 7"Détarer" operation: successReturn code of CreateProcess: no zero (success)Exit code: 0 (success)XP2SP3 32 bit"Détarer" operation: successReturn code of CreateProcess: no zero (success)Exit code: 3221225477Statement of the problemI don't know why in XP2SP3 patch only, the operation of winRar provides the exit as a huge positive value code. Do you find any problem in the code below? Please help in this regard.int main(){String ProgramName = "C:\\Program Files\\WinRAR\\WinRAR.exe"STARTUPINFO StartupInfo;PROCESS_INFORMATION ProcessInfo;Memset (& StartupInfo, 0, sizeof (STARTUPINFO));Memset (& ProcessInfo, 0, sizeof (PROCESS_INFORMATION))If (CreateProcess (() (LPCTSTR) ProgramName.c_str, (LPCTSTR) "WinRAR.exe x y - ibck d:\\abc.tar d:\\"),NULL,)NULL,FAKE,TO NORMAL_PRIORITY_CLASS,.NULL,NULL,& StartupInfo,(& ProcessInfo) == 0){string tmpStr ("execution error");tmpStr += ProgramName.cost<><><"CreateProcess>"CreateProcess>}on the other{String tmpStr ("execution success");tmpStr += ProgramName.cost<><><"CreateProcess>"CreateProcess>WaitForSingleObject (ProcessInfo.hProcess, INFINITE);DWORD ExitCode = 0;If ((ProcessInfo.hProcess & exitCode) GetExitCodeProcess){String tmpStr ("GetExitCodeProcess");tmpStr += ProgramName.cost<><"WinRAR.exe x="" -y="">"WinRAR.exe>}}CloseHandle (ProcessInfo.hProcess);CloseHandle (ProcessInfo.hThread);getch();return 0;}PS: Trail version WinRar 3.8 Mode is used for above tests.Hello
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited to the audience on MSDN. Please post your question in the below link: http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/threads
-
Get the .exe with LaunchExecutable() return value
Hello
I try to get the return value from an .exe file started with LaunchExecutable(). Do you think it is possible or am I wrong?
Thank you!
Adrien T.
Adrien:
If you run the CreateProcess() executable, you can then use GetExitCodeProcess() to read the results.
See more details here: http://digital.ni.com/public.nsf/allkb/E250246D65A6A18D8625659F0065F310
Note that you must have the Windows SDK (aka Win32 API) installed to use CreateProcess/GetExitCodeProcess. The SDK is provided with CVI, but is not installed by default. If you have not installed, reinstall CVI, selecting only SDK or Win32API (depending on the version of the CVI you).
-
Hi guys,.
I'm trying to build my console application using Ant. It is a part of my build.xml
When I try to "build Ant" I get this error returned:
I/o Error: Cannot run program "C:\Program": error CreateProcess = 87, the parameter is incorrect
referring to this line:
I tested the names of directory and environment variables all (the variable
${46.jde.home}
too) is set correctly, but the error is still there... How could I solve this problem?
Thank you very much
Sometimes, the length of the path give birth this error but I have not seen in a while. I ended up installing most of my OCD: \RIM apps to avoid path issues all together.
-
Sierra is a bomb, need help to return to El Capitan
Could someone more at Apple just try it once to make sure that the "new and improved" operating systems actually work before releasing? With all the money goes to Cupertino, there is no money to hire testers rather than rely on Mac users? Talk about Stockholm syndrome. I'll cut to the Chase, now my computer has been upgraded to Sierra without my knowledge, and several apps are now, not to mention that I can't access my company's server today. How to return to El Capitan - can I save all my work from today and use Time Machine to restore my machine? If this isn't the case, should I really erase everything and start from scratch? Someone please stop me to jump on a ledge, I have work I need to pass on to customers. Any suggestions, help, you can give would be appreciated. Carl
Restore your backup, and if you do not upgrade your Mac, who did? Maybe you should tell them not to do the without you knowledge or approval.
-
How can I uninstall Sierra & return to El Capitan without an external hard drive or equivalent required by the instructions online? I find too many misadventures and not happy.
Hello
Check out this useful tutorial: https://www.igeeksblog.com/how-to-downgrade-macos-sierra-to-mac-os-x-el-capitan/
-
Deleted Notes records returned
I have a folder in my Notes (Mac, iOS and iCloud.com) application that returns no matter how many times I delete it.
Here's how I got here: I imported a batch of notes (all in .txt format) and created a new 'imported statement' as expected. I then moved all those notes to my regular 'Notes' folder that is synchronized to my iCloud account. Now that the newly created folder is empty, I'm deleting it. After maybe 40 seconds, he returned. I tried rename and delete then, put a note in it there and delete... it always comes back.
All this experience or have a fix? I can't simply sign on and in, or restart my camera, because it happens everywhere that I can access my notes (iPad, iPhone, iMac, Safari). Thank you.
See if this thread on the similar theme helps.
-
How to display invisible characters (space, return, etc.)
How do you do the Numbers (4.0) app shows invisible characters such as space and return transport?
I'm not aware of a direct way to display invisible characters in numbers - regardless of the version.
-
Sierra Wireless downloaded ElCapitan OK. Restart on the Sierra. Message received! Computer can not find the Wi - Fi equipment? It still works if I returned to ElCapitan! Wi - Fi is not compatible, it is possible to access the internet if I use a cable a very long cable that extends the House and stairway access.
What model Mac Pro?
Wifi originally came with the Mac Pro?
-
I'm trying to compile the "Hello World" code C base with gcc, but the following error message:
LD: library not found for - introduction
collect2: error: ld returned 1 exit status
The code itself is nice, he ran into another computer with no problems.
First gcc had manually, the problem, installed and then uninstalled and installed with homebrew and still have the problem. How can I fix?
(Have the 5.1.0 version of gcc)
Okay, so nobody has responded, but I found a solution. This is the version of gcc, apparently more recent versions have this bug, one that works and compiles the codes is the 4.9 version, in case it would be useful to someone.
-
Hello! I ordered a 7 sillicone iPhone a few days previously in Miami (it is supposed to arrive tomorrow) and yesterday, I decided to send it back. I live in the Venezuela and I would return when I get to get to US, so I don't have to worry about my friend (the one who gets the phone at his home) for this task, but apple sent saying me that I send the rear element by October 9.
I would like to know if I'll have any problem if I return the item by myself in November in the apple store.
Thank you very much!
Hello
The reporting period under Apple's Standard to the United States return policy is 14 days of purchase.
I'm afraid that no one here can tell you that Apple will make an exception in your case - it is a community based on the user.
You have to ask Apple.
-
I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone of Berlin has been sent to California.
You'll have to talk to the German customs and find out what their requirements are to send an iPhone.
-
Need a formula which uses the VLOOKUP and HLOOKUP function to return a single value
I'm creating a worksheet price with multiple values. In the table below if I select size 16 in blue the result must return 19.5
Red Yellow Blue Green size 10 5 6.25 7.5 8.75 12 13 14.25 15.5 16.75 14 15 16.25 17.5 18.75 16 17 18.25 19.5 20.75 20 19 20.25 21.5 22.75 Hi Eric,.
More large table is Table 1.
Formula is C2 of table 2.
C2: = INDEX (1::A1:E7, GAME table (Table a, 1::A, 0), GAME (B2, 1::1:1, 0),-l' surface index)
Kind regards
Barry
Maybe you are looking for
-
Hi guys, I was wonder if anyone can give me a hand with a script. I need to be able to paste a list of file names of the files as follows: 0001.jpg 0002.jpg 0003.jpg 0004.jpg At the moment, if I select the files in the Finder, copy to the Clipboard a
-
How can you fix ios 9.3 the battery life on my iphone?
I have an iPhone 5 c and Ive had for about 8 months now and I've never had a problem with the battery until about 5 days ago I had updated to ios 9.3, the update could drain my battery extremely fast (2 hours to kill my phone when fully charged fligh
-
Problem loading the battery on Satellite L755-1LN
My L755 is fairly new and was working fine. However, the battery is worrying me. Today I turned on and the battery icon showed about 80%. I used the laptop on battery, for about 10 minutes and the screen is empty and not coming back. I plugged in the
-
How can I update the filter of junk mail to Windows Live Mail?
I get Windows updates to filter junk e-mail in Windows Mail, but they also work for Windows LIVE Mail?
-
Original title: upgrade Windows 10 I made an iso file for windows 10. I am waiting to upgrade until all the bugs are being developed. My question is: will the iso file of windows 10 still work to upgrade my computer to windows 7 after the date limit