Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting binary data from vfp
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00652646
Message ID:
00652656
Views:
22
>How do I get that into a byte array in c#, either using a OleDbDataReader or from a VFP7 dll. The data reader does not seem to let me GetBytes, and I am not sure how to pass the data from a dll. I tried return CREATEBINARY(FileMemo), but it still cuts off at the first null.

Thats probably cause a datatable in ADO is represented internally by XML (I think). You might want to experiment with passing a streamReader object to your VFP DLL or something like that. Or you could just use files (thats so FPW) on disk to achieve passing the info back.

Good question, I may have a need for this soon. If I find a better solution, I'll you know.
Previous
Reply
Map
View

Click here to load this message in the networking platform