I want a clean shut down like xwp extended shutdown feature. With all application
closes cleanly.
So I guess I could call some xwp code to to it for me. But how to do? Is there a
xwp api to start extended shut down?
On 29.10.17 12:58, Andi B. wrote:
I want a clean shut down like xwp extended shutdown feature. With all application
closes cleanly.
Then you should probably better use XWP funcs.
So I guess I could call some xwp code to to it for me. But how to do? Is there a
xwp api to start extended shut down?
The file "xworkplace\branch-1-0\src\startshut\shutdown.c" looks interesting.
Andreas Schnellbacher schrieb:
On 29.10.17 12:58, Andi B. wrote:
I want a clean shut down like xwp extended shutdown feature. With all application
closes cleanly.
Then you should probably better use XWP funcs.
So I guess I could call some xwp code to to it for me. But how to do? Is there a
xwp api to start extended shut down?
The file "xworkplace\branch-1-0\src\startshut\shutdown.c" looks interesting. >>
I think there must be a simpler method than integrating xwp code in my
own program. Something like 'send xwp (xcenter) button extended
shutdown'. Maybe the sendmsg package can do something like this?
Andreas
Andi B. schrieb:
Andreas Schnellbacher schrieb:
On 29.10.17 12:58, Andi B. wrote:
I want a clean shut down like xwp extended shutdown feature. With all application
closes cleanly.
Then you should probably better use XWP funcs.
So I guess I could call some xwp code to to it for me. But how to do? Is there a
xwp api to start extended shut down?
The file "xworkplace\branch-1-0\src\startshut\shutdown.c" looks interesting.
I think there must be a simpler method than integrating xwp code in my
own program. Something like 'send xwp (xcenter) button extended
shutdown'. Maybe the sendmsg package can do something like this?
Andreas
Just found \XWorkplace\bin\xshutdwn.cmd. It's as simple as system("xshutdwn.cmd");
Solved. :-)
Andi B. schrieb:
Even better -
object = WinQueryObject("<WP_DESKTOP>");
fSuccess = WinSetObjectData(object,"XSHUTDOWNNOW=POWEROFF,NOCONFIRM;");
Andreas
Andi B. schrieb:
Andi B. schrieb:
Andreas Schnellbacher schrieb:
On 29.10.17 12:58, Andi B. wrote:
I want a clean shut down like xwp extended shutdown feature. With
all application
closes cleanly.
Then you should probably better use XWP funcs.
So I guess I could call some xwp code to to it for me. But how to
do? Is there a
xwp api to start extended shut down?
The file "xworkplace\branch-1-0\src\startshut\shutdown.c" looks
interesting.
I think there must be a simpler method than integrating xwp code in my
own program. Something like 'send xwp (xcenter) button extended
shutdown'. Maybe the sendmsg package can do something like this?
Andreas
Just found \XWorkplace\bin\xshutdwn.cmd. It's as simple as
system("xshutdwn.cmd");
Solved. :-)
Even better -
object = WinQueryObject("<WP_DESKTOP>");
fSuccess = WinSetObjectData(object,"XSHUTDOWNNOW=POWEROFF,NOCONFIRM;");
Andreas
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 445 |
Nodes: | 16 (0 / 16) |
Uptime: | 113:50:01 |
Calls: | 9,209 |
Calls today: | 8 |
Files: | 13,483 |
Messages: | 6,054,651 |