hello
i m in trouble that my project is in vc++ with mfc.my program giving the error that
error c2259:"CExcepti on" cannot instantiate abstract class.
when i remove this error then my project is giving the error in file afxres.rc .according to the error when i remove it and compile or debug the project then this can't save.so what should i do.please help me and can somebody give me the guideline...
User Profile
Collapse
-
error c2259:"CException" cannot instantiate abstract class
-
error in afxres.rc file
hello to every one
I have a project in vc++.My project shows 2 errors in afxres.rc file
error RC2151:cannot reuse string constants 61457(0xF011) - "Points" already defined.Cannot add 61457(0xF011) - "&Hide".
error RC2151: cannot reuse string constants. 61446(0xF006)-"This is not a valid measurement." already defined.Cannot add 61446(0xF006)-" an unnamed file".... -
thanx for ur suggestion
I am using it and there is no problem but in the following code there was syntax problem.please tell me where is the error
VARIANT v;
VariantInit(&v) ;
v.vt=VT_I4;
v.intVal=r;
VARIANT v1;
VariantInit(&v1 );
v1.vt=VT_I4;
v1.intVal=c;
if(cell.Split(( v*),(v1*)))
{
.
.
.
}
it gives... -
thanx for ur response
please tell me how i convert them.but i create a variant which stores integer value.tell me it is right or not.
VARIANT v;
VariantInit(&v) ;
v.vt=VT_14;
V_I4(&v)=r;
Similarly for c.and them i pass it to split function.Please reply.Leave a comment:
-
access the variant
hello
I am creating a VARIANT that stores a integer value of variable but variable is not initialize.In my code the variable are "r" and"c" where r and c are the value of row and column of a table.I am using it in a split function of Cell class of my project.The code for which i create for VARIANT is as follows and syntax of Split function are as follows.Please help me how i use this variant in my code.
The... -
reply
hi lini
thanx for ur rply
but in my code they are not declared that u say.But when i am declared as u say then it will give the error.The error code is as follow
error C2664:'Cell:Spl it': cannot convert parameter 1 from 'int
*' to 'VARIANT *'
Then what should i do.Leave a comment:
-
conversion of integer data type to variant type
hello
Can somebody help me please tell me what is the VARIANT data type.I am using VC++ 8.0. Basically my project is converted from vc++6.0 to vc++8.0.
please tell me how i convert the integer data type to variant data type.
please help me -
Thanx for reply
here i am using vc++ language."r" and "c" are not the pointers they ar the values of row and column in a table.But the split function having the syntax something like
void Split(VARIANT *NumRows,VARIAN T *NumCols);
so the NumRows and NumCols are the number of rows and cols.Is they are having the reference of rows and cols.
Please reply me.Leave a comment:
-
reply
Thanx for reply,
In 2 problem i m using + operator on 2 different objects.Phoneti cStr is a CString type and nChar is a UINT type.nChar having the ASCII values.accordin g to me this code is using for concatenate the variables. In code of the project in one function PhoneticStr=" ";.So what should i do.
In 1st problem no errror is generated in the code basically the split function is not there...Leave a comment:
-
Thanks for reply the full error message is
error C2059:syntax error:','
and the code is
if (cell.Split(r*, c*))
{
.
.
.
.
}
where cell is a variable of Cell class in my project of msword.h file.
then what should i doLeave a comment:
-
error c2059
hello to every one
please tell me what is the error c2059.In my project it is related to the syntax error in Split function of the Cell class. please help me -
vc++
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...Leave a comment:
-
vc++.net
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...
No activity results to display
Show More
Leave a comment: