Hidding functions when outsourcing
I need to pass the code (vs2005 c++ solution) to other programmer but some functions I don't want him to see how they are done, but still be able to add new functions and test it with 'hidden' functions. Is that possible?
What about adding them to lib file... can the code be extracted from it? It there a better way?
You can always disassemble libraries and executable. You can, however, make the result of disassembly less useful, for instance compiling the library with full optimizations on and no debugging information, and then stripping any additional unnecessary information.
why don't you let him sign a NDA or something? That way you can go absolutely sure he wont use your code.
greets,
halan
greets,
halan
Put yout public API and private API in their own library.
So you could pass source code from your public API and headers plus .lib/.dll from your private API.
So you could pass source code from your public API and headers plus .lib/.dll from your private API.
Quote:Original post by davidcoleman
I need to pass the code (vs2005 c++ solution) to other programmer but some functions I don't want him to see how they are done, but still be able to add new functions and test it with 'hidden' functions. Is that possible?
What about adding them to lib file... can the code be extracted from it? It there a better way?
You could have him submit his code to a remote server to be compiled and linked with your libraries, and have him run the resulting program remotely via VPN or something.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement