Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cryptor 5.0, by Xitech
Message
From
13/08/2007 12:31:48
 
 
To
13/08/2007 11:58:22
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01245064
Message ID:
01247850
Views:
46
Hi Bob,

My first comment is to make sure you are aware that Cryptor will allow a file to be encrypted twice. This can be confusing because it does not warn you that the file is already encrypted.

Besides this point I would say first try and run your encrypt/decrypt tests as an administrator. Load VFP using the "Run As Administrator" and try it like that first.

The test here is to try and eliinate possible causes and the main cause of problems I found was that the dll was not correctly registered.

Note: I do not use the DEEP option.

I am also not clear on exactly what line the error is occuring on in your example.




>Dear Jos,
>
>Sorry it took a while for me to respond back to you because I was traveling and had no internet access for almost a week. I need your help desperately to make Cryptor 5.0 to run on Vista. After I have deactivated the UAC, I was able to register successfully the xicr50.dll on my Vista Home Premium Laptop. I'm still having problem registering it on the Vista Business edition desktop. On my laptop (Home Premium) after registering xicr50.dll, I'm running the following code that causing an error message on XiCr.WatchDLL("VFP9.EXE"):
>
>I encrypt first :
>
>
>	*---------- this prg to encrypt tables
>	CREATE CURSOR encresult(table_name c(15), errcode n(3))
>
>	* Load the Cryptor 5 object
>	XiCr= CREATEOBJECT("XitechCryptor.Cryptor")
>
>	* Use Deep mode to catch all modules in use
>	XiCr.Deep=.t.
>
>	* Watch Visual FoxPro
>	XiCr.WatchDLL("VFP9.EXE") 	&& Visual FoxPro 9.0 IDE
>	XiCr.WatchDLL("VFP9R.DLL") 	&& Visual FoxPro 9.0 Runtime
>	XiCr.WatchDLL("VFP9T.DLL") 	&& Visual FoxPro 9.0 Runtime MT
>
>	*---------- encrypt tables
>	lnerrcode = XiCr.EncodeFile("proopen.dbf", "password", 512)
>	INSERT INTO encresult(table_name, errcode) VALUES ("proopen.dbf",lnerrcode)
>
>
>
>Then I register when running my application EXE:
>
>
>        *---------- to register the encrypted files
>
>        * Load the Cryptor 5 object
>        XiCr= CREATEOBJECT("XitechCryptor.Cryptor")
>
>        * Use Deep mode to catch all modules in use
>        XiCr.Deep=.t.
>
>        * Watch Visual FoxPro
>        XiCr.WatchDLL("VFP9.EXE") 	&& Visual FoxPro 9.0 IDE
>        XiCr.WatchDLL("VFP9R.DLL") 	&& Visual FoxPro 9.0 Runtime
>        XiCr.WatchDLL("VFP9T.DLL") 	&& Visual FoxPro 9.0 Runtime MT
>
>
>        * Register a file with Cryptor 5 with a key of Pass and the default method
>        XiCr.Register("proopen.dbf", "password", 512)
>
>
>The Program error that I get from XiCr.WatchDLL("VFP9.EXE") when I encrypt and register is :
>
>OLE exception error: Exception code c00000fd. OLE object may be
>corrupt
>
>I hope you would be able to help me fix the problem and figure out what I'm doing wrong.
>
>Thanks alot for your help.
>
>Bob
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform