Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDaoDatabase Keys Pin
otvac19-Jul-01 2:17
otvac19-Jul-01 2:17 
GeneralDialog in Bho Pin
Winston,Dang19-Jul-01 0:43
Winston,Dang19-Jul-01 0:43 
GeneralRe: Dialog in Bho Pin
19-Jul-01 2:53
suss19-Jul-01 2:53 
GeneralTransfer Data from a List to a new Dialog Pin
Enzi19-Jul-01 0:29
Enzi19-Jul-01 0:29 
GeneralRe: Transfer Data from a List to a new Dialog Pin
Peter Pearson19-Jul-01 1:13
Peter Pearson19-Jul-01 1:13 
GeneralRe: Transfer Data from a List to a new Dialog Pin
Enzi19-Jul-01 1:18
Enzi19-Jul-01 1:18 
QuestionCString or string? Pin
Gérald Mercet18-Jul-01 23:57
Gérald Mercet18-Jul-01 23:57 
AnswerRe: CString or string? Pin
19-Jul-01 3:12
suss19-Jul-01 3:12 
Its entirely up to you as to whether you use CString or LPCSTR's

if you use CStrings:

CString a,b,c;
a="hello";
b="world";
c=a + b;
// c is now "helloworld"

or, if you use LPCSTR's:

char a[]="hello";
char b[]="world";
LPCSTR c; // LPCSTR is just a long pointer to a char
c=new char[80]; // some allocation

c=a+b; // is wrong and will probably crash your program
strcpy(c,a);
strcat(c,b);

// c now points to a string "helloworld"



Generalhwnd of ctreectrl Pin
18-Jul-01 23:27
suss18-Jul-01 23:27 
GeneralRe: hwnd of ctreectrl Pin
Tomasz Sowinski19-Jul-01 0:11
Tomasz Sowinski19-Jul-01 0:11 
GeneralODBC and Visual C++ 6.0 SP5 Pin
18-Jul-01 22:25
suss18-Jul-01 22:25 
GeneralRe: ODBC and Visual C++ 6.0 SP5 Pin
19-Jul-01 3:13
suss19-Jul-01 3:13 
GeneralRe: ODBC and Visual C++ 6.0 SP5 Pin
Bret Faller19-Jul-01 13:17
Bret Faller19-Jul-01 13:17 
QuestionHow to know the database server? Pin
Jose Fco Bonnin18-Jul-01 22:12
Jose Fco Bonnin18-Jul-01 22:12 
QuestionIs it possible that exe file will return a value ? Pin
18-Jul-01 21:45
suss18-Jul-01 21:45 
AnswerRe: Is it possible that exe file will return a value ? Pin
18-Jul-01 23:15
suss18-Jul-01 23:15 
GeneralThank but I did not understand you !!!! Pin
19-Jul-01 4:48
suss19-Jul-01 4:48 
GeneralRe: Thank but I did not understand you !!!! Pin
19-Jul-01 20:14
suss19-Jul-01 20:14 
GeneralDrawing To DCs with Win32 (Not MFC) Pin
James Bird18-Jul-01 21:28
James Bird18-Jul-01 21:28 
GeneralRe: Drawing To DCs with Win32 (Not MFC) Pin
Tomasz Sowinski18-Jul-01 23:46
Tomasz Sowinski18-Jul-01 23:46 
GeneralRe: Drawing To DCs with Win32 (Not MFC) Pin
19-Jul-01 4:14
suss19-Jul-01 4:14 
GeneralRe: Drawing To DCs with Win32 (Not MFC) Pin
Tomasz Sowinski19-Jul-01 4:36
Tomasz Sowinski19-Jul-01 4:36 
GeneralUsing of two table in one CDaoRecordset object ... Pin
Hadi Rezaee18-Jul-01 20:57
Hadi Rezaee18-Jul-01 20:57 
GeneralRe: Using of two table in one CDaoRecordset object ... Pin
19-Jul-01 1:17
suss19-Jul-01 1:17 
GeneralRe: Using of two table in one CDaoRecordset object ... Pin
Hadi Rezaee21-Jul-01 18:49
Hadi Rezaee21-Jul-01 18:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.