Top "Console-application" questions

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.

How do I create a Resources file for a Console Application?

I'm trying to use an embedded resource in a console application, but apparently console applications don't come with a resource …

c# console-application embedded-resource
Get base URL in Yii console application

How to get base URL in a Yii CConsoleApplication application? I tried Yii::app()->request->getBaseUrl(true) …

php yii console-application yii1.x
standard way to perform a clean shutdown with Boost.Asio

I'm writing a cross-platform server program in C++ using Boost.Asio. Following the HTTP Server example on this page, I'd …

c++ signals console-application boost-asio
ObjectDisposedException was unhandled: Safe handle has been closed at program end

I have a .NET 4 C# console application. It pulls data from our IBM i and sends it to our internet …

c# .net-4.0 console-application objectdisposedexception
How to enforce required command-line options with NDesk.Options?

I was just writing a console utility and decided to use NDesk.Options for command-line parsing. My question is, How …

c# console-application command-line-parsing ndesk.options
The non-generic method 'IServiceProvider.GetService(Type)' cannot be used with type arguments

I am using .NET Core dependency injection, but when I am trying to get the service in another class, I …

c# .net-core console-application dependency-inversion
Console application with Java and gradle

I am writing a console application with Java and gradle. I am using the application plugin and have the required …

java console-application gradle
C# Console Application - How to draw in BMP/JPG file using GDI+?

I want to draw shapes like rectangles, arrows, text, lines in a BMP or JPG file, using a C# Console …

c# jpeg console-application gdi+ bmp
AttachConsole(-1), but Console.WriteLine won't output to parent command prompt?

If I have set my program to be a Windows Application, and used the AttachConsole(-1) API, how do I …

.net winapi pinvoke console-application
ReadKey while key is not pressed do something

I am trying to run my code until Esc was pressed. Therefore I am using ReadKey in my Console var …

c# console console-application console.readkey readkey