c++ - Can we pass data to DLLMain before it gets hooked? -


when process abc.cpp hooks dllmain, executes dll_process_attach. can pass data or parameter dllmain, can used inside dll_process_attach.

as of using setprop , getprop of window api share data, while considering desktop window parent window. not sure pros , cons of approach.

thanks in advance

as far know can not pass parameter when attaching. can set environment variable, use registry...an ini file if want old-fashioned :-)

or, can have function in dll called after loaded, , pass information parameter.

if none of these solutions address problem, please explain trying accomplish, can better.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -