-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RegSvr error with version 0.3 #15
Comments
Sorry to hear that. This surprises me, as I never saw that kind of error during my own testing. Can you try running I'm using Windows 10, maybe that has something to do with it. I soon as I get some time I'll try to reproduce this in a Windows 7 x64 virtual machine. In the mean time, one way to gather more details on your side would be to look at the Windows Event Viewer, which can sometimes include information about that kind of error. It might also be worth trying Process Monitor to examine what the regsvr32 process is trying to do while it's failing. |
Thank you, that tells me all I need to know. The problem is that FlexASIO 0.3 is using the GetSystemTimePreciseAsFileTime() function to get timestamps for logging (see 851a68e), but the thing I missed is that this function is only available from Windows 8 onwards, hence the failure. My bad. I was naively assuming that the Windows SDK version targeting system would prevent me from using features that are not available in old versions of Windows, but it looks like I was wrong. I'll try to come up with a fix within the next 24 hours. |
This is fixed in FlexASIO 0.3a. Thanks for the feedback! |
This should prevent accidental use of APIs that are only available on Windows 8 and later. Sadly, it looks like GetSystemTimePreciseAsFileTime() doesn't honour these macros, so this would not have prevented #15; see https://wpdev.uservoice.com/forums/110705/suggestions/35836531. However, perhaps it can prevent this kind of issue for other APIs.
@dechamps Solved on Windows 7. Installation successful! |
When installing FlexASIO-0.3.exe with Windows 7 x64, I get this message:
NB: the previous version 0.2 has been successfully uninstalled before trying to install the new one.
I also tried manually but it seems to be the same error:
The text was updated successfully, but these errors were encountered: