Trouble with DLL address

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Jan 14 15:51:13 PST 2013


On 1/14/13, dnewbie <run3 at myopera.com> wrote:
>      FuncPtr realFunction = cast(FuncPtr) getFunction();

Make that:

FuncPtr realFunction = cast(FuncPtr) getFunction;

Don't call the FARPROC, just cast it.


More information about the Digitalmars-d-learn mailing list