Hello all, with
I am a socket programmer, and recently i'm learning MODBUS TCP, and I wanted to make a simple application using MODBUS TCP over ETHERNET, application has two programs, one is SERVER and other is CLIENT as we have in network programming, NOTE : Strictly on C only. I searched a lot and read but couldn't find anything except for C# .NET and serial configuration. If anyone can help...!!!?
Now I would like to redirect output of CMD, but there is following problem. When I set UseShellExecute=false, I cannot run CMD with administrator privileges, which is required to use Netsh. But when I set true I cannot redirect output. Could you please help, how can I solve this problem? Thank you in advance!
Ok, the readability suffers a bit - sorry for the bleeding eyes
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
Identify your primary objective. If it is producing a new application, then stick to the language you know best, but if it is learning C++ then follow Richard's advice.
I faced the same choice some years back, and since my primary objective was learning C++ I went down this route. Had it been the production of a new application I would have continued with COBOL.
I never had any desire to branch out into C# but it made practical sense to adopt it for the WCF and ASP.NET aspects so that got learned too. Nowadays Visual Studio, and particularly the express versions offer better UI experiences in C#, so consider that C++ may not offer all you desire.
I am designing a c++\mfc program. I have a problem by the resolution of the icons in the designing procedure. When I open a designed icon, visual studio open it as 256 color image, however the original image has a higher resolution. Also, when I create a new icon visual studio sets its resolution as 16 colors.
How I can open the icon as original resolution or increase the resolution of an icon?
Please guide me to solve the problem.