| | Rating Thread /
Thread Starter | Last Post  | Replies | Views |
|  | For a command line application,how to handle ctrl + c, so as to do clean up
and then close the application.
I dont want the application to close...
Alamelu
|
01-06-2009 12:13 PM
Alamelu | 0 | 230 |
|  | I have a C++/MFC application that uses MSFLXGRD.OCX to display results. In
VS2005, I use MSFLXGRD.MSM to distribute that control with my...
Jim Walsh
|
01-06-2009 10:03 AM
Jim Walsh | 0 | 177 |
|  | Tried to extend the MenuItem class, following an example in C#. Below is the
code in C++
public ref class ImageMenuItem: MenuItem
{
private: static...
Prats
|
01-06-2009 06:59 AM
Armin Zingler | 1 | 160 |
|  | I know that Visual C++ can compile C code. How do I do this? For example,
here is a hello world program in c:
#include <stdio.h>
int...
BigDaddyCool
|
01-05-2009 01:03 PM
Brian Muth | 6 | 222 |
|  | I have a ListView that I'm using in virtual mode. I am also using
owner draw. When the mouse howers over a line in the ListView the line
is...
kelvin.koogan@googlemail.com
|
01-05-2009 07:06 AM
kelvin.koogan@googlemail.com | 0 | 147 |
|  | I have an application developed in C++/CLI using dot NET 3.5
I tested on windows XP, Windows Vista Basic and Vista Home premium
It does not run on...
Prats
|
01-05-2009 01:11 AM
Prats | 2 | 160 |
|  | The operators << and >> are not available for the atl version of CString, so
assuming I derive a class from CString, say CStringS, how do I add...
Kiarra
|
01-04-2009 06:03 AM
Kiarra | 2 | 221 |
|  | Hi gurus:
I found the WinLogon process occupied 500 mega bytes when I run my test.
after three days, I can't figure it out. 'Cause my program have...
hangaround
|
01-03-2009 08:24 PM
hangaround | 0 | 168 |
|  | Is the below code thread safe, in multithreaded environments will a race
condition happen as we are using static
Singleton* Singleton::Instance...
Alamelu
|
12-30-2008 04:57 PM
Ben Voigt [C++ MVP] | 2 | 143 |
|  | Hello.
Does anybody know what this conversion (?) does? I don't understand the
underline in front of the DWORD.
Thank you.
Tim
Tim Daim
|
12-29-2008 09:14 AM
Ben Voigt [C++ MVP] | 5 | 218 |
|  | Hello,
I am trying to register my own unique window class.
The registration seems successful (the window is
displayed and there are no error...
jc
|
12-29-2008 05:06 AM
Mihai N. | 6 | 228 |
|  | 1) i have a windows form based (CLR , visual studio 2005 )
application , which is running fine.
2) i have two more application in MFC ( VC++, visual...
xxx
|
12-29-2008 03:49 AM
xxx | 0 | 138 |
|  | Hello,
I am reposting this question, because the previous time I
posted the question it states; "Community Message Not Available"???
Anyway, I am...
jc
|
12-27-2008 09:11 AM
jc | 0 | 163 |
|  | 1. How to include any type of file
in MFC *.exe file at design-time?
2. How to launch them without extracting ?
3. How to exctract them ?
4. How to...
Alur
|
12-26-2008 06:25 PM
Ben Voigt [C++ MVP] | 1 | 146 |
|  | Hi,
I needed to upgrade my system so I backed up my 1st system using Norton
Ghost to a third drive then swapped out my Mother Board (Intel DG45ID...
okmatthew
|
12-26-2008 06:05 PM
Ben Voigt [C++ MVP] | 1 | 136 |
|  | When I manyally register *.ocx or *.dll files like this
regsvr32 mydll.dll
everything is normal.
1. But how to install(register) them
automatically...
Alur
|
12-26-2008 04:44 PM
PvdG42 | 1 | 139 |
|  | How to convert long to CString ?
Sir
|
12-26-2008 06:25 AM
David Wilkinson | 1 | 123 |
|  | How to convert long to CString
and back (vice-versa) ?
Alur
|
12-26-2008 01:41 AM
Alur | 0 | 161 |
|  | If server program Access 2002 is installed everything is normal.
But when I use a VC++ *.exe file with a *.mdb
in the WXPSP2 system without...
Alur
|
12-26-2008 01:31 AM
Alur | 0 | 183 |
|  | Dear David.
Thank you.
Sir
|
12-26-2008 12:52 AM
Sir | 5 | 173 |
|  | I am trying to use a 3rd party dll that only comes with a .def file (no
..lib). Where do I specify in project settings to use that .def file? I...
jerryk571
|
12-25-2008 08:36 PM
jerryk571 | 0 | 138 |
|  | I'm using ADO in VC++6
#import "C:\Program Files\Common Files\System\ado\msado15.dll" \
rename( "EOF", "adoEOF" )
and so on.
Everything is...
Sir
|
12-25-2008 12:39 PM
Cholo Lennon | 1 | 139 |
|  | Hello,
I added a new pane to the status bar. I receive the
message in the OnUpdateLevelPane. In the message
handler I set Enable(false), but the...
jc
|
12-23-2008 11:56 AM
jc | 1 | 218 |
|  | Hi,
I want to check if cstring contains alphabets, numerics and comma. No other
characters are allowed. Any methods available in cstring?
The below...
Alamelu
|
12-23-2008 12:46 AM
Mihai N. | 1 | 186 |
|  | What is the fastest way to clear the contents of a ListView?
listView1->Clear() takes far too long.
Cheers,
K
Kevin White
|
12-22-2008 07:31 PM
Jack Jackson | 2 | 158 |
|  | I wanto use a packed structure with a malloc. But the pack pragma only
applies to data declarations not typdef. is this possible in C/C++?
eg I...
das
|
12-22-2008 02:57 PM
Pavel A. | 2 | 158 |
|  | I have this "debug" error that continually pops up when online or playing a game and it is very annoying. Can anyone tell me how to disable this so...
Margaret Amonett
|
12-22-2008 12:55 PM
Margaret Amonett | 0 | 158 |
|  | I am using visual c++ 2008 express. When I try to open the form designer I
get the error:
Invalid class string (Exception from HRESULT: 0x800401F3...
Randomweirdo
|
12-22-2008 06:31 AM
Randomweirdo | 0 | 190 |
|  | Hi,
I converted a project in VC6 to VC8 and performed a clean build after
compiling stdafx.cpp separately.
In project settings i am using "Use...
Alamelu
|
12-22-2008 12:54 AM
Alamelu | 0 | 153 |
|  | Hi
Is there some good MySQL database sample use C# or VC or MFC ?
Is there some good api or library that I can access MySQL without MySQL...
Kid
|
12-21-2008 06:13 PM
Mark Rae [MVP] | 2 | 138 |
|  | Hello,
CPtrArray *pArrTable;
CPtrArray m_pArrTable
pArrTable = &m_pArrTable;
I'm getting a compiler error from the following line of...
jc
|
12-21-2008 10:17 AM
jc | 2 | 162 |
|  | Dear All,
I have upgraded my source code from VS 2003 to VS 2005, and my code is
breaking due to the _SECURE_ATL macro in some methods of ATL. As it...
Ejaz ul Haq
|
12-19-2008 11:46 AM
DarKo | 12 | 539 |
|  | Recent review of PDC-2008 while searching for any improvement / enhancement
of C++/CLI and/or future directions was a disappointment. While...
Eduardo Sobrino
|
12-19-2008 10:42 AM
Ben Voigt [C++ MVP] | 12 | 239 |
|  | Hi,
I have a legacy c++ application which uses wxWindows to create it's
GUI. We have ported it to VC 8 (2005) using the old syntax switch.
Then we...
Saad
|
12-19-2008 04:10 AM
Saad | 0 | 151 |
|  | Hi,
I'm sorry in advance for a possibly stupid question, but I'm very new to
..net.
I have old code in C++ that should be implemented in a .net...
Dirk Schippers
|
12-18-2008 05:08 PM
Armin Zingler | 4 | 152 |
|  | What does the line do after the last colon below?
// faststring.h
class FastString {
char *m_psz
public:
FastString(const char *psz);
//...
Daniel
|
12-18-2008 02:07 PM
Daniel | 2 | 186 |
|  | i have some experience using VC++ and Visual Basic (VB) but would like to use
some VB classes in VC++ (legacy) code that is updated to VS2005. I've...
DickG
|
12-18-2008 09:07 AM
Ben Voigt [C++ MVP] | 7 | 182 |
|  | In C++, what are the technical differences between definition and
declaration?
--
Daniel
Daniel
|
12-17-2008 04:08 PM
Armin Zingler | 1 | 159 |
|  | Hello,
How can I programmatically change the value of string in a Resource file?
STRINGTABLE
BEGIN
ID_MY_STRING "Change this string"
END
Thanks,
jc
|
12-16-2008 01:08 PM
Pavel A. | 1 | 157 |
|  | I get this error: C Run-Time Error R6002C Run-Time Error R6002
What do I need to do?
Thanks for the help
R6002C Run-Time Error R
|
12-15-2008 09:14 PM
David Connet | 1 | 118 |
|  | Hello, programmers.
How can I use the code in a managed dll from a standard Dll,
without using COM ?
Thanxs in advance
Bruno Neves Pires Silva
Bruno Neves Pires Silva
|
12-15-2008 07:48 PM
Ben Voigt [C++ MVP] | 4 | 104 |
|  | This is advanced calculator developed in C#.Net. This will help you
learn the math’s functions available in C# and how to perform the
complex...
GeorgeRXZ
|
12-14-2008 12:23 PM
GeorgeRXZ | 0 | 123 |
|  | typedef struct tagTABLE_INFO_STRUCT
{
CString strCategory;
CString strDescription;
CString strItem;
}TABLE_INFO_STRUCT, *PTABLE_INFO_STRUCT;
int...
jc
|
12-09-2008 06:12 PM
jc | 3 | 121 |
|  | I have a junior co-worker who rather than performing a manual backup of the
information store to flush the transaction logs and free up drive space,...
John M
|
12-07-2008 05:43 PM
John M | 1 | 92 |
|  | I AM USNING WINDOW VISTA HOME EDITION....WHENEVER I TRY TO PRINT SOMETHING
"PRINT TO FILE" DIALOG BOX APPEARS, WHICH ASK FOR OUTPUT FILE...
Oscar
|
12-07-2008 04:43 PM
Oscar | 0 | 103 |
|  | Two pure c++ processes running, how can they communicate with each other?
(No MFC, No DCOM, No Sockets.)
J
Jessica
|
12-06-2008 10:59 PM
Ben Voigt [C++ MVP] | 2 | 115 |
|  | Many types of files have a number of "extended properties" beyond the
basic file size, creation time, modified time, accessed time, etc.
For example...
daveh551
|
12-04-2008 04:40 PM
daveh551 | 0 | 97 |
|  | I have two questions.
First, when you allocate memory like this
SomeMethod(new SomeVariable);
rather then this
SomeVariable sm = new...
DaTurk
|
12-04-2008 02:56 PM
DaTurk | 0 | 88 |
|  | I am getting the following application error after moving to VC++ 2008 SP1
from VC++ 2008.
The application failed to initialize properly...
S. Heck
|
12-04-2008 10:19 AM
David Connet | 1 | 119 |
|  | On Tue, 2 Dec 2008 13:24:29 -0800, "Bob Altman" <rda (AT) nospam (DOT) nospam> wrote:
Template static data notwithstanding, the method is fine as...
Bob Altman
|
12-03-2008 08:42 PM
Doug Harrison [MVP] | 16 | 207 |