Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
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 ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900