October 23rd, 2012, 07:20 AM
please help me. i need someone to explain me how to put a constant - an array of bytes - into a resource file (for D7), and then get that constant from the resource file when needed.
October 24th, 2012, 01:46 AM
You can put the array of bytes content into an .rc file as RCDATA type, compile the .rc file into .res (using brcc32) and include the .res file in your Delphi 7 application. After that, you can load the content of the array using TResourceStream.
For more information on RCDATA, open MS SDK from your Delphi 7 IDE and look for RCDATA.
October 24th, 2012, 04:21 AM
There's no such topic. Nothing at all about RCDATA.
Originally Posted by Luthfi
October 24th, 2012, 04:36 AM
Sorry, I meant "Windows SDK"
In Delphi 7 IDE, open menu Help > Window SDK, then look for RCDATA.
October 24th, 2012, 06:43 AM
RC2 Block Cipher
RC4 Stream Cipher
Read and Write Operations
October 24th, 2012, 07:31 AM
Let me show you.
Originally Posted by DarthNihilus
October 24th, 2012, 12:11 PM
looks like my delphi help is not a full version oO or something is not right... what is the help file's name?
October 24th, 2012, 12:25 PM
Newer version could be found in msdn site. Check this page. It's a little bit different, but just a little.
October 25th, 2012, 08:12 PM
I wrote a tutorial based on this problem. Find the tutorial here.