console application creation
-
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.
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 )
-
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 )
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:
-
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:
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]