binary file question

B

Bit Byte

If I save data in a binary format in C#, can I read the file back in C++ ?

I have some data in XLS workbooks. I want to use Automation to extract
the data. The application that will use the data is written in C++, and
expects the data to be in a particular format. I want to know if my plan
of attack is feasible.
 
N

n!

If I save data in a binary format in C#, can I read the file back in C++ ?
I have some data in XLS workbooks. I want to use Automation to extract the
data. The application that will use the data is written in C++, and
expects the data to be in a particular format. I want to know if my plan
of attack is feasible.

As long as you write it out in the expected format, there isn't any reason
it wouldn't work. It's just data.

n!
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

| If I save data in a binary format in C#, can I read the file back in C++ ?

Of course , it's just a collection of bytes, anybody can read it. Understand
it is a complete different thing though

| I have some data in XLS workbooks. I want to use Automation to extract
| the data. The application that will use the data is written in C++, and
| expects the data to be in a particular format. I want to know if my plan
| of attack is feasible.

As long as both ends (the writer & the reader) "speak" the same format I
don't see any problem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top