Home > database >  O: pb RtlMoveMemory structure blob conversion
O: pb RtlMoveMemory structure blob conversion

Time:09-18

How is this single pb structure blob conversion, online a lot of have no the answer
The Function ulong MemoryCopy (ref str_exam source, ref blob destination, u long length) library "kernel32. DLL" Alias for "RtlMoveMemory
"
The Function ulong MemoryCopy (REF blob destination, REF str_exam source, ul ong length) library "kernel32. DLL" Alias for "RtlMoveMemory
"
Coagulation asked, the length of the structure how to calculate?

Global type str_boot from structure
Long FEntityid//-- -- -- -- -- -- -- -- -- -- -- -- --
enterprise divisionInt fbillmode
Long FBillid//-- -- -- -- -- -- -- -- -- -- -- -- -- ID documents
String FBillcode//-- -- -- -- -- -- -- -- -- -- -- -- -- receipt number
DateTime FBilldate//-- -- -- -- -- -- -- -- -- -- -- -- -- documents date
Int FBilltype//-- -- -- -- -- -- -- -- -- -- -- -- --
document typeInt FTraderid//-- -- -- -- -- -- -- -- -- -- -- -- --
documents tradeString FFollower//-- -- -- -- -- -- -- -- -- -- -- -- -- merchandiser
Int FMoneyid//-- -- -- -- -- -- -- -- -- -- -- -- -- currency
A Decimal FMoneyrate//-- -- -- -- -- -- -- -- -- -- -- -- --
settlement exchange rateInt FBoottype//-- -- -- -- -- -- -- -- -- -- -- -- -- procurement type
String FBootmode//-- -- -- -- -- -- -- -- -- -- -- -- -- procurement mode

End type

CodePudding user response:

Cow force, put things into Windows dynamic library? Rely on memory address access? Pack to force

CodePudding user response:

How to pb structure to blob

CodePudding user response:

You this structure again the String, and DateTime, not directly use memory copies,
Need to convert the blob is serialized, actually don't know what are you doing a blob to use?

CodePudding user response:

I is made of three layers, because the original CS is the interface with load data structure, the object processing business logic, to hear you say you should be able to do, please give directions

CodePudding user response:

reference 4 floor ansonboty response:
I is made of three layers, because the original CS is the interface with load data structure, the object processing business logic, hear you say, you should be able to do, please show the


Spell the data into a string, and then dividing line, the whole structure is too complex

CodePudding user response:

Can say like version into a string of split again, can also define a data source and data Windows with the same structure, data export or get a blob
  • Related