G
Guest
Hi everyone,
I am trying to get the following data from the registry, but my app dies
somewhere in the GetProfileInt function call:
CWinApp* pApp = AfxGetApp();
m_dwHostAddr = pApp->GetProfileInt(_T("Params"), _T("Host_IPAddress"), 0);
m_strIPAddress = pApp->GetProfileString(_T("Params"),
_T("Host_IPAddress_String"), "0.0.0.0");
m_nHostPort = pApp->GetProfileInt(_T("Params"), _T("Host_Port"), 40321);
Works on 6.0 fine... is there a problem with 7.1 that a patch would happen
to be available?
Thanks in advance!
OJ
I am trying to get the following data from the registry, but my app dies
somewhere in the GetProfileInt function call:
CWinApp* pApp = AfxGetApp();
m_dwHostAddr = pApp->GetProfileInt(_T("Params"), _T("Host_IPAddress"), 0);
m_strIPAddress = pApp->GetProfileString(_T("Params"),
_T("Host_IPAddress_String"), "0.0.0.0");
m_nHostPort = pApp->GetProfileInt(_T("Params"), _T("Host_Port"), 40321);
Works on 6.0 fine... is there a problem with 7.1 that a patch would happen
to be available?
Thanks in advance!
OJ