Actually, I have already been able to access the GAC and the Native Image Cache via windows explorer by changing some values in the registry, but the native executable in the Native Image Cache is corrupt and unusable, even though it is native compiled.
I actually have had some success in...
My goal here actually is to use NGEN for copy protection. IL code is easy to decompile and a bitch to encrypt... it would be so much easier if I had native code to work with. That is why I want to bypass the original exe and go straight to the native exe in the GAC.
Meanwhile, I've been...
Ahh, now I see what you mean.
But I think it is you who has misunderstood the question :).
You have suggested to me to load the original exe. Once the original exe is loaded, I know that it will load the NGEN'd exe out of the GAC. But, I want to go around loading the original exe. I want to...
Ok, I have done what you suggested. I NGEN'd a exe that I will call "reminder.exe". I then created a simple program that does this:
But it returns an error to me saying "System cannot find the file specified". Am I missing something here?
Hello, and thank you for replying :)
Yes, I understand the part about using NGEN to create an image, but I am actually interested in executing my native image from another VB.net application, not executing the application all by itself.
I have read about the GAC and have a pretty basic understanding of how it works, but now I am wondering, is it possible to load and execute a native image in the GAC from a VB.NET application? If so, how? Thank you for your time,