Error: expected constructor, destructor or type conversion before '(' token

Discussion in 'Software' started by suse, Mar 9, 2009.

  1. suse

    suse

    Joined:
    Mar 6, 2009
    Messages:
    3
    please help me out to remove this error....

    Code:
    #ifndef _DICOM_IO_H
    #define _DICOM_IO_H
    
    #ifdef DICOM_IO_EXPORTS
    #define _DECL_SPEC extern "C" __declspec(dllexport)
    #define _DECL_SPEC __declspec(dllexport)
    #else
    #define _DECL_SPEC __declspec(dllimport)
    #endif
    
    [COLOR="MediumTurquoise"]line 11[/COLOR]_DECL_SPEC int __stdcall  ReadImage(char *pucInputImagePath, unsigned char              **ppImageData,	unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1,int iRescaleMax =-1);
    [COLOR="MediumTurquoise"]line 14[/COLOR]_DECL_SPEC int __stdcall  LoadImageSeries(char *pucInputImageFolderPath, int* pSliceCnt, unsigned char ***pppImageData,unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1, int iRescaleMax =-1);
    [COLOR="MediumTurquoise"]line 18[/COLOR]_DECL_SPEC int __stdcall  ReadImage(char *pucInputImagePath, unsigned short **ppImageData,unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1, int iRescaleMax =-1);
    [COLOR="MediumTurquoise"]line 21[/COLOR]_DECL_SPEC int __stdcall  LoadImageSeries(char *pucInputImageFolderPath, int* pSliceCnt, unsigned short ***pppImageData,unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1, int iRescaleMax =-1);
    
    [COLOR="MediumTurquoise"]line 26[/COLOR]_DECL_SPEC void* __stdcall  LoadImageSeries(char *pucInputImageFolderPath, int* pSliceCnt);
    [COLOR="MediumTurquoise"]line 27[/COLOR]_DECL_SPEC int __stdcall  ReadImageSlice(void* ImgSeriesHandle, unsigned int uiSliceNumber, unsigned short **ppfImageData,unsigned int *puiWidth, unsigned int *puiHeight);
    
    #endif
    
    Error : expected constructor, destructor, or type conversion before ‘(’ token HelloEclipse line 11 C/C++ Problem
    Error : expected constructor, destructor, or type conversion before ‘(’ token HelloEclipse line 14 C/C++ Problem
    Error : expected constructor, destructor, or type conversion before ‘(’ token HelloEclipse line 18 C/C++ Problem
    Error : expected constructor, destructor, or type conversion before ‘(’ token HelloEclipse line 21 C/C++ Problem
    Error : expected constructor, destructor, or type conversion before ‘(’ token HelloEclipse line 26 C/C++ Problem
    Error : expected constructor, destructor, or type conversion before ‘(’ token HelloEclipse line 27 C/C++ Problem
    suse, Mar 9, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. seniorwebguy
    Replies:
    1
    Views:
    2,310
    seniorwebguy
    Jul 25, 2006
  2. Juha

    Flash based picture gallery constructor

    Juha, Oct 16, 2005, in forum: Digital Photography
    Replies:
    6
    Views:
    371
    Scott Peterson
    Oct 24, 2005
  3. jerryantony
    Replies:
    0
    Views:
    1,761
    jerryantony
    Nov 4, 2009
  4. Tcole90

    JAVA < identifier > expected error

    Tcole90, Mar 29, 2010, in forum: General Computer Support
    Replies:
    0
    Views:
    4,354
    Tcole90
    Mar 29, 2010
  5. Zuni

    Error: <identifier> expected

    Zuni, Nov 14, 2011, in forum: Software
    Replies:
    0
    Views:
    1,552
Loading...

Share This Page