English 中文(简体)
如何关闭Error 信 从使用C++的其他应用中产生的箱子?
原标题:How to close Error MessageBox generated at the start up of the device from other application using c++?

我的申请书是test.exe,每当我移动装置一间便开始。

我还将<条码>dummy.log文档保存在<条码>上。 MyDevicestartup 翻一番,使我的装置重新启动,一看错误信息箱出现在<条码>dummy.log<>文档中。

I observed in the task manager that shell32 size gets increase whenever i boot my device with the above configuration.

并且还指出,由于<条码>测试.exe,如果在装置boot后出现错误信息箱,壳体大小就会增加。

如果要关闭错误信息箱,那么shell32的大小就会减少,test.exe就不会产生任何问题。

只有<代码>Shell32的大小在以上情况下会增加,在其他情况下,该比例会提高。

I don t know how the error message box is linked with my test.exe application.

我gged弄和检查了,而且我只想到的是,从我的应用程序<代码>i. 测试.exe上关闭错误信息箱。

Edited Section:-

<> 请允许我知道如何检查和安插;从我的申请中,即“测试.exe” ,关闭错误信息箱:

<><>>><>>> 时间编辑:

<><>>>> 并请让我知道,错误信息箱如何与我的申请,即“测试”联系起来? 这是否与时间有关? 我在申请时没有为外部窗口做任何事情。

请回答。

最佳回答

我认为,你可以使用FindWindow 。 内容提要 WM_CLOSE

https://stackoverflow.com/questions/5402158/using-sendmessage-to-send-wm-close-to-another-process”

问题回答
  1. Get the handler to the proccess using this.
  2. Send a mouse event /keystroke to the relvet area using this
  3. Make the program to run on start-up using this

You can see where to sent the information on the Screen by using spy++ 通常列入视觉演播室。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签