Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wwipstuff, XML and binary data
Message
 
To
14/07/2000 09:37:22
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00299404
Message ID:
00392784
Views:
18
Actually, I don't think it'll work with a cursor, because a cursor cannot be closed and in order to encrypt the file it must be closed. You'd have to copy the file to a physical file that can be closed then encrypt unfortunately.

In most of those scenarios, it's better to use XML unless the data is very large. The overhead of XML is not critical in many cases if you don't pass a lot of records back and forth.

+++ Rick ---


>>I have VFP as a desktop client and also as a mid-tier DCOM object. The desktop client should do a createobjectex() and in the INIT method of the remote object, a DBC and remote view to Oracle gets created. How do I get that cursor/.dbf from the remote object to the desktop client DBC, flowing over the DCOM transport (the createobjectex() connection)? Since the cursor is binary (and I intend to encrypt/compress it also), I am having a hard time wrapping my head around how to move binary data back-n-forth quickly (I can pass strings OK) through DCOM.
>>
>
>
>EncodeDBF/DecodeDBF should work fine. You just have use DBF() to get the actual file of your cursor. YOu can't really use the updatable features of a view if you do it this way, so why use a view at all? I think that SPT is probably more appropriate here...
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform