Click here to Skip to main content
15,911,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFastest way to render JPEG Pin
iamboy30-Oct-06 17:57
iamboy30-Oct-06 17:57 
AnswerRe: Fastest way to render JPEG Pin
Hamid_RT30-Oct-06 18:20
Hamid_RT30-Oct-06 18:20 
Questionweb server info Pin
apoorva_raje30-Oct-06 17:02
apoorva_raje30-Oct-06 17:02 
Questionhow to let a gui program run in background? Pin
ikohl30-Oct-06 16:21
ikohl30-Oct-06 16:21 
AnswerRe: how to let a gui program run in background? Pin
bankai12330-Oct-06 16:23
bankai12330-Oct-06 16:23 
Generalthanks, but seems this one belongs to other vb.net, or C# Pin
ikohl30-Oct-06 17:28
ikohl30-Oct-06 17:28 
AnswerRe: how to let a gui program run in background? Pin
Mark Salsbery30-Oct-06 17:45
Mark Salsbery30-Oct-06 17:45 
AnswerRe: how to let a gui program run in background? Pin
David Crow31-Oct-06 3:24
David Crow31-Oct-06 3:24 
Questionreg 16bit dll Pin
mahae30-Oct-06 16:04
mahae30-Oct-06 16:04 
AnswerRe: reg 16bit dll Pin
Michael Dunn30-Oct-06 17:14
sitebuilderMichael Dunn30-Oct-06 17:14 
QuestionFor .SVG file to meta file convert Pin
venkat kumar30-Oct-06 15:38
venkat kumar30-Oct-06 15:38 
AnswerRe: For .SVG file to meta file convert Pin
Christian Graus30-Oct-06 16:29
protectorChristian Graus30-Oct-06 16:29 
QuestionPrint of Directory Tree Pin
chrisKone30-Oct-06 15:37
chrisKone30-Oct-06 15:37 
AnswerRe: Print of Directory Tree Pin
chrisKone30-Oct-06 18:19
chrisKone30-Oct-06 18:19 
AnswerRe: Print of Directory Tree Pin
Hamid_RT30-Oct-06 18:38
Hamid_RT30-Oct-06 18:38 
GeneralRe: Print of Directory Tree Pin
chrisKone30-Oct-06 21:19
chrisKone30-Oct-06 21:19 
GeneralRe: Print of Directory Tree Pin
Hamid_RT31-Oct-06 8:01
Hamid_RT31-Oct-06 8:01 
GeneralRe: Print of Directory Tree Pin
David Crow31-Oct-06 3:25
David Crow31-Oct-06 3:25 
QuestionCan't find msvcr80.dll in debug version Pin
FengShang30-Oct-06 15:26
FengShang30-Oct-06 15:26 
Questionerror with inserting the record in database Pin
With_problem30-Oct-06 14:30
With_problem30-Oct-06 14:30 
I am using this code for inserting the data in msaccess database............
<br />
	m_TQuote.Open();        // addedd  for database<br />
	m_bInserting = FALSE;  // addedd for datbase<br />
    DoModal();<br />
     <br />
	//GetDlgItemText(IDC_EDIT1 ,m_MainEdit);<br />
	//GetDlgItemText(IDC_EDIT1,m_TQuote.m_ID,m_TQuote.m_DateTimeStamp,m_TQuote.m_MarketNo,m_TQuote.m_Bid,m_TQuote.m_MarketName,m_TQuote.m_Ask,m_TQuote.m_MarketState);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_DateTimeStamp,);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketNo);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_Bid);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketName);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_Ask);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketState);<br />
	<br />
	HRESULT hr = 0;<br />
		if (m_bInserting)<br />
	{<br />
		hr = m_Set.Insert();   // add new row<br />
	}<br />
	else<br />
	{<br />
		hr = m_Set.SetData();  //update row<br />
	}<br />
	m_bInserting = FALSE;<br />
<br />
<br />


But i am getting this error can anybody help me to solve this problem:
Error are :
<
1): error C2664: 'int __thiscall CWnd::GetDlgItemTextA(int,class CString &) const' : cannot convert parameter 2 from 'double' to 'class CString &'
A reference that is not to 'const' cannot be bound to a non-lvalue
2): error C2664: 'int __thiscall CWnd::GetDlgItemTextA(int,class CString &) const' : cannot convert parameter 2 from 'union tagCY' to 'class CString &'
A reference that is not to 'const' cannot be bound to a non-lvalue
3): error C2664: 'int __thiscall CWnd::GetDlgItemTextA(int,class CString &) const' : cannot convert parameter 2 from 'union tagCY' to 'class CString &'
A reference that is not to 'const' cannot be bound to a non-lvalue
4): error C2664: 'int __thiscall CWnd::GetDlgItemTextA(int,class CString &) const' : cannot convert parameter 2 from 'char [51]' to 'class CString &'
A reference that is not to 'const' cannot be bound to a non-lvalue
5): error C2664: 'int __thiscall CWnd::GetDlgItemTextA(int,class CString &) const' : cannot convert parameter 2 from 'union tagCY' to 'class CString &'
A reference that is not to 'const' cannot be bound to a non-lvalue
6): error C2664: 'int __thiscall CWnd::GetDlgItemTextA(int,class CString &) const' : cannot
convert parameter 2 from 'short' to 'class CString &'
>
AnswerRe: error with inserting the record in database Pin
FengShang30-Oct-06 14:50
FengShang30-Oct-06 14:50 
GeneralRe: error with inserting the record in database Pin
With_problem30-Oct-06 14:59
With_problem30-Oct-06 14:59 
GeneralRe: error with inserting the record in database Pin
FengShang30-Oct-06 15:04
FengShang30-Oct-06 15:04 
AnswerRe: error with inserting the record in database Pin
Hamid_RT30-Oct-06 18:27
Hamid_RT30-Oct-06 18:27 
QuestionTabs, toolbars, views, and MFC... Pin
dontknowitall30-Oct-06 11:13
dontknowitall30-Oct-06 11:13 

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.