I'm just trying to mimic the original libmain! in the dllmain, as i only want the vraible hInstance = hModule set once.