How can I hide the export information of my DLL
-
How can I hide the export information of my DLL, such as function name or class name? I am seeking... For what? Why did you ask me for what? I don't know!
you can't. if you could, nothing could use the DLL... Cleek | Image Toolkits | Thumbnail maker
-
How can I hide the export information of my DLL, such as function name or class name? I am seeking... For what? Why did you ask me for what? I don't know!
Simon.W wrote:
How can I hide the export information of my DLL, such as function name or class name?
How about making the names such that only you know what they mean? I know of no other way to "hide" them, however.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
How can I hide the export information of my DLL, such as function name or class name? I am seeking... For what? Why did you ask me for what? I don't know!
Simon.W wrote:
How can I hide the export information of my DLL, such as function name or class name?
Its possible if you writng com.dll, you can remove tlb informatin from COM DLL, which contain the interface information and you can easily ship to end user without revealing any internal working of dll
-
How can I hide the export information of my DLL, such as function name or class name? I am seeking... For what? Why did you ask me for what? I don't know!
Use a .def file. For each function you export use the NONAME tag. This will cause the function to be exported by ordinal instead of name. This also makes the resulting dll smaller. Exporting c++ functions (and class methods) is a pain as you have to specify the mangled name. If you have to export a number of c++ functions/methods you may want to write a tool to generate the .def from a .map (or other such file) ... and post the tool back here. :) http://msdn2.microsoft.com/en-us/library/hyx1zcd3(VS.80).aspx[^] ...cmk Save the whales - collect the whole set