Transferring from Delphi 7.0 to vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fariba
    New Member
    • Dec 2013
    • 4

    #1

    Transferring from Delphi 7.0 to vb.net

    Hi,
    I have a program written in Delphi 7.0. It produces a file which I have to read it in another project written in Vb.net. I have problem in masking my structures to the files read. Suppose I have an structure in Delphi for Machine information, such as name and Color. I have problem reading back this machine info. spec. Color info. In Delphi I could easily BlockRead(file, MachineRec....) , but in vb I have to read it via stream reader, then assign values to the structure one by one....
    can anyone help me find a good way to read and write like blockRead and blockwrite!

    Thanks in advance
    Last edited by Frinavale; Dec 10 '13, 07:41 PM.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    It may make your life easier if your structures were serialized as XML.

    If you aren't comfortable with XML, than you will have to continue doing what you are doing t desearlize the information.
    Last edited by Frinavale; Dec 16 '13, 03:40 PM.

    Comment

    • Fariba
      New Member
      • Dec 2013
      • 4

      #3
      Thank You for the Reply.

      Comment

      Working...