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"); }