Coder's Guild Mailing List

Problem with dll in VC++6

Posted by Hacker Cracker on 1999-07-21

Hi,
It's been some time since i last posted to guile but i'm back now.
(btw the nick is a stupid prank of a friend)
Here's the situation:(in win95)
I want to make a system hook which will reside in a dll(in the
/windows/system directory) and which will have a mouse hook(WH_MOUSE)
and two global variables(say UINT a1,a2).The problem is that
i need to have access to those variables in the prog that sets the
mouse hook.I don't know what to do.I can dynamicly load the mouse hook 
function but not the variables.I have also tried to imlicitly
link the dll(at load time) but smth seems to go wrong.
Any ides on how i could go about resolving  the problem??
Oh,btw what *exactly* is a page fault??
Regards,Ray-G(my real nick)


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com