@obislavu,
my problem is, that my program doesn´t recognize, that the environment has change. I change the variable and later I call an other program, but this program uses still the old value of the variable. And even in my program I got the old value of the variable, when I read it with...
hello all,
in my MFC-application I change the value of an environment variable by using CRegKey. After changing the value I call
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,(LPARAM)"Environment", SMTO_ABORTIFHUNG,5000,&returnValue);
to inform other programs, that the environment...
I want to program a MFC application which compacts
MS Access databases.
for this I use the following function:
void CCompactDlg::OnCompactButton()
{
UpdateData(true);
CString parameter ("/user administrator /pwd ");
parameter += m_passwort;
parameter += " /compact"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.