Seems I am getting a 1314 priviledge not held on Windows 7 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Chris Davis Sent: 09 November 2011 14:37 To: [email protected] Subject: RE: Reboot Windows
Could it be anything to do with it being 64bit Windows 7 and the API call I'm making is 32bit ? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alan Bourke Sent: 09 November 2011 14:30 To: [email protected] Subject: RE: Reboot Windows OK, well that uses the same function you're using internally. Maybe detect if Windows 7, and ShellExecute that shutdown command if so ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

