hello to every one;
I have a project in vc++ basically it is a translator software which translate in english to hindi or it translate the office documents like word,excel,powe rpoint.It is developed in visual studio 6.0 and it attached with a database of MS ACCESS which is a base of the project it means the database is a dicitionary for the project.I have two problems in the project:
1. The project is going fine when it is in windows 98 and having office 2000 and now i am change the environment means i compile the project in visual studio 2008 and having office 2007 and XP and VISTA then it give error and it can't work.If here splited table of word is there than it can't work and it stop and hang.So what should i do or can anybody give me the guideline for it.
2. The second one probelm is that it give an error C2593:'operator +' is ambiguous in some code line. so how i resolve this error. please help me.The code where this error is come is as follows:
where PhoneticStr is declared in header file as
extern CString PhoneticStr;
Please help me to resolve both problems.
I have a project in vc++ basically it is a translator software which translate in english to hindi or it translate the office documents like word,excel,powe rpoint.It is developed in visual studio 6.0 and it attached with a database of MS ACCESS which is a base of the project it means the database is a dicitionary for the project.I have two problems in the project:
1. The project is going fine when it is in windows 98 and having office 2000 and now i am change the environment means i compile the project in visual studio 2008 and having office 2007 and XP and VISTA then it give error and it can't work.If here splited table of word is there than it can't work and it stop and hang.So what should i do or can anybody give me the guideline for it.
2. The second one probelm is that it give an error C2593:'operator +' is ambiguous in some code line. so how i resolve this error. please help me.The code where this error is come is as follows:
Code:
void CAnuvadakView::OnChar(UINT nChar,UINT nRepCnt,UINT nflags)
{
.
.
.
.
if(nChar ==8 || nChar==13)
{
if (nChar==8)
PhoneticStr.Delete(PhoneticStr.GetLength()-1);
refresh();
}
if(nChar >=97 &&nChar<=122 || nChar >=65 && nChar <=90|| nChar ==46)
{
PhoneticStr=PhoneticStr+nChar;
.
.
.
.
}
}
extern CString PhoneticStr;
Please help me to resolve both problems.
Comment