Quote Originally Posted by KingTermite View Post
Large project that I've been working on converting from VC++ 6.0 to VC++ 8.0 (.NET 2005). It has an app (EXE), a main DLL, and 5 component DLLs (formerly COM, but now are MFC Dlls).

One of the DLLs has many dialogs and controls that are used. When I converted over, I just copied most of the resource file (.rc) over to the new one (textually).

Everything looks fine. All dialog boxes and controls appear fine when I look at the resources in the project.

When I get to the point in my code where a dialog box is called, nothing happens. Nothing comes up, it just goes over the line returning a -1.

Relevant Code:

Code:
      CSequenceSelectDialog dlg;
      dlg.m_pTestProperties = m_pTestProperties;
      dlg.m_pConfigurationMatrix = m_pConfigurationMatrix;
      dlg.m_nStationNumber = nStationNumber;
      dlg.m_strUserPath = m_strUserPath;
      dlg.m_strTestPath = m_strTestPath;
before .NET conversion */
      *nSequenceSelection = m_nSequenceSelection = (int) dlg.DoModal();
      if (*nSequenceSelection == IDOK)
      {
Is there any reason this isn't working now that you can think of? Any thoughts are appreciated.
Why did you copy resoure file textually?

I would start an empty project and copy over the files. I haven't used VC2005 but shouldn't it convert V6S project files?

Editing resource files is nothing but trouble.

Start and empty project and copy the files over. I have several large V6S, if I have to copy over the resource file manually for about 60 dialog boxes I'm in trouble.

Try creating some small projects in V6S and covert them to get idea how to convert them. ... I still think that VS2005 should automattically convert V6 projects, maybe only V2003 does it.

...either way, just copying the project files should work though, stay in the C++ world.