| Thread | Last Post | Replies |
|
| Mouse buttons choosing color | 13 Jul 2004 10:48 GMT | 1 |
THis code is straight out of a text book but the color is always black. It is suppossed to draw black with one mouse button and red with the other. Can anyone spot a problem? Thanks. ************ void CMouseDlg::OnMouseMove(UINT nFlags, CPoint point) {
|
| how to use the HOOK | 13 Jul 2004 10:40 GMT | 4 |
i want to receive a message when a window was activated. I use the WH_CBT type hook to process,the code is following: LRESULT CALLBACK CBTProc(int nCode,WPARAM wParam, LPARAM lParam) {
|
| Constructor chaining MC++ | 13 Jul 2004 08:24 GMT | 6 |
how do I accomplish this using MC++? public LandXML() : this(DateTime.Now) { } public LandXML(DateTime now)
|
| "for each" is not supported by vs2005 beta? | 13 Jul 2004 00:33 GMT | 7 |
I heard that vs2005 vc++ support the "for each" statement. I try it in vs2005 by creating a dotnet c++ console program. The code is: #using <System.dll>
|
| Is there any way SSCLI or Mono with C++? | 12 Jul 2004 20:55 GMT | 2 |
as far as I know, neither Shares Source CLI from Microsoft nor Mono can execute a CLR executable generated by Microsoft Visual C++ .NET, which is not a .NET implementation but just "managed extensions" that allows a C++ application to use .NET assemblies - is this part ...
|
| Compile As property | 12 Jul 2004 10:13 GMT | 1 |
I have set the Compile As property of a project to be "Compile as C++ file". However, when I add a new .C file to the project, the Compile As property of the project is not inherited by the file. Do I have to override the property for every .C file? I am using Visual C++.Net 2003.
|
| function pointer | 12 Jul 2004 09:29 GMT | 1 |
I try to get the absolute address of a function in memory. But using the function pointer in C++ .NET gives me the relative address ( which is the address of an instruction jmp ....... to the function ). Is there anyway to get the absolue addess of an function?
|
| Managed extension methods getting renamed | 12 Jul 2004 01:12 GMT | 2 |
I'm writing a wrapper around our legacy code using managed extensions. The problem is that I have a class with a method 'GetUserName()'. Everything compiles without error and I can reference the generated .dll from a C# project. The problem is that my function is now named
|
| Detecting mscorlib.dll? | 12 Jul 2004 00:06 GMT | 6 |
I have a header that is included from some files that use mscorlib and some that don't use it. One of the macros in this file uses the __pin keyword. When this header is compiled with a source file that doesn't use mscorlib I get the following error: fatal error C1190: managed ...
|
| Event Handlers | 11 Jul 2004 17:28 GMT | 4 |
I have a form containing a toolbar which came in a DLL. Now I want to change the behavior of a single button, and have the handling of the others unchanged. Problem: I don't have access to the source code... Can I retrieve the old eventhandler somehow and replace it with my new
|
| Splitter Window | 10 Jul 2004 19:28 GMT | 2 |
I want a window on the left side of my mainframe to put a tree control on, and I want it to be horizontally resizable (like the one you can make appear on the left of the internet explorer window). I'm making a multi-document application. Does anyone know how to do this fairly ...
|
| Object inspector | 09 Jul 2004 18:27 GMT | 3 |
Does anyone know an "Object inspector" component for VC++ .NET? I'm looking for a component that I can use to edit the properties of drawing elements on my CAD application. I'm currently developing with C++ Builder but I´m considering a
|
| ILASM | 09 Jul 2004 17:43 GMT | 4 |
I have some thoughts lately, to get on ILASM. However may someone tell me whether the introduction of generics etc will have as a result additions or changes to the .NET assembly language? Regards,
|
| Object Destruction in Managed C++ code | 09 Jul 2004 14:33 GMT | 2 |
Is it true that for a managed Visual C++ object, you can write a destructor and call that destructor to deallocate that object's memory (just like with an unmanaged C++ object)? If this is true, will the Garbage Collector free the object when it runs if
|
| Bug Report: destructor of temporary not called. | 08 Jul 2004 15:43 GMT | 6 |
I'm using VC7.1. The test program at the end of this message initializes a member variable of reference type with a temporary. I believe the program should output
|