Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Error: expected constructor, destructor or type conversion before '(' token

Reply
Thread Tools

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

 
 
suse suse is offline
Junior Member
Join Date: Mar 2009
Posts: 3
 
      03-09-2009
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
expected constructor, destructor, or type conversion before mhubbard C++ 0 04-04-2008 07:14 PM
error: expected constructor, destructor, or type conversion before '<' token amitmool@gmail.com C++ 5 11-05-2007 01:56 PM
Expected constructor, destructor or type conversion before... algatt C++ 2 07-19-2007 07:45 PM
"expected constructor, destructor, or type conversion before '->' token" using a Singleton Damien C++ 5 12-13-2006 12:39 AM
expected constructor, destructor, or type conversion before '*' Preben C++ 6 09-20-2006 07:15 PM



Advertisments