All pastes #759365 Raw Edit

Someone

public cpp v1 · immutable
·published 2007-11-03 01:53 UTC
rendered paste body
float getIniValueAsFloat(LPCSTR section, LPCSTR key, LPCSTR iniFile){	DWORD length = 255;	string s;	GetPrivateProfileString(section,  key, "0", (LPSTR)s.c_str(), length, iniFile); 	return  atof(s.c_str());}