Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with VFPCompression.fll
Message
From
09/12/2011 10:45:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01530647
Message ID:
01530732
Views:
74
>>>Hello,
>>>
>>>I get an error with VFPCompression.fll, one some computers it does not recognize the fll:
>>>
>>>
>>>IF NOT "VFPCOMPRESSION" $ UPPER(SET("Library"))
>>>	SET LIBRARY TO Bin\VfpCompression.fll ADDITIVE
>>>ENDIF
>>>UNZIPQUICK(File,Target) &&give an error "File unzipquick.prg does not exist.
>>>
>>>
>>>On other computers it works, so I wonder if it misses some dll files?
>>
>>It does not seem very reliable this library
>>
>>
>>SET LIBRARY TO LOCFILE("vfpcompression.fll")
>>
>>CLEAR
>>
>>FOR K=0 TO 22000
>>	lcOriginal = SPACE(m.k)
>>	IF UnzipString(ZipString(m.lcOriginal)) == m.lcOriginal
>>		LOOP
>>	ENDIF
>>	?"ZipString() is buggy",m.k
>>	EXIT
>>NEXT
>>SET LIBRARY TO
>>
>
>Strange,
>no matter how big is the loop, it only bugs on k = 5678
> :-))))

If you change the lcOriginal value, the bug presents with different lenght.

Unfortunately Craig's ego has prevented the publication of source code,
then this dll it is useless.
Previous
Reply
Map
View

Click here to load this message in the networking platform