c++-cli
MouseWheel handler doesn't handle MouseEvent with my .NET 2 form
I\'d like to be an early adopter of using the mouse wheel to scroll my document and although the Forms designer doesn\'t publish the onMouseWheel property I have configured the handler programmaticall[详细]
2023-04-09 05:35 分类:问答Any windows API to let me re-log in a "locked" windows 7?
I\'ve built a program running on windows 7 to communicate with a usb device \"power mate\". When I leave my computer, I always press \"WIN+L\" to lock my computer, and when I get back, I press \"CTRL+[详细]
2023-04-09 03:29 分类:问答Destruct Unmanaged object From .NET code
I\'ve wrote a C++ library that is exposed to my VB.NET application through a C++/CLI wrapper. I\'m worried about objects that I\'m shuttling up to the VB.NET application through the wrapper. To use[详细]
2023-04-09 01:17 分类:问答Can you get a pointer to a {System.Array} that is inside a System::Object^?
Ok so I have this program that accepts files the user drags and drops onto a label box.The program is currently able to accept files that are dropped.I then save the files into a System::Object^.Insid[详细]
2023-04-08 13:50 分类:问答raising events in chaining classes
say I have three classes: class1, control1 and form1; form1 instantiate contorl. and control1 instantiate class1, the later produces some event that I need to \'bypass\' to form1, to achieve that I ha[详细]
2023-04-08 10:11 分类:问答Managed C++, Object reference not set to an instance of an object
I\'ve run into this problem before, but never in a situation like this. I\'m completely confused. As the question states, I\'m getting the runtime error \"Object reference not set to an instance of an[详细]
2023-04-08 05:12 分类:问答UInt64 on a 32 bit system, need to generate from UInt32's or array of bytes, how?
To generate UInt64 the following results in \"warning C4293: \'<<\' : shift count negative or too big, undefined behavior\"[详细]
2023-04-07 23:42 分类:问答Keys enumeration, not returning ASCII equivalent for all punctuation
I have the following key handler: void Form1::texBox_KeyDown(System::Object^sender, System::Windows::Forms::KeyEventArgs^e) {[详细]
2023-04-07 11:48 分类:问答Link error while building a C++ Unit test project in VS.NET 2010
I am trying to build a very simple C++ unit test project.The setup is just so happened to be exactly the same as what this blog described.I built a static library TestLib.lib and a C++ unit test proje[详细]
2023-04-07 04:44 分类:问答C++/CLI - URL Download to File
I\'m not entirely familiar with how CLI works, but I have a general idea. I have a function that takes 2 System::String variables, and uses those to download a file from a webpage. As far as the downl[详细]
2023-04-07 01:26 分类:问答