Re: file copy routine crashes on XP SP2
From: Randy Birch (rgb_removethis_at_mvps.org)
Date: 09/13/04
- Next message: AustinMN: "Re: Property indicating any open modal forms"
- Previous message: MikeD: "Re: Property indicating any open modal forms"
- In reply to: Marshal Anderson: "file copy routine crashes on XP SP2"
- Next in thread: Marshal Anderson: "Re: file copy routine crashes on XP SP2"
- Reply: Marshal Anderson: "Re: file copy routine crashes on XP SP2"
- Reply: Marshal Anderson: "Re: file copy routine crashes on XP SP2"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 12 Sep 2004 20:49:50 -0400
But what is the exact error that it's throwing? "Seems to indicate a
problem with kernel32" is insufficient information to diagnose the problem.
Also, make sure you are double-terminating the strings passed to
SHFileOperation with vbNullChar or chr$(0) under NT-based systems.
-- Randy Birch MS MVP Visual Basic http://vbnet.mvps.org/ "Marshal Anderson" <newspost@getridofthismarshal.co.uk> wrote in message news:4142e028.11868660@news.microsoft.com... : Been using a routine to bulk copy files and underlying folders for : several years in applications - one I got from Randy Birch's site I : think. It uses a shell command (I think, I'm a bit of a simple : copy/paste/experiment merchant when it comes to API stuff), but the : method seems pretty comon in VB6 code sites. Anyway, the routine has : been running fine on W95 and up. : : A user recently discovered a bug in a new package, the copy process : failed, seems to indicate the problem is with kernel32.dll. On testing : previous packages with the same routine on the same machine the same : error appears. (OK, no suprise, but I was hoping I;d made an error in : the new package) This is a bit drastic, it means several packages will : fail and they need to be re-written. : : So, has anyone come accross this problem with XP service pack 2? : Anyone got a nice neat copy everything routine that doesn't use APIs : (or the FSO)?? I'm in a real fix with this and would really appreciate : any help anyone can give. : : Marshal : :
- Next message: AustinMN: "Re: Property indicating any open modal forms"
- Previous message: MikeD: "Re: Property indicating any open modal forms"
- In reply to: Marshal Anderson: "file copy routine crashes on XP SP2"
- Next in thread: Marshal Anderson: "Re: file copy routine crashes on XP SP2"
- Reply: Marshal Anderson: "Re: file copy routine crashes on XP SP2"
- Reply: Marshal Anderson: "Re: file copy routine crashes on XP SP2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|