On 1/14/13, dnewbie <r...@myopera.com> wrote: > FuncPtr realFunction = cast(FuncPtr) getFunction();
Make that: FuncPtr realFunction = cast(FuncPtr) getFunction; Don't call the FARPROC, just cast it.
On 1/14/13, dnewbie <r...@myopera.com> wrote: > FuncPtr realFunction = cast(FuncPtr) getFunction();
Make that: FuncPtr realFunction = cast(FuncPtr) getFunction; Don't call the FARPROC, just cast it.