我的DLL想要关闭它正在运行的程序 [英] My DLL wants to close the program in which it's running
问题描述
大家好,
我正在为现有的C ++ DLL添加一些内容,而我需要添加的其中一个
是一种通用的关闭方式我的DLL正在运行的程序在
中运行(所以我可以关闭任何可能有的程序
加载它)。我可以打电话给exit(0)吗?这似乎是一个非常好的方式来解决这个问题,而且我在想这可能是一个糟糕的想法。任何建议都将不胜感激。
Hi all,
I''m writing some additions to an existing C++ DLL, and one of the
things I need to add is a generic way to close down the program in
which my DLL is running (so I can close down whatever program may have
loaded it). Can I just call exit(0)? That seems like a really
dramatic way to go about this, and I''m thinking that it might be a bad
idea. Any advice would be greatly appreciated.
推荐答案
Robert Rollins写道:
Robert Rollins wrote:
大家好,
我正在为现有的C ++ DLL编写一些附加内容,而我需要添加的其中一个
是一种关闭的通用方法我的DLL正在运行的程序在
中(因此我可以关闭任何可能有的程序
加载它)。我可以打电话给exit(0)吗?这似乎是一个非常好的方式来解决这个问题,而且我在想这可能是一个糟糕的想法。任何建议将不胜感激。
Hi all,
I''m writing some additions to an existing C++ DLL, and one of the
things I need to add is a generic way to close down the program in
which my DLL is running (so I can close down whatever program may have
loaded it). Can I just call exit(0)? That seems like a really
dramatic way to go about this, and I''m thinking that it might be a bad
idea. Any advice would be greatly appreciated.
错误的组。 C ++标准(ISO / IEC 14882:2003)没有讨论
DLL。尝试使用名称中包含windows或microsoft的组。请参阅常见问题解答5.9
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Wrong group. The C++ Standard (ISO/IEC 14882:2003) doesn''t discuss
DLLs. Try a group with windows or microsoft in the name. See FAQ 5.9
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Dnia 10-07-2007 o 07:36:21 red floyd< no ***** @ here.dudenapisa3(a):
Dnia 10-07-2007 o 07:36:21 red floyd <no*****@here.dudenapisa3(a):
Robert Rollins写道:
Robert Rollins wrote:
>大家好,
我正在为现有的C ++ DLL编写一些附加内容,以及其中一个东西我需要添加一个通用的方法来关闭我的DLL正在运行的程序(所以我可以关闭任何程序可能已经加载它)。我可以打电话给exit(0)吗?这似乎是一种非常戏剧化的方式,而且我认为这可能是一个糟糕的想法。任何建议将不胜感激。
>Hi all,
I''m writing some additions to an existing C++ DLL, and one of the
things I need to add is a generic way to close down the program in
which my DLL is running (so I can close down whatever program may have
loaded it). Can I just call exit(0)? That seems like a really
dramatic way to go about this, and I''m thinking that it might be a bad
idea. Any advice would be greatly appreciated.
错误的组。 C ++标准(ISO / IEC 14882:2003)没有讨论
DLL。尝试使用名称中包含windows或microsoft的组。请参阅常见问题解答5.9
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
是的,但让我们不像C-ircusians那样正统! ;)
Yes, but let''s not be so orthodox like C-ircusians! ;)
red floyd< no ***** @ here.dudewrote in message ...
red floyd <no*****@here.dudewrote in message...
Robert Rollins写道:
Robert Rollins wrote:
大家好,
我正在写作对现有C ++ DLL的一些补充,
Hi all,
I''m writing some additions to an existing C++ DLL,
[snip]
[snip]
错误的组。 C ++标准(ISO / IEC 14882:2003)没有讨论
DLL。尝试使用名称中包含windows或microsoft的组。请参阅常见问题解答5.9
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
但是Red,我认为这里有一个''双重链接列表''(std :: list)。 < G>
-
Bob R
POVrookie
But Red, I thought a ''Doubly Linked List'' (std::list) WAS on topic here. <G>
--
Bob R
POVrookie
这篇关于我的DLL想要关闭它正在运行的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!