Hi Bruce,
HWND g_hwndPowerPro=FindWindow("PowerProMain",NULL);
PPROSERVICES* g_ppsv = (PPROSERVICES*) SendMessage(g_hwndPowerPro,
WM_USER+501, 0,0);
Doesn't work in another process (I'm looking at rewriting Julien's
2pp, 2ppvar routines).
g_ppsv wouldn't be valid in another process -- not same memory space?
I want to get at theses services:
SetStaticVar
GetStaticVarAddr
GetVarSize
GetVarAddr
The first I can do by writing a simple pluginthat does does
nothing but echo calls to ppsv services.
The other three need a response. I can give my process (2pp.exe) etc
a window and accept messages back from ppsv plugin. You think of any
other way? Maybe there's a way to get same functionality as any of
the above by straighforward calls to pp or pp scripts?