General information
Category:
Third party products
Title:
Cryptor behaviour (very slow)
I ´m asking here help on this non MS product because is very hard to contact Cryptor support. Although Cryptor is a great tool.
I have the following code to open some free medium size tables. (the whole size is about 180 Mbs ).
*************************************
Declare CRY_Register In XiCr50.Dll String, String, Long
Declare CRY_Unregister In XiCr50.Dll String, String, Long
Declare CRY_WatchDLL In XiCr50.Dll String
Declare CRY_DeepOn In XiCr50.Dll
* Never execute this code more than once...
If Empty(_Screen.Tag)
CRY_DeepOn()
Try
CRY_WatchDLL ("VFP9.EXE")
&& Visual FoxPro 9.0 IDE (causesexception, ignore it)
Catch
Endtry
CRY_WatchDLL ("VFP9R.DLL")
&& Visual FoxPro 9.0 Runtime
CRY_WatchDLL ("VFP9T.DLL") && Visual FoxPro 9.0 Runtime MT
CRY_WatchDLL ("phdbase.v50") && PhdBase_Screen.Tag = "Cryptor loaded"
Endif
CRY_Register(Fullpath("documentos.dbf"),"O4NGlA4v60",5)
CRY_Register(Fullpath("documentos.fpt"),"O4NGlA4v60",5)
CRY_Register(Fullpath("documentos.cdx"),"O4NGlA4v60",5)
CRY_Register(Fullpath("medica.dbf"),"O4NGlA4v60",5)
CRY_Register(Fullpath("medica.fpt"),"O4NGlA4v60",5)
CRY_Register(Fullpath("medica.cdx"),"O4NGlA4v60",5)
CRY_Register(Fullpath("kents.dbf"),"O4NGlA4v60",5)
CRY_Register(Fullpath("kents.fpt"),"O4NGlA4v60",5)
CRY_Register(Fullpath("kents.cdx"),"O4NGlA4v60",5)
Endproc
******************************
This code execution takes 25 seconds in a decent machine with Windows 7. Some years before only 6 seconds.
Have someone experience using Cryptor?
Thankx.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only