|
First
|
Prev |
Next
|
Last
Pages: 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
STA component call MTA component Hello everyone, Two basic questions about function invocation from STA to MTA. 1. In my understaning, the owning thread of STA should not touch MTA component, and also in MTA there is no message queue for MTA owning thread to pumping messages. My question is, if the owning thread of STA calls MTA comp... 2 Apr 2008 03:15
auto_ptr assignment compile error Hello everyone, I posted the code and related compile error below. My analysis below, 1. I think the reason of compile error is, the copy constructor of Goo accepts const reference as input parameter, so the pf member of input parameter is also treated const? 2. And since auto_ptr does not have a copy cons... 31 Mar 2008 08:04
Is this ok? Is it ok for a thread to close the handle to itself? e.g.: DWORD g_hThread = NULL; LONG ThreadFunc(LPVOID *pVoid) { // do stuff here // self-delete CloseHandle(g_hThread); g_hThread = NULL; } g_hThread = CreateThread(...., ThreadFunc, ...); Lisa ... 31 Mar 2008 11:20
cut a string in file I have a big text file (about 10MB) is there fast way to delete the string xmlns='urn:TMSWebServices' from the file quick? the string will be some where in the first 20 line of the big text file. ... 31 Mar 2008 12:26
Edit tool Does the VC++ Express editor have a tool for finding matching braces or parenthesis? Thanks, gtb ... 30 Mar 2008 08:02
Dependency Microsoft.Windows.Common-Controls in manifest Hi, How do I get VC8 to add a dependency to Microsoft.Windows.Common-Controls in the manifest of my app? In a new MFC app it happens automatically, but in an old app converted from VC6 it doesn't happen and I can't find why. ... 30 Mar 2008 19:25
How to keep console open after exiting so users can read errors? Hi, I've got a few Windows console applications. When the user starts the app in a console and an error message is shown right before the app exits, he can read it. But if it's started not in a console, the console is closed right away. Is there a way to keep the console open if errors are shown? A delay has ... 31 Mar 2008 11:20
_tmain & _TCHAR* Just loaded VC++ Express and started experimenting with it, creating a console app. The signature for main is a little different that what I am accustomed. What is the significance of _tmain and TCHAR vs main and char? int _tmain(int argc, _TCHAR* argv[]) Thanks, gtb ... 29 Mar 2008 14:30
Alternative to strtok? Is there a more elegant way of parsing a delimited string in C++ other than strtok? The equivalent to VB's String.Split would be nice. The string being parsed is read from a file, and semicolon delimited. Variable length (field count). Strtok seems crude, tho it certainly works. I'm just wondering if there's a... 31 Mar 2008 12:59
precompiled header file Hello everyone, Here is my precompiled header settings, -------------------- Create/Use PCH Through File stdafx.h PreCompiled Header File .\Debug/client.pch -------------------- 1. It means all the content before stdafx.h will be precompiled into client.pch? So that each time comp... 31 Mar 2008 09:09 |