Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Software (http://www.velocityreviews.com/forums/f6-software.html)
-   -   Error: expected constructor, destructor or type conversion before '(' token (http://www.velocityreviews.com/forums/t674921-error-expected-constructor-destructor-or-type-conversion-before-token.html)

suse 03-09-2009 03:25 AM

Error: expected constructor, destructor or type conversion before '(' token
 
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

line 11_DECL_SPEC int __stdcall  ReadImage(char *pucInputImagePath, unsigned char              **ppImageData,        unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1,int iRescaleMax =-1);
line 14_DECL_SPEC int __stdcall  LoadImageSeries(char *pucInputImageFolderPath, int* pSliceCnt, unsigned char ***pppImageData,unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1, int iRescaleMax =-1);
line 18_DECL_SPEC int __stdcall  ReadImage(char *pucInputImagePath, unsigned short **ppImageData,unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1, int iRescaleMax =-1);
line 21_DECL_SPEC int __stdcall  LoadImageSeries(char *pucInputImageFolderPath, int* pSliceCnt, unsigned short ***pppImageData,unsigned int *puiWidth, unsigned int *puiHeight,int iRescaleMin =-1, int iRescaleMax =-1);

line 26_DECL_SPEC void* __stdcall  LoadImageSeries(char *pucInputImageFolderPath, int* pSliceCnt);
line 27_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


All times are GMT. The time now is 03:50 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.