Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: msvcrt.dll file in use during install.
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 8, 2007 5:36 PM

Hello all:

 I have created my application and used microsofts packager to create the install set.

When i tray to install in on another computer I get an error. "C:\Windows\System32\msvcrt.dll" is in use. Please close... bla bla bla.. I have no other files running except the install. If I ignore it I get a dartsock not registered. what gives.

thanks in advance
Dave
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 9, 2007 11:05 AM

I guess I should give a lil more info about my application: It's written in VB 6.0 I use 2 of darts activeX controls FTP and ZIP. I works fine while running on the development machine. But when I compile, package and try to install it on another computer I get the msvcrt.dll file is in use during the install process (with no other applications running).
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 9, 2007 11:27 AM

Why would my Visual Basic application want to include a visual C ++ runtime library anyway? I will try to rebuild the package without this dll and see what happens.
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 9, 2007 11:53 AM

OK I rebuilt the package and left the msvcrt.dll out of the package and the install completed successfully. But the application doesn't run on the new computer. I get a

Run-Time error '11102'

An error occured while performing a File I/O operation.

I get this error when I try to download a file from my ftp server.

and by the way HELLO....  anyone out there.... I'm the only one talking here. noone has said anything on the forum yet except me...  ;)

Oh quit you're blabbing...  ;)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 9, 2007 12:56 PM

The components are compiled with Visual C++. That is the reason why it is detected as a dependency. However, you really shouldn't distrubute that as it's part of the OS and will always be in use and should always be there anyway.

In regards to the 11102 error, what operating system is the problem machine?
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 9, 2007 2:30 PM

Both my development machine and the test install machine are both XP pro...  I have taken the msvcrt.dll out of the package install set and still get this same error.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 9, 2007 2:32 PM

Do you get the same error if try to use one of our samples?
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 9, 2007 2:53 PM

I compiled the listview sample app provided and installed it. If I try to login with the PASV Mode unchecked. I login but I get a "425 Can't open data connection" with the PASV Mode checked everything works well. Sounds to me like I need to set a PASV mode somewhere in my code. 

  Ftp1.Login host, user, pass
  Ftp1.Type = ftpImage
  Ftp1.Retrieve "Testfiles.txt", "Testfiles.txt"
  Ftp1.Logout


is there a Ftp1.Type = PASV or the like?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 9, 2007 3:04 PM

Yes. If you search the help file for 'Passive', you should see an entry for 'Passive Property'
DJacobs

From: Mandeville, LA USA
Posts: 11
Member Since: 06/20/07
posted November 9, 2007 3:18 PM

Ok I see that the default for the passive mode is set to true. so putting this line in isn't really that helpful...  I did find why it wasn't working though.. I can be so stupid @ times...  I misspelled the filename... and of course if the files doesn't exist you will get an error if you try to transfer it.  sorry to have wasted your time... ;(
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX