| Thread | Last Post | Replies |
|
| How do you create an array of pointers to managed types? (C++/CLI) | 23 Oct 2007 13:13 GMT | 11 |
I have an array cli::array<float, 2> and I would like to access a subset of it's values by compiling an array of pointers. But, it's not possible to create an array of type cli:array<cli::interior_ptr<float>, 2>...
|
| build C++ COM for 64-bit platform | 23 Oct 2007 09:50 GMT | 33 |
I am developing C++ COM native code (unmanaged C++) using Visual Studio 2005. I do not take any new features of 64-bit platform, and currently my code runs fine on 32-bit platform (e.g. Windows XP SP2). Now I am researching how to build my code for 64-bit platform (e.g. Windows
|
| DllMain | 23 Oct 2007 09:21 GMT | 12 |
From MSDN, http://msdn2.microsoft.com/en-us/library/ms682583.aspx parameter fdwReason of DllMain has four values, DLL_PROCESS_ATTACH
|
| DLL property | 23 Oct 2007 09:08 GMT | 2 |
I am wondering how to set DLL property (when we select the DLL and using right click to choose properties), like version, language, company, etc.? Do we need to write some code or just need to configure something in Visual Studio 2005?
|
| virtual inheritance | 23 Oct 2007 08:17 GMT | 4 |
I have learned public/private/protected inheritance, but what is virtual inheritance? Here is the sample, class Usable : public virtual Usable_lock http://www.research.att.com/~bs/bs_faq2.html#no-derivation
|
| The various levels of /CLI | 22 Oct 2007 20:57 GMT | 2 |
My program works great in 'vanilla' /CLI, so I tried both '/CLI pure' and /CLI 'safe'. My program continues to compile and run fine in 'CLI pure' (I also use error level 4 and don't even get warning errors), but generates almost 400 compile time errors in '/CLI safe'.
|
| How to update 'Edit Control' text from Timer Callback. | 22 Oct 2007 17:16 GMT | 1 |
I need a way to update an Edit control control in MFC from a timer callback function. How can that be done as we cannot reference dialog box controls from callbacks?
|
| pin_ptr of delegate that spans scope of function | 22 Oct 2007 14:14 GMT | 3 |
I have a C++/CLI library and I'm calling a function, RegisterTraceGuids() that takes a function callback as a parm. I need the callback function to be a managed delegate. In order to do this I create a pin_ptr of the delegate and then pass it to RegisterTraceGuids.
|
| stl vector | 22 Oct 2007 14:03 GMT | 1 |
I am devloping an application in VC++ with Visual Studio 2005. In this applicatin, Threadpool and stl classes are there. All threads will use(sending by pointer to vector) stl vector simultaneously for reading and writing purpose. Sometimes, application getting crash. I think ...
|
| Vista vs XP | 22 Oct 2007 12:47 GMT | 2 |
What are the major features/advantages in vista over xp? Any links are available by microsoft?
 Signature Thanks & Regards,
|
| AddRef and Release function of COM inteface | 22 Oct 2007 07:25 GMT | 9 |
I have noticed a lot of COM samples that the function AddRef and Release function of COM inteface is not synchronized to make it thread safe when dealing with adding/decreasing reference count. Is it needed to synchronize AddRef and Release? Or the COM runtime
|
| trim heading and trailing space | 21 Oct 2007 14:19 GMT | 6 |
I think in built-in C/C++ functions, there is no direct function call to trim heading and trailing space characters, right? So, we have to implement it manually by iterating the string to check character one by one. Support not using MFC.
|
| Try / Catch and Async methods | 21 Oct 2007 03:37 GMT | 3 |
In the System::Speech namespace there asychronous methods on both the SR and TTS sides. For example, RecognizeAsync( ) and SpeakAsync( ). For the purposes of this discussion, it isn't important what these methods do, but how they do them. That is, upon executing these methods, ...
|
| countdown clock | 19 Oct 2007 21:14 GMT | 1 |
I want to create a clock that will countdown the number of days left to a certain event. I want it to show, days, hours, minutes and seconds. If possible I woud like to make it a floating form or if possible to show in the task bar, is this possible to do and were could I find ...
|
| delete this | 19 Oct 2007 15:51 GMT | 4 |
Just interested to learn how C++ implements delete this statement internally. From logical point of view, I can not imagine how to implement a component which destroy itself. What makes me confused is the component is relying on itself even in the
|