.net - Is EXE locked (vs DLL)? -
If I put all my controls inside XEE, then it might be accessible from the outside as if it was a DLL?
As mentioned by Bobby Shoffoi, it depends on whether you have managed or unmanaged code , But 'I' assuming you are using unmanaged C or C ++.
Basically, a compiled executable (in the case of Windows, the XE or DLL) is a group of functions and global variables, and each one has a special location in the logical address space of each executable (which When executable loads are mapped to physical memory addresses).
If someone knows the address of a particular function or variable in their executable, you can do so to prevent it from being used & mdash; But in a DLL, this information is actually available, so people can actually see their actions (well, those you have chosen to export).
Usually you will provide a header file with your DLL, which handle the look of this name, so they have to call the function as if they were part of their own program.
Comments
Post a Comment