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#
  4. console application creation

console application creation

Scheduled Pinned Locked Moved C#
questionhelp
4 Posts 3 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.
  • D Offline
    D Offline
    DKalepu
    wrote on last edited by
    #1

    Hi All, I have developed a windows application using serial port. Now, i am asked to convert it into a .exe file(console application)..Is it possible? if so, how can i do it?? could any one please help me... Thanks in Advance.

    C 1 Reply Last reply
    0
    • D DKalepu

      Hi All, I have developed a windows application using serial port. Now, i am asked to convert it into a .exe file(console application)..Is it possible? if so, how can i do it?? could any one please help me... Thanks in Advance.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Just create a console app and move your code into it. The main thing is, a console app does not have events, so you need to build your own menus and so on in plain text.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      D 1 Reply Last reply
      0
      • C Christian Graus

        Just create a console app and move your code into it. The main thing is, a console app does not have events, so you need to build your own menus and so on in plain text.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        D Offline
        D Offline
        DKalepu
        wrote on last edited by
        #3

        I have done it in the same way... ITs running well on my machine... But when I run that .exe file on another machines its saying " application failed to initialize properly: Click OK to terminate the program" whats the problem?? how can I run my .exe on another machines as well....??? :confused: :confused::confused:

        L 1 Reply Last reply
        0
        • D DKalepu

          I have done it in the same way... ITs running well on my machine... But when I run that .exe file on another machines its saying " application failed to initialize properly: Click OK to terminate the program" whats the problem?? how can I run my .exe on another machines as well....??? :confused: :confused::confused:

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          There can be several reasons for this, try Google to see them. Best guess is read access violation on some DLL file. BTW the message typically includes an error code, if it did you should show it. :)

          Luc Pattyn [My Articles] [Forum Guidelines]

          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