Newsgroups: comp.windows.ms.programmer Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau From: bonneau@hyper.hyper.com (Paul Bonneau) Subject: Re: How Do I Call Function After GetProcAddress() !!! Message-ID: <1991Jun10.214915.1973@hyper.hyper.com> Reply-To: bonneau@hyper.hyper.com (Paul Bonneau,,) Organization: HyperCube Inc. References: <6931@vela.acs.oakland.edu> Date: Mon, 10 Jun 1991 21:49:15 GMT In article <6931@vela.acs.oakland.edu> rdthomps@vela.acs.oakland.edu (Robert D. Thompson) writes: > > I seem to be having problems calling a function after > GetProcAddress() > > Basically, > > lpfnFunction = GetProcAddress(...) > > Then I want to call the function. > > I remember doing something similar a while back, but I > can't seem to get this to work...even with > > (lpfnFunction)(); > > Any help would be appreciated. > You need to use CallWindowProc() with the lpfn as the first param, followed by the arg list. cheers - Paul Bonneau.