code_junkie

Using 32-bit COM object from C# or VBS on Vista 64-bit and getting error 80004005

Nov 13th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Set CEL = WScript.CreateObject("CQG.CQGCEL.4.0", "CEL_")
  2.  
  3. CQGCEL CEL = new CQGCEL();
  4.  
  5. bcdedit.exe /set {current} nx AlwaysOff
  6.  
  7. bcdedit.exe /set {current} nx AlwaysOn
  8.  
  9. wmic OS Get DataExecutionPrevention_SupportPolicy
Add Comment
Please, Sign In to add comment