c++ - Override c library file functions? -


i working on game, , 1 of requirements per licence agreement of sound assets using distributed in way makes them inaccessible end user. so, thinking aggregating them flat file, encrypting them, or such. problem sound library using (hekkus sound system) accepts 'char*' file path , handles file reading internally. so, if continue use it, have override c stdio file functions handle encryption or whatever decide do. seems doable, worries me. looking on web seeing people running strange frustrating problems doing on platforms concerned with(win32, android , ios).

does there happen cross-platform library out there takes care of this? there better approach entirely recommend?

do have option of using named pipe instead of ordinary file? if so, can present pipe sound library file read from, , can decrypt data , write pipe, no problem. (see beej's guide explanation of named pipes.)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -