I want to access the data files in the same dir as DLL,so I need the pat name of the DLL. I use following: GetModuleFileName(m_hInst,pszDLLpath_buffer,_MAX_DIR); and it seems not work. :omg:
I want to access the data files in the same dir as DLL,so I need the pat name of the DLL. I use following: GetModuleFileName(m_hInst,pszDLLpath_buffer,_MAX_DIR); and it seems not work. :omg: