login about faq

When i try to inherit from the class just like you show in the exemple (CKFtp2Progress) i get a bunch of unreference formal parameter

z:chilkat-9.5.0-x86-vc6includeckbaseprogress.h(96) : warning C4100: 'pctDone' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckbaseprogress.h(106) : warning C4100: 'value' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckbaseprogress.h(106) : warning C4100: 'name' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckbaseprogress.h(109) : warning C4100: 'task' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(65) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(67) : warning C4100: 'numBytes' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(67) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(74) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(81) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(83) : warning C4100: 'numBytes' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(83) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(90) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(97) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(104) : warning C4100: 'pathUtf8' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(106) : warning C4100: 'bytesPerSec' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(106) : warning C4100: 'byteCount' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(107) : warning C4100: 'bytesPerSec' : unreferenced formal parameter

z:chilkat-9.5.0-x86-vc6includeckftp2progress.h(107) : warning C4100: 'byteCount' : unreferenced formal parameter

z:vgiupdatesvrmyftpprogress.h(15) : error C2504: 'CKFtp2Progress' : base class undefined

asked Jan 26 at 14:14

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


These warnings can be ignored. There's a setting in the VC6 (or any VC version), likely under "Advanced", where you may list the warning numbers to be ignored. Chilkat make it so these warning don't appear in future versions.

link

answered Jan 26 at 14:18

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

The Ck*Progress.h headers have been modified to look at follows. This will be available in the next version released...

class CK_VISIBLE_PUBLIC CkFtp2Progress : public CkBaseProgress
{
    public:

CkFtp2Progress() { }
    virtual ~CkFtp2Progress() { }

virtual void BeginDownloadFile(const char *pathUtf8, bool *skip) 
        { 
        bool b = BeginDownloadFile(pathUtf8);
        if (skip) *skip = b;
        }
    virtual bool BeginDownloadFile(const char * /*pathUtf8*/) { return false; }

virtual void EndDownloadFile(const char * /*pathUtf8*/, __int64 /*numBytes*/) { }

virtual void VerifyDownloadDir(const char *pathUtf8, bool *skip) 
        { 
        bool b = VerifyDownloadDir(pathUtf8);
        if (skip) *skip = b;
        }
    virtual bool VerifyDownloadDir(const char * /*pathUtf8*/) { return false; }

virtual void BeginUploadFile(const char *pathUtf8, bool *skip) 
        { 
        bool b = BeginUploadFile(pathUtf8);
        if (skip) *skip = b;
        }
    virtual bool BeginUploadFile(const char * /*pathUtf8*/) { return false; }

virtual void EndUploadFile(const char * /*pathUtf8*/, __int64 /*numBytes*/) { }

virtual void VerifyUploadDir(const char *pathUtf8, bool *skip) 
        { 
        bool b = VerifyUploadDir(pathUtf8);
        if (skip) *skip = b;
        }
    virtual bool VerifyUploadDir(const char * /*pathUtf8*/) { return false; }

virtual void VerifyDeleteDir(const char *pathUtf8, bool *skip) 
        { 
        bool b = VerifyDeleteDir(pathUtf8);
        if (skip) *skip = b;
        }
    virtual bool VerifyDeleteDir(const char * /*pathUtf8*/) { return false; }

virtual void VerifyDeleteFile(const char *pathUtf8, bool *skip) 
        { 
        bool b = VerifyDeleteFile(pathUtf8);
        if (skip) *skip = b;
        }
    virtual bool VerifyDeleteFile(const char * /*pathUtf8*/) { return false; }

virtual void UploadRate(__int64 /*byteCount*/, unsigned long /*bytesPerSec*/) { }
    virtual void DownloadRate(__int64 /*byteCount*/, unsigned long /*bytesPerSec*/) { }

};
link

answered Jan 26 at 15:08

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×65
×4

Asked: Jan 26 at 14:14

Seen: 453 times

Last updated: Jan 26 at 15:08

powered by OSQA