Prev Previous Post   Next Post Next
Old 14th June 2015, 20:57   #1
parasoul
Senior Member
 
Join Date: Aug 2007
Posts: 117
Question Merging two binary files

Hi,
How do you suggest the best way to merge two binary files using NSIS?

My first instinct is to use FileRead,FileSeek,FileWrite, but as I understand it, if the buffer of data is greater than the maximum string length then it wouldn't capture all of the data

My next instinct is to use the system plugin and use localalloc to create a buffer and then call CreateFile/ReadFile/WriteFile via the system plugin. I really want to avoid doing it this way because it would be pretty messy.

Do you know of a more elegant way?

I appreciate the help
parasoul is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump