Ralph,
    It gives me the same error if i include clamav.h or not.  the code i 
pasted was from the .h file, and there is no .cpp file, there are no 
functions to go along with the class.  I have tried to use the SDK to make a 
new class, file->new->class, and its setup the same and i get the same 
errors.

-- 


Scott Erickson
Software Development Team, FB-4, Inc.
[EMAIL PROTECTED]
"Ralph Curtis" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Does your source file name have a .cpp extension? What does clamav.h
> look like?
>
> "Scott Erickson" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi,
>>     I dont know what Im doing wrong, but I must be leaving something
> out
>> that the PalmOS SDK requiers to make a class.  When I try to make a
> class
>> like you would in C++, it gives me parse errors.  Here is what I
> have right
>> now...
>> #ifndef __CLAMAV_WRAP_H__
>> #define __CLAMAV_WRAP_H__
>>
>> #include "clamav.h"
>>
>> class CClLimits
>> {
>> public:
>>  int temp;
>> };
>>
>> class CClNode
>> {
>> public:
>>  int temp2;
>> };
>>
>>
>> #endif
>>
>> here are the errors its giving me...
>> Severity Description Resource In Folder Location Creation Time
>> 2 parse error before `CClLimits' ClamavWrap.h
> VirusGuard/src/ClamAV_H line 6
>> April 27, 2005 8:48:47 AM
>> 2 syntax error before `{' ClamavWrap.h VirusGuard/src/ClamAV_H line
> 7 April
>> 27, 2005 8:48:47 AM
>> 2 parse error before `CClNode' ClamavWrap.h VirusGuard/src/ClamAV_H
> line 12
>> April 27, 2005 8:48:47 AM
>> 2 syntax error before `{' ClamavWrap.h VirusGuard/src/ClamAV_H line
> 13 April
>> 27, 2005 8:48:47 AM
>>
>> It seems im leaving something out, but I cant figure out what it is,
> does
>> anyone know what Im doing wrong?
>> --
>>
>>
>> Scott Erickson
>> Software Development Team, FB-4, Inc.
>> [EMAIL PROTECTED]
>>
>>
>>
>
>
> 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to