Hello everybody.
I need to encrypt a CString, I saw some classes but it gives me different results (for the same original string) in different computers, I need the same result for the same original string in any computer, also, it must be ANSI and UNICODE compliant.
Thanks in advance,
William
Hello everybody.
I have to read a string from registry, this string is ANSI, when I read it with ANSI version of my app, all is fine, but if I read it with UNICODE version of my app, the string obtained is wrong, so, how can I read a ANSI string (from registry) from a UNICODE app?.
Thansk in...
Hello everybody. I need the default program files directory ("C:\Program Files" or "C:\Archivos de programa" in spanish Windows), there are funtions to obtain another system dirs like GetCurrentDirectory(), GetSystemDirectory(), GetWindowsDirectory(); is there a function to obtain the program...
Hello, I have some VC6 DLLs and I want to use them with NET EXEs (MFC 7.0), but the linker give me many errors, especially in functios with CStrings (parameters or return); How can I fix it? or have I to recompile the DLLs in NET?
Thanks in advance,
William GS
Hello, I have a CFileDialog with multiple selection and open mode, when I select the files with click on the first one then shift+click on the last one and close the dialog with “Open” button, DoModal() returns IDCANCEL!!!, but when I select the files with Ctrl+Click it works fine. I work with...
Hi all, please help me with:
1) How can I change the app tittle? (not the project tittle), that tittle showed in the tittle bar, in the AfxMessageBox tittle, etc. I changed the IDR_MAINFRAME resource but it does not work.
2) How can I restore the normal state of a minimized view...
Hi all, please help me with:
1) I get the date format from Windows Control Panel with 'GetLocaleInfo()', these formats are:
dd/MM/yyyy
dddd, dd' de 'MMMM' de 'yyyy
But I have mi date in a COleDateTime object and COleDateTime::Format() does not work with these date formats, ¿How can I format...
Hi all, How do I obtain the regional cfg from control panel? I need the date format, the money format, the real numbers format, etc.
Thanks in advance,
William GS
Hi all. I have a modeless dialog (whithout tittle bar, without 'OK' and 'Cancel' Button) and I want to hide it when it loses focus or when the user clicks outside the dialog, I tried to catch WM_KILLFOCUS message, but it only is called when the dialog appears the first time, not when the dialog...
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.