#72714 - 2003-01-23 03:36 PM
RE: fnRemapDrives()
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Jens said... quote: If there are multiple errors while running this UDF the returned error code will be incorrect as you are adding all error codes.
-------------------- Jens
This was the intended behavior. As the Do loop enumerates the persistent drive mappings and successfully changes all registry entries the final error code will be zero. If there is one (or more) errors writing to the registry (which is highly unlikely) the error code will be greater than 0 as stated in the documentation. A -1 error code indicates that no match was found. [ 23. January 2003, 15:38: Message edited by: Chris S. ]
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|