When ever I create project using Library->C++ library in qtcreator it gives me a class
#ifndef UNTITLED_H
#define UNTITLED_H
#include "untitled_global.h"
class UNTITLEDSHARED_EXPORT Untitled
{
public:
Untitled();
};
#endif // UNTITLED_H
#ifndef UNTITLED_H
#define UNTITLED_H
#include "untitled_global.h"
class UNTITLEDSHARED_EXPORT Untitled
{
public:
Untitled();
};
#endif // UNTITLED_H
To copy to clipboard, switch view to plain text mode
How do I create a project using dllmain?
BOOL WINAPI DllMain(HINSTANCE module_handle, DWORD reason_for_call, LPVOID reserved)
{
if (reason_for_call == DLL_PROCESS_ATTACH) // Self-explanatory
{}
return true;
}
BOOL WINAPI DllMain(HINSTANCE module_handle, DWORD reason_for_call, LPVOID reserved)
{
if (reason_for_call == DLL_PROCESS_ATTACH) // Self-explanatory
{}
return true;
}
To copy to clipboard, switch view to plain text mode
Is there any way to execute dll functions when I attach qt created dll to another process?
I want to perform same task as DLL_PROCESS_ATTACH does but with the dll created using qt creator.
Bookmarks