- Drew Buchanan
- PowerBuilder
- Thursday, 12 December 2019 04:04 PM UTC
I have a .NET assembly that I've generated from NVOs. One of the methods I need to call accepts a BLOB of a DataWindow state (calls datastore.setfullstate(BLOB), then performs validation on datastore).
How would one go about generating a byte array that this method could accept? I've tried just passing a tab-delimited string of the contents of my .NET DataTable object which I converted to a byte array using System.Text.Encoding.Unicode.GetBytes(BLOB), but that did not work.
Thanks
ETA: The .NET Assembly was created with PowerBuilder 2017 R3 and migrating to PB19 is not an option for our shop at this time.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.