Hello,
I am using external library in my driver and I’d like to know whether this library uses floating point operations. Is there any way I can check it during runtime or compile time?
May be, there is a way to disable floating point unit so that there will be crash or exception when trying to use floating point operation.
Any help will be appreciated.
Thanks.
Now way to tell at runtime other than randomly corrupting state… At compile time you may get a linker error for an undefined symbol, _fltused. Regardless, you can’t just repurpose a library written for um to be used in km, it needs to be targeted for km at the start.
d
dent from a phine with no keynoard
-----Original Message-----
From: xxxxx@wisair.com
Sent: Wednesday, March 23, 2011 2:36 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Using Floating Points in Drivers - how to recognize it?
Hello,
I am using external library in my driver and I’d like to know whether this library uses floating point operations. Is there any way I can check it during runtime or compile time?
May be, there is a way to disable floating point unit so that there will be crash or exception when trying to use floating point operation.
Any help will be appreciated.
Thanks.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer