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. How do I find a Microsoft Forms 2.0 Control in a VC6 Project? [modified]

How do I find a Microsoft Forms 2.0 Control in a VC6 Project? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
questionvisual-studiotestingbeta-testingjson
4 Posts 2 Posters 0 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.
  • J Offline
    J Offline
    JohnnyG
    wrote on last edited by
    #1

    The better question might be, "How can I get rid of this dependency?". I'm finishing testing on another developer's project who doesn't know himself how he got his application dependent on the FM20.dll and FM20ENU.DLL. Looking online I found that these are Microsoft forms 2.0 controls. Is there a way to check the resources or the project, for 2.0 controls? Since, these are not redistributable and the application is not dependent on anything that MS Office might have installed (as far as we know), I want to get rid of this dependency but simply removing the dlls from the application's installation directory is not going to solve this problem. I need to know why the application is dependent on them. Is there certain 2.0 API type calls that I can search on within the project? Or something inside of the IDE itself that I can check?

    modified on Tuesday, March 29, 2011 3:24 PM

    H 1 Reply Last reply
    0
    • J JohnnyG

      The better question might be, "How can I get rid of this dependency?". I'm finishing testing on another developer's project who doesn't know himself how he got his application dependent on the FM20.dll and FM20ENU.DLL. Looking online I found that these are Microsoft forms 2.0 controls. Is there a way to check the resources or the project, for 2.0 controls? Since, these are not redistributable and the application is not dependent on anything that MS Office might have installed (as far as we know), I want to get rid of this dependency but simply removing the dlls from the application's installation directory is not going to solve this problem. I need to know why the application is dependent on them. Is there certain 2.0 API type calls that I can search on within the project? Or something inside of the IDE itself that I can check?

      modified on Tuesday, March 29, 2011 3:24 PM

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #2

      In VC6, the two ways that a project links to a DLL is: 1. It includes some .h header file, and that has a statement like

      #pragma comment(lib, "bozo.lib")

      2. It links directly by specifying the .lib file explicitly in the Linker options.

      Best wishes, Hans


      [Hans Dietrich Software]

      J 2 Replies Last reply
      0
      • H Hans Dietrich

        In VC6, the two ways that a project links to a DLL is: 1. It includes some .h header file, and that has a statement like

        #pragma comment(lib, "bozo.lib")

        2. It links directly by specifying the .lib file explicitly in the Linker options.

        Best wishes, Hans


        [Hans Dietrich Software]

        J Offline
        J Offline
        JohnnyG
        wrote on last edited by
        #3

        Thanks, Hans. I've never used the #pragma comment lib directive. I've checked for both and there are no inclusion to those libs. The only thing it may be, and I will have to check first, is that he includes explicitly two libraries, that he created, in the Linker options. Perhaps, one or both of those library projects use the forms controls.

        1 Reply Last reply
        0
        • H Hans Dietrich

          In VC6, the two ways that a project links to a DLL is: 1. It includes some .h header file, and that has a statement like

          #pragma comment(lib, "bozo.lib")

          2. It links directly by specifying the .lib file explicitly in the Linker options.

          Best wishes, Hans


          [Hans Dietrich Software]

          J Offline
          J Offline
          JohnnyG
          wrote on last edited by
          #4

          Okay, checking for a linked library in a library project when none will exist makes sense. I don't know what I was thinking. But it didn't have any #pragma comment(lib,...) directives in the two libraries either. FYI, I finally found the answer by viewing the .rc resource file. It seems that a GUID exists, because the Forms Controls (is a COM object or OLE server?), for each of the controls that were used within the project. Found 4 GUIDs, one image, one text box, and two labels. Now have to replace them. Apparently they were used because the items all needed image backgrounds.

          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