Click here to Skip to main content
15,885,366 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: _stat function and files before 1970 Pin
Stuart Dootson21-Jul-09 22:42
professionalStuart Dootson21-Jul-09 22:42 
GeneralRe: _stat function and files before 1970 Pin
vikramlinux22-Jul-09 1:38
vikramlinux22-Jul-09 1:38 
GeneralRe: _stat function and files before 1970 Pin
Stuart Dootson22-Jul-09 2:03
professionalStuart Dootson22-Jul-09 2:03 
GeneralRe: _stat function and files before 1970 Pin
vikramlinux22-Jul-09 3:07
vikramlinux22-Jul-09 3:07 
GeneralRe: _stat function and files before 1970 Pin
Stuart Dootson22-Jul-09 3:41
professionalStuart Dootson22-Jul-09 3:41 
QuestionHow to add control from userdefined class to dialog window. Pin
Murugan k21-Jul-09 20:44
Murugan k21-Jul-09 20:44 
AnswerRe: How to add control from userdefined class to dialog window. Pin
Cedric Moonen21-Jul-09 21:06
Cedric Moonen21-Jul-09 21:06 
QuestionUpdating Resource Strings Pin
Benjamin Bruno21-Jul-09 19:38
Benjamin Bruno21-Jul-09 19:38 
Hi
In my application ,I loaded a dll and tried to update a string in that dll using UpdateResource function,but it is not changing the string in that dll.Please Help !
 CString strDll = "C:\\MyRES.dll";
 CString strTest = "END";
 WORD wLang = MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT);

 UpdateMyResource(strDll, _T("108"), wLang, strTest.GetBuffer (strTest.GetLength ()), strTest.GetLength ());

////////////////////////////////////////

//Function  Start

BOOL CBTNDlg::UpdateMyResource(const CString &strFilePath, LPCTSTR lpszResourceId, WORD wLangId, LPVOID lpData, DWORD dwDataLength)
{
 HANDLE hUpdate = ::BeginUpdateResource(strFilePath, FALSE);
 
 if (hUpdate == NULL)
  return FALSE;
 
 BOOL bUpdateResult = FALSE;
 
 bUpdateResult = UpdateResource(hUpdate, RT_STRING, lpszResourceId, wLangId, lpData, dwDataLength);
 
 return EndUpdateResource(hUpdate, FALSE) && bUpdateResult;
}

//Function End

AnswerRe: Updating Resource Strings Pin
«_Superman_»21-Jul-09 22:19
professional«_Superman_»21-Jul-09 22:19 
QuestionRichedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
sharp_k21-Jul-09 14:12
sharp_k21-Jul-09 14:12 
AnswerRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
Stuart Dootson21-Jul-09 16:30
professionalStuart Dootson21-Jul-09 16:30 
GeneralRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
sharp_k21-Jul-09 18:11
sharp_k21-Jul-09 18:11 
GeneralRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
_AnsHUMAN_ 21-Jul-09 20:23
_AnsHUMAN_ 21-Jul-09 20:23 
GeneralRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
sharp_k22-Jul-09 4:50
sharp_k22-Jul-09 4:50 
QuestionHow to run Windows Applications without login Pin
Jun Du21-Jul-09 11:16
Jun Du21-Jul-09 11:16 
AnswerRe: How to run Windows Applications without login Pin
Electron Shepherd21-Jul-09 13:28
Electron Shepherd21-Jul-09 13:28 
AnswerRe: How to run Windows Applications without login Pin
#realJSOP22-Jul-09 0:20
mve#realJSOP22-Jul-09 0:20 
AnswerRe: How to run Windows Applications without login Pin
Joan M22-Jul-09 3:49
professionalJoan M22-Jul-09 3:49 
Questionvisual studio c++ 2005...how to open MFC project and run Pin
goutom roy21-Jul-09 10:56
goutom roy21-Jul-09 10:56 
AnswerRe: visual studio c++ 2005...how to open MFC project and run Pin
led mike21-Jul-09 11:06
led mike21-Jul-09 11:06 
GeneralRe: visual studio c++ 2005...how to open MFC project and run Pin
sharp_k21-Jul-09 19:26
sharp_k21-Jul-09 19:26 
GeneralRe: visual studio c++ 2005...how to open MFC based project which contain a .cpp file .i also want to see my window what i have created..... Pin
goutom roy21-Jul-09 22:35
goutom roy21-Jul-09 22:35 
GeneralRe: visual studio c++ 2005...how to open MFC based project which contain a .cpp file .i also want to see my window what i have created..... [modified] Pin
Michael Schubert21-Jul-09 22:45
Michael Schubert21-Jul-09 22:45 
GeneralRe: visual studio c++ 2005...how to open MFC based project which contain a .cpp file .i also want to see my window what i have created..... PinPopular
killabyte21-Jul-09 23:11
killabyte21-Jul-09 23:11 
GeneralRe: visual studio c++ 2005...how to open MFC based project which contain a .cpp file .i also want to see my window what i have created..... Pin
#realJSOP22-Jul-09 0:17
mve#realJSOP22-Jul-09 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.