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. Managed C++/CLI
  4. Need Help (Command Console)

Need Help (Command Console)

Scheduled Pinned Locked Moved Managed C++/CLI
help
7 Posts 5 Posters 39 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.
  • M Offline
    M Offline
    Mahek Thapa
    wrote on last edited by
    #1

    hey guys i am new here i need help you guys are pro i hope i am in right place i need some dll to call function like command console press key to call console then you type in it "hello guys" it will output hello guys as strings how i wanna use that dll load_library "Console.dll" get_proc_address "Commands"

    V L A 3 Replies Last reply
    0
    • M Mahek Thapa

      hey guys i am new here i need help you guys are pro i hope i am in right place i need some dll to call function like command console press key to call console then you type in it "hello guys" it will output hello guys as strings how i wanna use that dll load_library "Console.dll" get_proc_address "Commands"

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Are you sure you'd like to do it using some managed C++/CLI code? Then show your code...

      1 Reply Last reply
      0
      • M Mahek Thapa

        hey guys i am new here i need help you guys are pro i hope i am in right place i need some dll to call function like command console press key to call console then you type in it "hello guys" it will output hello guys as strings how i wanna use that dll load_library "Console.dll" get_proc_address "Commands"

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Just create a console application that reads a line of text and prints it back out, and you have the complete answer.

        1 Reply Last reply
        0
        • M Mahek Thapa

          hey guys i am new here i need help you guys are pro i hope i am in right place i need some dll to call function like command console press key to call console then you type in it "hello guys" it will output hello guys as strings how i wanna use that dll load_library "Console.dll" get_proc_address "Commands"

          A Offline
          A Offline
          Andre Oosthuizen
          wrote on last edited by
          #4

          Google would have saved you a lot of time here - MS Learn | Create a C++ console app project[^] As a basic you will have something like -

          #include
          #include

          int main() {
          std::string line;
          std::cout << "Enter a line of text: ";
          std::getline(std::cin, line);
          std::cout << "You entered: " << line << std::endl;
          return 0;
          }

          M 1 Reply Last reply
          0
          • A Andre Oosthuizen

            Google would have saved you a lot of time here - MS Learn | Create a C++ console app project[^] As a basic you will have something like -

            #include
            #include

            int main() {
            std::string line;
            std::cout << "Enter a line of text: ";
            std::getline(std::cin, line);
            std::cout << "You entered: " << line << std::endl;
            return 0;
            }

            M Offline
            M Offline
            Mahek Thapa
            wrote on last edited by
            #5

            thank you very much sir for reply but i need dll file to use them i have no idea how to write codes in c++ i need dll to get job done you can write any code language just need .dll file :sigh:

            D A 2 Replies Last reply
            0
            • M Mahek Thapa

              thank you very much sir for reply but i need dll file to use them i have no idea how to write codes in c++ i need dll to get job done you can write any code language just need .dll file :sigh:

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              If you're asking for someone to write this code for you, that's not going to happen.

              Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

              1 Reply Last reply
              0
              • M Mahek Thapa

                thank you very much sir for reply but i need dll file to use them i have no idea how to write codes in c++ i need dll to get job done you can write any code language just need .dll file :sigh:

                A Offline
                A Offline
                Andre Oosthuizen
                wrote on last edited by
                #7

                Yeah sorry, as Dave stated, not going to happen if you want someone to write your code for you, not how it works here on CP

                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