How to get normal DLL method name

Denis Mezhov d.o.mezhov at gmail.com
Sat Feb 15 16:46:12 PST 2014


Sorry

// Not work
FARPROC fp = GetProcAddress(h, "dllprint");
if fp is null)
{
     printf("error loading symbol()\n");
}

// It work
FARPROC fp = GetProcAddress(h, "D7dllmain8dllprintFZv");

if fp is null)
{
     printf("error loading symbol()\n");
}


More information about the Digitalmars-d-learn mailing list