| Thread | Last Post | Replies |
|
| Adding delegates via += | 28 Dec 2003 14:39 GMT | 4 |
Does the += notation for adding delegates to a delegate pointer object work even if the delegate pointer is 0 ? As an example: __gc class SomeObjectClass { public: void SomeObjectMethod() { } }; SomeObjectClass * someObjectPointer(new SomeObjectClass);
|
| limits.h question | 28 Dec 2003 09:00 GMT | 2 |
Hey, I'm learning about the limits header, and I don't understand one snippit of code. If I code: #include <limits.h> #include <stdio.h>
|
| '$' in C identifiers? | 28 Dec 2003 04:11 GMT | 4 |
Either I'm missing something big here, or there's a problem with the C compiler in .NET 2003; and with the C compiler in Visual Studio 6 SP5 too ... Consider the following 2 lines:
|
| MC++ changing access in a derived class | 28 Dec 2003 00:04 GMT | 6 |
Since a C++ using declaration isn't allowed in MC++, is there a way to specify that a property, method, event, or field's access can be changed in a derived class, ie. is protected in one class and is made public in a derived class ?
|
| bit variable | 27 Dec 2003 21:27 GMT | 2 |
sorry for the dumb question but how do i code a bit variable in c? i mean - shoudlnt the synax need to be: bit j;
|
| Property/Event in Component Designer | 27 Dec 2003 19:51 GMT | 2 |
How does one specify that a given property or event should not be shown in the Component or Windows Form Designer so that the end-user can not manipulate it at design time ? I suspect an attribute exists for doing so, but I have no idea what it is.
|
| Posts and MVP Support on this NG | 27 Dec 2003 19:48 GMT | 3 |
There are very few posts on this NG, and very little MS MVP support. Is there a better NG on the Microsoft news server to post questions about programming with Managed C++ ? I know I can't be the only C++ programmer doing .NET development in that language. If I look at the C# NG, it ...
|
| Event method accessibility | 27 Dec 2003 19:30 GMT | 3 |
According to the CLS specification, the accessibility of the methods for adding, removing, and raising an event must be identical. There appear to be a few problems with this: 1) According to the Managed C++ specifications, if one declares a public
|
| File Load Exception | 27 Dec 2003 19:14 GMT | 1 |
I have a Managed C++ dll to contain an AVI Capture tool. This dll contains a __gc class to interface with a C# application, and a __nogc class to contain calls to the Win32 API and VFW libraries. This code works well on XP, but when I call the constructor for my __gc
|
| Call to webservice doesn't wait to return | 27 Dec 2003 19:11 GMT | 1 |
I have created a ASP.NET web service with a web method. This method retrives data from SQL Server and returns it as an XML string. Now I have added a web reference to this web service in a VC++ 7.1 (unmanaged) project. I call the web method in my VC++ code. The problem I am ...
|
| Writing event methods in MC++ with custom code | 27 Dec 2003 19:10 GMT | 1 |
I understand that specifying an __event, let's call it X, actually generates add_X, remove_X, and raise_X methods in the class of the __event. If one wants to allow the adding, subtracting, and calling of an event from outside the class, and one is implementing these methods for ...
|
| a question about types | 27 Dec 2003 19:09 GMT | 1 |
I am creating an unmanaged Diretcx 9 application but I want to integrate it to my managed c++ application. Here is the problem: I dont want to use
|
| How to get form handle | 27 Dec 2003 04:34 GMT | 2 |
I would like to know a function that returns the handle of a form. The type has to be HWND. I know that there is a funtion (this.Handle) that gives me a handle of type IntPtr but the type I need is HWND.
|
| Return values from __events | 26 Dec 2003 18:22 GMT | 5 |
I am gathering from the documentation that return values from __events are not illegal but are frowned upon in .NET. If this is the case, does one pass back values from an event handler via "in/out" or "out" parameters ? Or is it simply that events are just notifications and are not ...
|
| Visual C++ 2003 optimization bug | 26 Dec 2003 08:36 GMT | 2 |
This piece of code prints "Hello, World!" only once if optimizations are enabled. It is expected to print "Hello, World!" 2^32 times. Optimizations: /O2
|