By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Transferring from Delphi 7.0 to vb.net

P: 4
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
Dec 9 '13 #1
Share this Question
Share on Google+
2 Replies


Frinavale
Expert Mod 5K+
P: 9,731
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.
Dec 10 '13 #2

P: 4
Thank You for the Reply.
Dec 14 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.