| Thread | Last Post | Replies |
|
| Can a Timer destroy itself? | 07 Oct 2005 17:51 GMT | 4 |
I'd like to be able to destroy a Timer in it's own event handler. That is, within it's tick handler I'd like to delete the Timer itself (e.g., for one-shot timers). Is this possible? In general, can a class instance destroy itself via one of it's own methods?
|
| Removing EventHandle[s] from a Timer | 07 Oct 2005 16:36 GMT | 1 |
Once I add an event handler to a Timer, how do I remove it? For my purposes it is good enough to remove ALL event handlers as I'll only have one associated with the Timer at any time. Basically, I'm looking for something like:
|
| Floating point fread bug with C++ .NET 2003 [code attached] | 06 Oct 2005 22:00 GMT | 5 |
Couldnt submit this to MS without paying $$$ but here is a bug with C++. This tiny snippet reads from a file containing a single DOUBLE #include<stdio.h> int main()
|
| How does one remove Event Handlers? | 06 Oct 2005 21:56 GMT | 3 |
In general, some controls can have events handlers attached to them, typically via the += operator. How does one remove an event handler added this way? Or, just as good for my purposes, how can one remove all event handlers attached?
|
| GetProcAddress by ordinal from SHLWAPI | 06 Oct 2005 19:07 GMT | 2 |
Is it safe to assume that SHLWAPI exports are at the same ordinal? I checked this at XP, 2000 and 2003, and they had all the same ordinal. Thanks
|
| CoInitializeSecurity() in C# | 06 Oct 2005 17:49 GMT | 2 |
Microsoft has a page titled 'Connecting to the Virtual Server COM Object' I'd expect this to work out of the chute but I am having issues with the (surprise surprise) call to CoInitializeSecurity().
|
| Adding Support for Managed Extensions | 06 Oct 2005 16:59 GMT | 2 |
Hi. i got some trouble including Managed C++. Refering to: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/v cmg_overview.asp. There is no "Compile As Managed" property in the General folder under C/C++.
|
| Declaring GLOBAL managed objects | 06 Oct 2005 13:11 GMT | 3 |
OK. I created a managed class. Now I want to create a global pointer to an instance of the class that the entire application can reference. Yet, when I do something like: MyManagedClass* my_instance ;
|
| LNK1104: cannot open file 'mfc42.lib' | 06 Oct 2005 03:23 GMT | 2 |
I converted VC 6.0 project to VC 7.0. However, I can not build it due to error - LNK1104: cannot open file 'mfc42.lib'. I guess there is a .lib used by this project was compiled by VC 6.0 but I can not get its source code. How can I do? I want to add mfc42.lib to project's library ...
|
| LNK2019 error | 05 Oct 2005 18:19 GMT | 2 |
I hope I am in the correct newsgroup, if not please let me know. I am trying to build a sample for using a certain library ( IFC mapping to C++ classes, see www.cstb.fr) with MS Visual Studio 2003. When building a sample program, I get the error mentioned in the title:
|
| Delegates with non-static callback function | 05 Oct 2005 16:11 GMT | 4 |
I successfully implement a static callback function for my dll usign delegates. Now, I need to use member function instead of static function. How can I make that (in Managed C++). Hugo
|
| Running a process | 05 Oct 2005 13:35 GMT | 2 |
I've written a C program that I want to run inside an Gui wrapper that I started to write in MFC. I have to select some files then kick off a process running the C program. I have the initial dialog file selection stuff written, but am not sure how to run the C program
|
| Most popular programming language? | 05 Oct 2005 08:50 GMT | 4 |
I have recently been assigned the responsibility to conduct a survey for the most popular programming language. I understand that most of will program in C++ alone, but I am conducting this survey in other groups. Please reply with the name of the programming language you use
|
| Setting initial Form location | 05 Oct 2005 00:27 GMT | 2 |
I've tried to set up a Form location via its constructor in the following way (My_Form is derived as a child of the standard Form): My_Form( int x, int y, int w, int h ) {
|
| Migrating legacy C++ code | 04 Oct 2005 20:43 GMT | 3 |
Hi, I'm looking at migrating our existing from Visual Studio (6.00) C++ code to the .NET version of C++ (unmanaged) Can anyone point me towards documention or an overview of this ? Thanks in advance,
|