User Profile

Collapse

Profile Sidebar

Collapse
jainchar
jainchar
Last Activity: Jan 31 '09, 08:14 AM
Joined: Jan 10 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • error c2259:"CException" cannot instantiate abstract class

    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...
    See more | Go to post

  • jainchar
    started a topic error in afxres.rc file
    in C

    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"....
    See more | Go to post

  • jainchar
    replied to access the variant
    in C
    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...
    See more | Go to post

    Leave a comment:


  • jainchar
    replied to error c2059
    in C
    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.
    See more | Go to post

    Leave a comment:


  • jainchar
    started a topic access the variant
    in C

    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...
    See more | Go to post

  • jainchar
    replied to error c2059
    in C
    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.
    See more | Go to post

    Leave a comment:


  • jainchar
    started a topic conversion of integer data type to variant type
    in C

    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
    See more | Go to post
    Last edited by Banfa; Jan 13 '09, 11:44 AM. Reason: These are all related

  • jainchar
    replied to error c2059
    in C
    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.
    See more | Go to post

    Leave a comment:


  • jainchar
    replied to vc++.net
    in C
    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...
    See more | Go to post

    Leave a comment:


  • jainchar
    replied to error c2059
    in C
    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 do
    See more | Go to post
    Last edited by jainchar; Jan 12 '09, 05:49 PM. Reason: change

    Leave a comment:


  • jainchar
    started a topic error c2059
    in C

    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
    See more | Go to post

  • jainchar
    replied to vc++.net
    in C
    thanx for ur reply
    But can u help me that how i create a splited table of word which was used in my project and my project is MFC based
    See more | Go to post
    Last edited by jainchar; Jan 12 '09, 05:44 AM. Reason: correction

    Leave a comment:


  • jainchar
    replied to vc++.net
    in C
    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...
    See more | Go to post
    Last edited by Frinavale; Mar 5 '09, 05:15 PM. Reason: Added [code] tags

    Leave a comment:


  • jainchar
    started a topic vc++.net
    in C

    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...
    See more | Go to post
    Last edited by Frinavale; Jan 12 '09, 06:56 PM. Reason: Moved to the C++ forum for further help
No activity results to display
Show More
Working...