User Activity

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    Okay, solved this. Change line 271 to 'WSShell.Run("cmd /c " + strBatFile, 0, true);' to avoid the protection violation. All done.

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    Running "Cscript Setup.js", why would I be getting "Permission Denied" errors when creating the temporary batch file (line 266) or the log file (line 285)? These files are supposed to be in my own %tmp% directory (the strings appear correct). Is this script running as a different user?

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    Thanks for the information! There were two problems: PHPStorm took possession of the .js extension (but "Wscript Setup.js" should still have worked, but didn't) and something unregistered the javascript engine (which is why it didn't work). For those who find this comment in the future, this article should help fix both problems: http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html. Cheers, indeed! And thank you.

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    Thank you for what looks like a great improvement over ATL! I'm afraid I'm having trouble with installing the AppWizard in VS2019 Enterprise. Documentation (and comments here and around the web) appear to be "just run it" or "just double-click it". Unfortunately, on my system, that simply edits the script in PHPStorm. Running Setup.js under CScript or WScript tells me "There is no script engine for file extension ".js"". Finally running it under Node.js (my first inclination) produces the error "ReferenceError:...

View All

Personal Data

Username:
aturnbul
Joined:
2021-03-04 19:35:56

Projects

  • No projects to display.

Personal Tools