Thread: What C++ GUI Toolkit to convert an RS232 MFC application into?

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    4,183

    What C++ GUI Toolkit to convert an RS232 MFC application into?

    I have an RS232 (Serial file transfer program) written in MS C++ with Microsoft Foundation Class (MFC).

    I want to remove the requirement for the program user having to have admin rights to run the program. I am guessing that MFC programs that use the serial port requires admin access to run.

    I am also guessing other Windows GUI programs do not require admin access to run serial port programs.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Hardware ownership tends to be a more fundamental property of the OS than any particular glossy UI you put in front of the user.

    Try this program.
    Configuring a Communications Resource - Win32 apps | Microsoft Docs
    If that needs admin rights, you're stuck.

    Is this your home machine, or some corporate environment which has policies concerning sticking anything into a machine that could be used to exfiltrate information?

    Is this a really old (like Win9x series) program which modern windows knows little about, so it assumes the worst.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    To Salem: Thank you for the reply. I will try the linked code and see if it requires Admin to run.
    The MSVC project is very old likely written for WindowsXP or Windows 2000 it is now being built and ran under Windows 7 32 bit.
    The final users could be using many versions of Windows likely mainly 7/8/10 both 32 bit and 64 bit.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  4. #4
    Registered User
    Join Date
    Oct 2019
    Posts
    82
    My love for Qt grows every day...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert console to windows gui application
    By mrupload in forum C++ Programming
    Replies: 8
    Last Post: 08-07-2014, 07:58 AM
  2. Which Gui toolkit should I use.
    By freiza in forum Windows Programming
    Replies: 0
    Last Post: 05-16-2012, 01:29 PM
  3. GUI toolkit for C... which one?
    By JBull in forum C Programming
    Replies: 8
    Last Post: 12-04-2007, 12:44 PM
  4. Howto convert a console-application into a windows one?
    By Linuxhippy in forum Windows Programming
    Replies: 2
    Last Post: 06-26-2005, 01:38 AM
  5. How To Convert A Dos-Prompt C++ PRogram Into Win32 Application ?
    By SonicWave in forum Windows Programming
    Replies: 1
    Last Post: 09-15-2001, 11:03 AM

Tags for this Thread