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. module name

module name

Scheduled Pinned Locked Moved C / C++ / MFC
question
10 Posts 4 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.
  • A Offline
    A Offline
    ali kanju
    wrote on last edited by
    #1

    how can i give name to my exe module.

    R H CPalliniC 3 Replies Last reply
    0
    • A ali kanju

      how can i give name to my exe module.

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      See GetModuleFileName()[^]

      It is a crappy thing, but it's life -^ Carlo Pallini

      H A 2 Replies Last reply
      0
      • A ali kanju

        how can i give name to my exe module.

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See GetModuleBaseName .

        Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

        1 Reply Last reply
        0
        • A ali kanju

          how can i give name to my exe module.

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #4

          On Visual Studio you may specify the name of the executable (if I understand your request). For instance (on VS2005, at least) Choose menu Project->Properties and then, select (on the appeared window) the Configuration Properties->Linker node and finally set the Output File property with the intended name. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          In testa che avete, signor di Ceprano?

          A 1 Reply Last reply
          0
          • R Rajesh R Subramanian

            See GetModuleFileName()[^]

            It is a crappy thing, but it's life -^ Carlo Pallini

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            You are fast you changed your reply to a link! :-D

            Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

            R 1 Reply Last reply
            0
            • R Rajesh R Subramanian

              See GetModuleFileName()[^]

              It is a crappy thing, but it's life -^ Carlo Pallini

              A Offline
              A Offline
              ali kanju
              wrote on last edited by
              #6

              i mean how can i give a name to my module that can be referenced to check that call to a specific function has come from which module.

              1 Reply Last reply
              0
              • CPalliniC CPallini

                On Visual Studio you may specify the name of the executable (if I understand your request). For instance (on VS2005, at least) Choose menu Project->Properties and then, select (on the appeared window) the Configuration Properties->Linker node and finally set the Output File property with the intended name. :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                A Offline
                A Offline
                ali kanju
                wrote on last edited by
                #7

                this is wat i exactly wanted but there is no output file property in linker options.m using vs2005.

                CPalliniC 1 Reply Last reply
                0
                • A ali kanju

                  this is wat i exactly wanted but there is no output file property in linker options.m using vs2005.

                  CPalliniC Offline
                  CPalliniC Offline
                  CPallini
                  wrote on last edited by
                  #8

                  Yes, there is. If you select the Configuration properties->Linker node (don't select any of the child nodes), then you may find the Output File property as the first item of the listview (such listview is on the right of the window). :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  In testa che avete, signor di Ceprano?

                  A 1 Reply Last reply
                  0
                  • H Hamid Taebi

                    You are fast you changed your reply to a link! :-D

                    Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

                    R Offline
                    R Offline
                    Rajesh R Subramanian
                    wrote on last edited by
                    #9

                    Hamid. wrote:

                    You are fast you changed your r

                    What you probably didn't know...[^]

                    It is a crappy thing, but it's life -^ Carlo Pallini

                    1 Reply Last reply
                    0
                    • CPalliniC CPallini

                      Yes, there is. If you select the Configuration properties->Linker node (don't select any of the child nodes), then you may find the Output File property as the first item of the listview (such listview is on the right of the window). :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      A Offline
                      A Offline
                      ali kanju
                      wrote on last edited by
                      #10

                      yeah thanx...it is in Configuration properties->C/C++.

                      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