afx

What function was used to code these passwords in AFX?

I am trying to work out the format of a password file which is used by a LOGIN DLL of which the source cannot be found. The admin tool was written in AFX, so I hope that it perhaps gives a clue as to the algorithm used to encode the passwords. Using the admin tool, we have two passwords that are encoded. The first is "dinosaur123456789"...

Compiling MFC application with /clr (step1: linking against dynamic DLLs)

I have successfully upgraded an MFC application which was compiled with an old version of Developer Studio to Visual Studio 2008. A very small number of changes were needed because of some breaking changes in MFC. Now that everything works, I'd like to take the next step and compile the solution with /clr. To do so, I have found useful ...

Do I need afxres.h, if I am not using MFC? How do I remove it from the .RC script?

I don't know RC scripts. I want to include Product version, File version, etc. metadata into a DLL I'm building. I'm using an .rc file to do that. The build is makefile driven. I'm following along with an example .rc scrpit I found. The template .rc file includes afxres.h , but I don't think I need that. But if I just remove it I ...

What is private MFC and why are they not accessible through the normal interface ?

I am using MFC for gui development and I stumbled upon a function that could be useful for what I'm trying to do. The function is _AfxCompareClassName. However, it is included in the file "afximpl.h" which is located in the directory "VC/altmfc/src/mfc/afximpl.h". Normal mfc includes are in the directory "VC/atlmfc/include". Now from wh...

Show MFC GUI from UnitTest in Visual Studio 2008

I have two projects in my solution. One is a MFC project which shows a simple GUI saying "Hllo World" If I compile the MFC Application Project as Application (exe) it runs without problems. What I want to do now is to show the window from my UnitTest. (Doesn't make much sens, but it has to be like that). Therefore the MFC application i...