First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Lifetime management of InProc server inside an OutProc server
Hello newsgroup, I have the following problem with COM: I have a component inside an OutProc server that is used by my application. This OutProc component creates some InProc components that are used by application. Atfer that, this OutProc component is not used any longer by the application, so it is Release'd.... 16 Apr 2010 04:02
Visual Studio 2010 now released!
.... in case you haven't heard. ... 13 Apr 2010 12:50
using multiple resource file
Hi, I have two resource files and each having its own menu. in the resource1.rc i have menu like File New Exit In resource2.rc i have menu like Options Option1 Option2 Now i need to combine the two menu from resource file and add the menu to window File Option ... 22 Apr 2010 04:07
Initializing an object with auto pointers
std::auto_ptr<BFThread> thread1; case WM_CREATE: thread1 = new BFThread(1, hEvent); break; //////////// I know I should have used BFThread* But how do I take advantage of auto_ptr in this example? I put a direct assignment inside the switch-case statement, but it results in ... 12 Apr 2010 10:19
Static linking to MFC/CRT and Standard C++ libraries
I am in the process of writing a tiny MFC application (developed on Visual Studio 2008) that (for reasons that are too confusing to list) cannot rely on the appropriate redistributables present on the target machine. I cannot do the obvious thing of shipping the redistributables along with application. Please let... 9 Apr 2010 15:39
Destructor called before startThread
Dear all, First some code snippets, ////////////////////////////////////////////////////////////////////////// class Thread { public: Thread(std::auto_ptr<Runnable> runnable_); Thread(); virtual ~Thread(); void start(); void *join(); private: HANDLE hThread; unsigned winThreadID; std::auto_ptr... 12 Apr 2010 07:01
Whole program optimization and debug symbols
Hi! We're currently looking for a Heisenbug here and one facet we're looking at is the two features from the topic. Our setup is an MS Windows CE 6, running on an x86 board. Our code is tompiled using VS2005. A few questions came up: 1. There is a setting in the "General" tab that says "Whole Program Optimiza... 7 Apr 2010 07:53
Legacy Code update problems.
We are currently bringing some old VC 6 code forward to VC 2008. We ran into a problem with the following code snippet. Any ideas why a CArray of vectors won't work? The easy and obvious solution is to just make a vector of vectors. The code appears to function correctly in DEBUG, but will crash in RELEASE mode.... 5 Apr 2010 18:23
rvalue reference questions
I was reading about rvalue refernces in this link http://www.artima.com/cppsource/rvalue.html Most of the thing seems clear to me. But I'm confused in certain parts For eg: In the section Overloading on lvalue / rvalue <quote> class Derived : public Base { std::vector<int> vec; std::strin... 12 Apr 2010 15:55
Mailing follow-ups (was: Re: VC++ 6.0 vs VC++ 8.0)
Richard wrote: [Please do not mail me a copy of your followup] Richard, if you don't want that, you should consider not setting an explicit Reply-To to your email address. This prevents people from doing the right thing by just replying. Cheers! ;) Uli -- C++ FAQ: http://parashift.com/c++-faq-lite ... 31 Mar 2010 17:44
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16