// Pop3.h: interface for the CPop3 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_POP3_H__B540D0A3_4D72_11D2_8ADF_444553540000__INCLUDED_)
#define AFX_POP3_H__B540D0A3_4D72_11D2_8ADF_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#define CONNECTION_CHECK 0
#define USER_CHECK 1 // error C2008: ' ' : unexpected in macro definition
#define PASSWORD_CHECK 2
#define QUIT_CHECK 3 error C2008: ' ' : unexpected in macro definition
#define DELETE_CHECK 4
#define RSET_CHECK 5 error C2008: ' ' : unexpected in macro definition
#define STAT_CHECK 6 error same
#define NOOP_CHECK 7 error same
#define LIST_CHECK 8 error same
#define RETR_CHECK 9 error same
////////////////////////////////////////////////////////////////////////////
/
class CPop3
{
public:
BOOL List(); //error C2018: unknown character '0xa0'
CWordArray m_SizeOfMsg; error C2018: unknown character '0xa0'
CString GetErrorMessage(); error same and four times
CString GetPassword(); error same and twelve times // Getting
Password stored in class
void SetPassword(CString& Password); error same // Setting Password in
class
CString GetUser(); same error
...
[SNIP]
> void SetPassword(CString& Password); error same // Setting Password in
>class
> CString GetUser(); same error
>...
I would hazard a guess that the source file contains some dodgy character or
sequence of characters (which are invisible to the eye) at the end of each
line, which is confusing the hell out of the compiler. Try cutting and
pasting each line SEPARATELY, being careful to only extend the selection you
cut to the last VISIBLE character, into a fresh file (I hope your code isn't
too long in this file), then recompile. Alternatively, use some noddy little
program to scan the lines of the source file and strip off any non-printing
characters from the end of each line (but to put a genuine "\r\n" at the
end, so that the lines still come out on separate physical lines!).
Does this help?
_ _
o o Jason Teagle
<
v jte...@solartron.com
Please ONLY respond via e-mail if you want to catch my attention - I don't
necessarily look at the newsgroups all the time.