Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void FunctionName_1(char * &data);
- void FunctionName_2()
- {
- char * data;
- char dataBuffer[100] = "";
- data = dataBuffer;
- FunctionName_1(data);
- {
- HMODULE hModule;
- hModule = LoadLibraryA(data);
- if (hModule != NULL)
- {
- FreeLibrary(hModule);
- printLine("Library loaded and freed successfully");
- }
- else
- {
- printLine("Unable to load library");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment