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

C / C++ / MFC

 
AnswerRe: SYSTEMTIME Pin
CPallini14-Sep-09 23:49
mveCPallini14-Sep-09 23:49 
AnswerRe: SYSTEMTIME Pin
Randor 15-Sep-09 1:36
professional Randor 15-Sep-09 1:36 
QuestionShowing Error [modified] Pin
Game-point14-Sep-09 22:42
Game-point14-Sep-09 22:42 
QuestionRe: Showing Error Pin
CPallini14-Sep-09 22:59
mveCPallini14-Sep-09 22:59 
AnswerRe: Showing Error Pin
Game-point14-Sep-09 23:20
Game-point14-Sep-09 23:20 
GeneralRe: Showing Error Pin
CPallini14-Sep-09 23:43
mveCPallini14-Sep-09 23:43 
Questiondynamically create controls on dialog box Pin
sunnyram14-Sep-09 22:12
sunnyram14-Sep-09 22:12 
AnswerRe: dynamically create controls on dialog box Pin
CPallini14-Sep-09 22:39
mveCPallini14-Sep-09 22:39 
GeneralRe: dynamically create controls on dialog box Pin
sunnyram16-Sep-09 22:37
sunnyram16-Sep-09 22:37 
QuestionRe: dynamically create controls on dialog box Pin
David Crow15-Sep-09 2:54
David Crow15-Sep-09 2:54 
AnswerRe: dynamically create controls on dialog box Pin
sunnyram16-Sep-09 22:39
sunnyram16-Sep-09 22:39 
QuestionAtivirus-Firewall is blocking a needed global hook! Pin
Russell'14-Sep-09 22:09
Russell'14-Sep-09 22:09 
QuestionRe: Ativirus-Firewall is blocking a needed global hook! Pin
David Crow15-Sep-09 2:56
David Crow15-Sep-09 2:56 
QuestionpRecordset GetItem Pin
MsmVc14-Sep-09 21:38
MsmVc14-Sep-09 21:38 
Hi All
I am try to get values from Mysql database.I am using pRecordset class for get data from Mysql.But it's generate error while the data type is Decimal.
strContent = (char *) (_bstr_t) pRecordset->Fields->GetItem((_bstr_t)"Price")->Value;
Table is 

create table test(A TINYINT(100), B SMALLINT(100), C MEDIUMINT(100), D INT(100), E BIGINT(100), F FLOAT(100,10),
 G DOUBLE(100,10), H DECIMAL(65,20));

insert into test(A,B,C,D,E,F,G,H)values(65,645,365,31311,87655498,46546547.650909090,475735375734573.0000,5323423424.00004343434300000);

AnswerRe: pRecordset GetItem Pin
MsmVc14-Sep-09 22:28
MsmVc14-Sep-09 22:28 
QuestionRe: pRecordset GetItem Pin
David Crow15-Sep-09 3:01
David Crow15-Sep-09 3:01 
QuestionBasics C++ Pin
john563214-Sep-09 21:09
john563214-Sep-09 21:09 
AnswerRe: Basics C++ Pin
Richard MacCutchan14-Sep-09 21:32
mveRichard MacCutchan14-Sep-09 21:32 
QuestionRe: Basics C++ Pin
CPallini14-Sep-09 21:37
mveCPallini14-Sep-09 21:37 
AnswerRe: Basics C++ Pin
_AnsHUMAN_ 14-Sep-09 21:50
_AnsHUMAN_ 14-Sep-09 21:50 
AnswerRe: Basics C++ Pin
KarstenK14-Sep-09 21:54
mveKarstenK14-Sep-09 21:54 
AnswerRe: Basics C++ Pin
«_Superman_»14-Sep-09 22:56
professional«_Superman_»14-Sep-09 22:56 
QuestionSyntax error in INSERT INTO statement Pin
jadhavjitendrar14-Sep-09 19:55
jadhavjitendrar14-Sep-09 19:55 
AnswerRe: Syntax error in INSERT INTO statement Pin
Code-o-mat14-Sep-09 20:32
Code-o-mat14-Sep-09 20:32 
AnswerRe: Syntax error in INSERT INTO statement Pin
CPallini14-Sep-09 21:01
mveCPallini14-Sep-09 21:01 

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.