JTK <[EMAIL PROTECTED]> wrote in
[EMAIL PROTECTED]">news:[EMAIL PROTECTED], on 09 Jan 2002: 

>> Where is "DownloadFailed" and "LocalDownloadFilename" declared?
> 
> Somewhere towards the back.  You do five CVS updates a day, you
> tell me! 
> 

As an addendum:
http://lxr.mozilla.org/seamonkey/ident?i=DownloadFailed
Not used

http://lxr.mozilla.org/seamonkey/ident?i=LocalDownloadFilename
Not used

http://lxr.mozilla.org/seamonkey/ident?i=DeleteFile
Defined as a function in:
    * mailnews/import/eudora/src/nsEudoraMailbox.cpp, line 95, as member 
of class nsEudoraMailbox
    * mailnews/import/outlook/src/nsOutlookMail.cpp, line 745, as member 
of class nsOutlookMail

So...  I'm assuming your download manager is a part of the importing 
tools from Eudora and Outlook... yes?  Since you are using a function 
that is only defined in the importing tools, it would be dumb to think 
otherwise.  I haven't brushed up on my C++ lately, but you can't 
generally reference a function that is part of, say, nsEudoraMailbox by 
doing:

DeleteFile(someRandomFile);
outside of the nsEudoraMailbox class, or a class that inherits from it.  
Basically:

#include "nsEudoraMailbox.cpp"
void main()
{
DeleteFile("thisIsAFile.txt");
}

will not compile.  DeleteFile() is undeclared, and is undefined.

For someone who writes all sorts of mindless "code" here, claiming to 
have gotten things fixed that he had no part in, you must either be 
having an off day/week/month/year/decade, or you use a C++ compiler I've 
never heard of, cause the above won't compile on MSVC++ 6.0, or GCC


-- 
ICQ: N/A (temporarily)
AIM: FlyersR1 9
email: [EMAIL PROTECTED]
_ = m

Reply via email to