Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual C++ equivalent of "TModule" in Borland C++ [modified]

Visual C++ equivalent of "TModule" in Borland C++ [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
c++delphihelp
5 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    coder21k
    wrote on last edited by
    #1

    If anyone has previously used "TModule" in Borland C++, can you please let me know the equivalent(if any) class in win32 or atlease close to that class in similarity. I am migrating one of my application wrtten in borland C++ to visual C++. Just for your reference: "TModule in Borland C++ forms the basis for the TApplication class, which encapsulates the application's global functions such as startup tasks, message loops, and error handling. The TDll class provides a similar base for developing dynamic link libraries (DLL)."

    modified on Thursday, July 15, 2010 4:03 AM

    C R 2 Replies Last reply
    0
    • C coder21k

      If anyone has previously used "TModule" in Borland C++, can you please let me know the equivalent(if any) class in win32 or atlease close to that class in similarity. I am migrating one of my application wrtten in borland C++ to visual C++. Just for your reference: "TModule in Borland C++ forms the basis for the TApplication class, which encapsulates the application's global functions such as startup tasks, message loops, and error handling. The TDll class provides a similar base for developing dynamic link libraries (DLL)."

      modified on Thursday, July 15, 2010 4:03 AM

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      You would probably have much more answers if you describe which functionality you are looking for (for instance I never worked with Borland so I have no clue what this TModule does).

      Cédric Moonen Software developer
      Charting control [v3.0] OpenGL game tutorial in C++

      C 1 Reply Last reply
      0
      • C Cedric Moonen

        You would probably have much more answers if you describe which functionality you are looking for (for instance I never worked with Borland so I have no clue what this TModule does).

        Cédric Moonen Software developer
        Charting control [v3.0] OpenGL game tutorial in C++

        C Offline
        C Offline
        coder21k
        wrote on last edited by
        #3

        Thanks for your reply. I have modified my question including the details of what TModule is.

        C 1 Reply Last reply
        0
        • C coder21k

          Thanks for your reply. I have modified my question including the details of what TModule is.

          C Offline
          C Offline
          Cedric Moonen
          wrote on last edited by
          #4

          Ok, but then you can create an MFC application, and some classes will be created for you, like a C...App class (the "..." being your project name). This class also wraps the message loop. It is probably not the same as the one for Borland but I guess it would be similar. However, you'll need to choose if you want an SDI, MDI or dialog based application. If you never worked with Visual Studio, I strongly suggest that you buy a book to get started, it will help you a lot at the beginning.

          Cédric Moonen Software developer
          Charting control [v3.0] OpenGL game tutorial in C++

          1 Reply Last reply
          0
          • C coder21k

            If anyone has previously used "TModule" in Borland C++, can you please let me know the equivalent(if any) class in win32 or atlease close to that class in similarity. I am migrating one of my application wrtten in borland C++ to visual C++. Just for your reference: "TModule in Borland C++ forms the basis for the TApplication class, which encapsulates the application's global functions such as startup tasks, message loops, and error handling. The TDll class provides a similar base for developing dynamic link libraries (DLL)."

            modified on Thursday, July 15, 2010 4:03 AM

            R Offline
            R Offline
            Rolf Kristensen
            wrote on last edited by
            #5

            The message loop in MFC is hidden inside CWinApp. Windows Message Handling - Part 1[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups