Sign in to follow this  
Mr_Fhqwhgads

[.net] DLL Question

Recommended Posts

-not an answer-
Why are you compiling a game into a DLL? That's kinda pointless, since you couldn't run it. Or do you mean compiling part of the game into a .dll and having an exe use the .dll?

-sorta an answer-
But I believe that it would be difficult(probably not impossible) to use a .dll without the proper header and .lib files. On the other hand, people can decompile your .exes and take the (largely unreadable) source from that.

Share this post


Link to post
Share on other sites
Mr_Fhqwhgads,
Check out the MSDN documentation on "Code Signing." That would be the mechanism you would want to use to limit the use of your DLL to particular parties . There are also things you can do like seal your classes or provide only interfaces as public, with the exception of a few Factory objects. Again, I'd have to direct you to the MSDN documentation. This is a fairly complex topic, and there are multiple ways to go about solving it. I know this doesn't help much, but the following links should get you started:

http://msdn.microsoft.com/netframework/programming/classlibraries/
http://msdn.microsoft.com/practices/compcat/default.aspx?pull=/library/en-us/dnbda/html/dalgroadmap.asp

Tanakas...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this