Problem with DLL

Asked

Viewed 31 times

0

Hello friends I am beginner in c++.

How can I prevent people from injecting a dll into my program? they put a dll with the name IPHLPAPI in the folder of my program, then this intruder dll is loaded.

i tried to get the program to close when this intrusive dll was loaded, but as my program uses the native Windows IPHLPAPI.DLL, then my program ends up closing even without the intrusive dll.

  • They’re both the same size?

  • hello, different sizes, is there any way I can solve this using size as constraint?

  • I believe there is some way to differentiate the sizes and you can do the control around

1 answer

0

If people are putting to load the program, that’s why on their computer that dll is missing. State initialize a download of att from Netframework C++(I don’t know what the version is, but kick that is the 2015 why Windows 10 is short of many dll’s) so windows will play that dll in its default folder and you will run without bumping into each other.

As for how the att command of Netframeworkc++, search the internet like this happens at the prompt, then just add to a system code of your program, to be automated.

I hope I helped you...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.