Hi, i don't know how to describe this clearly.
We have an windows application under win7, it has some "UAC" (user access control) functionality.
After we install our whole SW package, reboot the pc.
The 1st time to run this application, it gives
The Just-in-Time Error error dialog appears quoting OUR_UAC.exe and error code 1080.
(from MSDN)
ERROR_CANNOT_DETECT_DRIVER_FAILURE 1080 (0x438)
Failure actions can only be set for Win32 services, not for drivers.
From Just-in-Time error, i can start the VS to debug this, the stack shows our application is calling new, 2024 chars per processor, total 20 processors in the system.
Then the new is calling some MS internal malloc heap stuff, ...
The funny thing is, if i reboot the pc again, this "Just-in-Time error" will disappear and everything is back to normal.
So i don't know where to ask this question, how come new can fail with a small memory allocation ?
Anyone can point me to the right direction pls ?