C
Cybertof
Hello,
Is there a simple way to read a random access file that has been created
with VB6 using direct writing to disk of Type....End Type structures ?
I have not found this possibility in C#.
Is it possible to map directly a buffer (read from a stream) to a
Structure in memory ? Maybe a unmanaged C function call....but isn't
there any overhead in call unmanaged code ?
What would be the best efficient way to do this ?
I have to read 50.000 records having this VB6 structure :
Type StickStruct
dte As Date
open As Long
High As Long
Low As Long
close As Long
Volume As Long
openinterest As Long
End Type
I would appreciate any advice or comment.
Regards,
Cybertof.
Is there a simple way to read a random access file that has been created
with VB6 using direct writing to disk of Type....End Type structures ?
I have not found this possibility in C#.
Is it possible to map directly a buffer (read from a stream) to a
Structure in memory ? Maybe a unmanaged C function call....but isn't
there any overhead in call unmanaged code ?
What would be the best efficient way to do this ?
I have to read 50.000 records having this VB6 structure :
Type StickStruct
dte As Date
open As Long
High As Long
Low As Long
close As Long
Volume As Long
openinterest As Long
End Type
I would appreciate any advice or comment.
Regards,
Cybertof.