MCPcopy Create free account
hub / github.com/EasyDarwin/EasyPusher / LoadDataInt

Method LoadDataInt

EasyPusher_Win/EasyPusher/IniFileLoad.cpp:172–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172void CIniFileLoad::LoadDataInt(CString strSection,CString strKey,int &nValue)
173{
174 CString strValue=_T("");
175 LoadString(strSection,strKey,strValue);
176
177 if(strValue.IsEmpty())
178 {
179 nValue=-1;
180 }
181 else
182 {
183 nValue=_ttoi(strValue);
184 }
185
186}
187
188void CIniFileLoad::LoadDataDouble(CString strSection,CString strKey,double &fValue)
189{

Callers 1

LoadOrderRecordDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected