Click here to Skip to main content
15,917,971 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fonts changing without me asking them to Pin
Gary R. Wheeler19-Sep-04 15:48
Gary R. Wheeler19-Sep-04 15:48 
Generalserial port: client server communication Pin
thelearnervc16-Sep-04 3:02
thelearnervc16-Sep-04 3:02 
GeneralA tricky problem of converting to string Pin
Anonymous16-Sep-04 2:33
Anonymous16-Sep-04 2:33 
GeneralRe: A tricky problem of converting to string Pin
Paolo Ponzano16-Sep-04 2:48
Paolo Ponzano16-Sep-04 2:48 
GeneralRe: A tricky problem of converting to string Pin
PrashantJ16-Sep-04 3:43
PrashantJ16-Sep-04 3:43 
GeneralRe: A tricky problem of converting to string Pin
David Crow16-Sep-04 4:07
David Crow16-Sep-04 4:07 
GeneralRe: A tricky problem of converting to string Pin
PrashantJ16-Sep-04 4:36
PrashantJ16-Sep-04 4:36 
GeneralRe: A tricky problem of converting to string Pin
David Crow16-Sep-04 5:00
David Crow16-Sep-04 5:00 
I mostly understand what you are asking for, but I'm not sure we are yet on the same page. By using a TCHAR array, the values stored in that array can range from -128 to 127. The 160 and 134 you have stored in there now won't work unless you change the type to be TBYTE instead. TBYTE works with values from 0 to 255.

PrashantJ wrote:
But I could as well get a float/double, date-time, etc.

You would not be able to store 12.34 into a type TCHAR or TBYTE.

Out of curosity, since the database column is numeric, why not bind it to a numeric type?


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


General2 quick questions... Pin
0v3rloader16-Sep-04 2:24
0v3rloader16-Sep-04 2:24 
GeneralRe: 2 quick questions... Pin
Arsalan Malik16-Sep-04 2:48
Arsalan Malik16-Sep-04 2:48 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 3:47
David Crow16-Sep-04 3:47 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 4:26
0v3rloader16-Sep-04 4:26 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 4:39
David Crow16-Sep-04 4:39 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 5:19
0v3rloader16-Sep-04 5:19 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 6:30
David Crow16-Sep-04 6:30 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 8:01
0v3rloader16-Sep-04 8:01 
GeneralOleThreadMainWndName Pin
shiraztk16-Sep-04 1:53
shiraztk16-Sep-04 1:53 
GeneralProblem about char array Pin
sacoskun16-Sep-04 1:49
sacoskun16-Sep-04 1:49 
GeneralRe: Problem about char array Pin
Aamir Butt16-Sep-04 1:55
Aamir Butt16-Sep-04 1:55 
GeneralRe: Problem about char array Pin
Paolo Ponzano16-Sep-04 2:36
Paolo Ponzano16-Sep-04 2:36 
GeneralRe: Problem about char array Pin
sacoskun16-Sep-04 2:56
sacoskun16-Sep-04 2:56 
GeneralFrom CBitmap casting to HBitmap Pin
Andreas BäckerII16-Sep-04 1:30
Andreas BäckerII16-Sep-04 1:30 
GeneralRe: From CBitmap casting to HBitmap Pin
Arsalan Malik16-Sep-04 1:46
Arsalan Malik16-Sep-04 1:46 
GeneralRe: From CBitmap casting to HBitmap Pin
Andreas BäckerII16-Sep-04 23:39
Andreas BäckerII16-Sep-04 23:39 
GeneralRe: From CBitmap casting to HBitmap Pin
Andreas BäckerII17-Sep-04 4:35
Andreas BäckerII17-Sep-04 4:35 

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.