All of a sudden, my vista machine has decided that it does not like my programming style.
When I do a certain action in my program, DEP terminates my process (the action does involve a COM interop if that makes any diffy?)
I know what DEP is, and how to turn it off, but it will not turn off for my exe... it syas that it must run with DEP on.
Any suggestions?
-
-
While I have encountered similar problems, the only solution I have found is the Microsoft's universal solution: "use FDISK on your computer and reload the operating system".
Yes, this is not a helpful answer however after repeated attempts to fix things the only practical solution was wipe the system and reload the OS. Every time I have gotten a DEP error it boiled down to a improperly installed application.
Vista and your ANTI-VIRUS solution of choice will insist that it must have DEP. -
There is a good explanation (and fix) for this issue here.
-
I've temporarily switched it off entirelydpratt71 said:There is a good explanation (and fix) for this issue here.
bcdedit /set nx AlwaysOff
-
Bad move from a security point of view.jh71283 said:
I've temporarily switched it off entirelydpratt71 said:*snip*
bcdedit /set nx AlwaysOff
Are you sure you're getting the parameter types correct for the COM interop, and marshalling everything that's returned?
-
Pretty sure, the code in question has been untouched for months, and has never had a problem.blowdart said:
Bad move from a security point of view.jh71283 said:*snip*
Are you sure you're getting the parameter types correct for the COM interop, and marshalling everything that's returned?
-
Hmm weirdness. A date issue perhaps somewhere in the COM component? I know DEP has triggered for me when i forgot to marshall strings and they ended up being disposed.jh71283 said:
Pretty sure, the code in question has been untouched for months, and has never had a problem.blowdart said:*snip*
-
If you've recently installed .NET Framework 2.0 SP1 or switched to .NET Framework 3.5, then it's likely the problem has always been lurking, but previously went unnoticed.jh71283 said:
Pretty sure, the code in question has been untouched for months, and has never had a problem.blowdart said:*snip*
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.