Desmo
December 6th, 2006, 09:44 AM
I have a file, data.dat, that contains a memory map that is used in an other software solution written in an other language. The file contains information in the format:
Address1 0x0000
Address2 0x1000
Address3 0x2000
Address4 0x3000
...
I need to access this file in runtime from my program written VC++ Express. I would like to include the data.dat-file like a resource file when buildning my program. My question is:
How do I include this file as a resource-file and how do I access the file and read information from it? Code examples would be greate.
Best regards
/Desmo
Address1 0x0000
Address2 0x1000
Address3 0x2000
Address4 0x3000
...
I need to access this file in runtime from my program written VC++ Express. I would like to include the data.dat-file like a resource file when buildning my program. My question is:
How do I include this file as a resource-file and how do I access the file and read information from it? Code examples would be greate.
Best regards
/Desmo