Click here to Skip to main content
16,004,761 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Fonts Pin
Laxman Auti21-May-06 22:32
Laxman Auti21-May-06 22:32 
GeneralRe: Fonts Pin
Hamid_RT21-May-06 22:37
Hamid_RT21-May-06 22:37 
GeneralRe: Fonts Pin
ThatsAlok22-May-06 0:38
ThatsAlok22-May-06 0:38 
QuestionMultilingual Support Problem Pin
NiceNaidu21-May-06 20:56
NiceNaidu21-May-06 20:56 
AnswerRe: Multilingual Support Problem Pin
grigsoft21-May-06 21:23
grigsoft21-May-06 21:23 
GeneralRe: Multilingual Support Problem Pin
NiceNaidu21-May-06 21:30
NiceNaidu21-May-06 21:30 
GeneralRe: Multilingual Support Problem Pin
grigsoft21-May-06 21:32
grigsoft21-May-06 21:32 
QuestionCxImage Pin
surfman1921-May-06 20:52
surfman1921-May-06 20:52 
Hi,
i get some errors if i build cximage with visual c 8:

<br />
c:\cximage\cximage\ximatran.cpp(183) : error C2666: 'div' : 2 overloads have similar conversions<br />
        c:\programme\microsoft visual studio 8\vc\include\stdlib.h(508): could be 'ldiv_t div(long,long)'<br />
        c:\programme\microsoft visual studio 8\vc\include\stdlib.h(482): or 'div_t div(int,int)'<br />
        while trying to match the argument list '(long, int)'<br />
c:\cximage\cximage\ximatran.cpp(301) : error C2666: 'div' : 2 overloads have similar conversions<br />
        c:\programme\microsoft visual studio 8\vc\include\stdlib.h(508): could be 'ldiv_t div(long,long)'<br />
        c:\programme\microsoft visual studio 8\vc\include\stdlib.h(482): or 'div_t div(int,int)'<br />
        while trying to match the argument list '(long, int)'<br />
ximawbmp.cpp<br />
<br />
div_r = div(y + dlineup, 8);<br />
div_r = div(y, 8);<br />
<br />
<br />
c:\cximage\demo\bcmenu.cpp(2603) : error C2065: 'i' : undeclared identifier<br />
c:\cximage\demo\bcmenu.cpp(2604) : error C2227: left of '->nID' must point to class/struct/union/generic type<br />
c:\cximage\demo\bcmenu.cpp(2667) : error C2227: left of '->nID' must point to class/struct/union/generic type<br />
ChildFrm.cpp<br />
<br />
for(int i=num-1;i>=0;--i)pSubMenu->DeleteMenu(i,MF_BYPOSITION);<br />
for(i=m_MenuList.GetUpperBound();i>=0;i--){<br />
	if(m_MenuList[i]->nID==(UINT)pSubMenu->m_hMenu){<br />
<br />
c:\cximage\demo\quantize.cpp(128) : error C2065: 'i' : undeclared identifier<br />
c:\cximage\demo\quantize.cpp(139) : error C2227: left of '->nRedSum' must point to class/struct/union/generic type<br />
c:\cximage\demo\quantize.cpp(140) : error C2227: left of '->nGreenSum' must point to class/struct/union/generic type<br />
c:\cximage\demo\quantize.cpp(141) : error C2227: left of '->nBlueSum' must point to class/struct/union/generic type<br />
c:\cximage\demo\quantize.cpp(142) : error C2227: left of '->nAlphaSum' must point to class/struct/union/generic type<br />
c:\cximage\demo\quantize.cpp(143) : error C2227: left of '->nPixelCount' must point to class/struct/union/generic type<br />
TwainCpp.cpp<br />
<br />
	// Find	the	deepest	level containing at	least one reducible	node.<br />
	for	(int i=nColorBits -	1; (i>0) &&	(pReducibleNodes[i]	== NULL); i--);<br />
	<br />
	// Reduce the node most	recently added to the list at level	i.<br />
	NODE* pNode	= pReducibleNodes[i];<br />
	pReducibleNodes[i] = pNode->pNext;<br />
<br />
	UINT nRedSum = 0;<br />
	UINT nGreenSum = 0;<br />
	UINT nBlueSum =	0;<br />
	UINT nAlphaSum = 0;<br />
	UINT nChildren = 0;<br />
<br />
	for	(i=0; i<8; i++)	{<br />
		if (pNode->pChild[i] !=	NULL) {<br />
			nRedSum	+= pNode->pChild[i]->nRedSum;<br />
			nGreenSum += pNode->pChild[i]->nGreenSum;<br />
			nBlueSum +=	pNode->pChild[i]->nBlueSum;<br />
			nAlphaSum += pNode->pChild[i]->nAlphaSum;<br />
			pNode->nPixelCount += pNode->pChild[i]->nPixelCount;<br />
			free(pNode->pChild[i]);<br />
			pNode->pChild[i] = NULL;<br />
			nChildren++;<br />
		}<br />
	}<br />
<br />
	pNode->bIsLeaf = TRUE;<br />
	pNode->nRedSum = nRedSum;<br />
	pNode->nGreenSum = nGreenSum;<br />
	pNode->nBlueSum	= nBlueSum;<br />
	pNode->nAlphaSum	= nAlphaSum;<br />
	*pLeafCount	-= (nChildren -	1);<br />

AnswerRe: CxImage Pin
GDavy21-May-06 22:34
GDavy21-May-06 22:34 
QuestionUpdateData Problem Pin
VinayCool21-May-06 20:03
VinayCool21-May-06 20:03 
AnswerRe: UpdateData Problem Pin
Naveen21-May-06 20:14
Naveen21-May-06 20:14 
AnswerRe: UpdateData Problem Pin
PJ Arends21-May-06 20:14
professionalPJ Arends21-May-06 20:14 
AnswerRe: UpdateData Problem Pin
Laxman Auti21-May-06 20:14
Laxman Auti21-May-06 20:14 
GeneralRe: UpdateData Problem Pin
VinayCool21-May-06 20:43
VinayCool21-May-06 20:43 
GeneralRe: UpdateData Problem Pin
Nibu babu thomas21-May-06 20:49
Nibu babu thomas21-May-06 20:49 
AnswerRe: UpdateData Problem Pin
VinayCool21-May-06 21:41
VinayCool21-May-06 21:41 
GeneralRe: UpdateData Problem Pin
Nibu babu thomas21-May-06 21:43
Nibu babu thomas21-May-06 21:43 
GeneralRe: UpdateData Problem Pin
Laxman Auti21-May-06 22:24
Laxman Auti21-May-06 22:24 
GeneralRe: UpdateData Problem Pin
Nibu babu thomas21-May-06 22:30
Nibu babu thomas21-May-06 22:30 
Questionrun external app on button click Pin
F.Smadi21-May-06 20:02
F.Smadi21-May-06 20:02 
AnswerRe: run external app on button click Pin
Laxman Auti21-May-06 20:06
Laxman Auti21-May-06 20:06 
AnswerRe: run external app on button click Pin
Hamid_RT21-May-06 20:07
Hamid_RT21-May-06 20:07 
AnswerRe: run external app on button click Pin
Nibu babu thomas21-May-06 20:08
Nibu babu thomas21-May-06 20:08 
AnswerRe: run external app on button click Pin
VinayCool21-May-06 20:08
VinayCool21-May-06 20:08 
AnswerRe: run external app on button click Pin
ThatsAlok22-May-06 0:37
ThatsAlok22-May-06 0:37 

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.