Jump to content


Photo

FTPLibary dies when i use withevents in vb6


  • Please log in to reply
2 replies to this topic

#1 priskon

priskon
  • Members
  • 2 posts
  • Location:
    Dachau / Germany

Posted 14 December 2005 - 10:22 AM

hello,

i have the last sftplibary and like a other solved problem here
(PostPosted: 04-19-2005 04:59 PM Post subject: SOLVED - VB6 OnTransferProgress)
my libary dies, when i use the events in vb6 like this:

Private WithEvents FTPo As FTPConnectionSTA
....
Set FTPo = New FTPConnectionSTA
...
...
...
Private Sub FTPo_OnTransferProgress(ByVal nBytesTransferredLo As Long, ByVal nBytesTransferredHi As Long)
RaiseEvent uebertragen(nBytesTransferredLo)
End Sub

If i use no event-notification all is ok!

What goes wrong?

#2 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 14 December 2005 - 06:38 PM

Hmm. I would need to debug the problem myself. Does it work when you run the application in the VB6 debugger?
-Mat

#3 priskon

priskon
  • Members
  • 2 posts
  • Location:
    Dachau / Germany

Posted 14 December 2005 - 08:17 PM

No it doesnt!
Only if i work without any event-notification the
ftp-engine works fine.

I saw the problem happens bevor (up to 1.27) and was solved
in version 1.28

(PostPosted: 04-19-2005 04:59 PM Post subject: SOLVED - VB6 OnTransferProgress
Public Support).

May it bee the same problem?

All vb-user need this information to use this library.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users