O
Oleg Subachev
I need to add binary data to C# executable and then read it back
during execution or from another application.
In Delphi for Win32 I used the following:
- created binary Win32 resource with needed data;
- linked this resource with executable through {$RESOURCE <filename>}
directive;
- during execution I used TResourceStream to read binary data;
- from another application I used
LoadLibraryEx/EnumResourceNames/FindResource/
LoadResource/LockResource to read the same binary data.
How to implement the same functionality from C# ?
Oleg Subachev
during execution or from another application.
In Delphi for Win32 I used the following:
- created binary Win32 resource with needed data;
- linked this resource with executable through {$RESOURCE <filename>}
directive;
- during execution I used TResourceStream to read binary data;
- from another application I used
LoadLibraryEx/EnumResourceNames/FindResource/
LoadResource/LockResource to read the same binary data.
How to implement the same functionality from C# ?
Oleg Subachev