Re: VC++ or Java to support serial port driver?

From: Jeff Schwab (jeffplus_at_comcast.net)
Date: 05/22/04


Date: Sat, 22 May 2004 11:23:16 -0400

dalewz wrote:
> Hi,
>
> Could sb kindly answer my following questions:
>
> Plan:
> I am trying to find a language to build a GUI to communicate with our
> device via serial port.

Um... No. A GUI is a Graphical User Interface. It interfaces with
Users. Graphically. Serial ports do not directly display graphics (at
least not any I've seen), and very few users stick their fingers in and
interface with the ports directly.

Here's what I think you want: An application communicating with users
through a graphical interface, and with some device via a serial port.
These are two, separate interfaces, and I recommend that you avoid
coupling them more than necessary. One popular approach is to use two,
complementary languages for this sort of application, and let them
communicate through widely platform-specific (but widely supported)
channels, e.g. bidirectional pipes. C is a popular choice for the
device-level code.

> Questions:
> 1. which language (VC++ or Java) is the best?

VC++ isn't a language, it's Microsoft's implementation of a compiler and
IDE for the C++ programming language. You don't have to use VC++ to use
C++. In your position, my first choice probably would be to use a less
OS-specific C++ compiler, my second choice would be Java, and my third
choice would be a recent (not 6.0) version of VC++.

> 2. if VC++, which complier (VC.net or BCB 6) is the best? I hope they
> have a good serial port driver built in or I can find easily.

Not a clue. Try a microsoft-specific news group.

> 3. any good training courses or books for recommended solution?

To which problem?



Relevant Pages

  • Re: VC++ or Java to support serial port driver?
    ... applications to support serial port communications. ... >> I am trying to find a language to build a GUI to communicate with our ... A GUI is a Graphical User Interface. ... Serial ports do not directly display graphics (at ...
    (comp.lang.cpp)
  • Re: What language, compiler, environment and libraries could I use for this?
    ... >There are two aspects to this: the interface and the sound ... >You could write them both in the same language, ... >Since you are considering C++, and you are interested in sound effects, ... If you know how to do graphics using it, ...
    (comp.programming)
  • Re: What language, compiler, environment and libraries could I use for this?
    ... You could write them both in the same language, or in two languages that interface. ... Since you are considering C++, and you are interested in sound effects, I assume you will want to do the sound manipulation in C/C++. ... So the question is whether you do the whole thing that way, including the interface. ... Maybe Java would be a good alternative - graphics are a bit easier to do, though few people seem to realise that the Image and Graphics setup is actually very similar to Windows' bitmaps and device contexts, especially as implemented in MFC. ...
    (comp.programming)
  • matlab to PIC C language
    ... I was wondering if Matlab codes could be compiled to PIC C language so that I don't have to interface PIC16F877 and Matlab through the serial port. ...
    (comp.soft-sys.matlab)
  • Re: object system...
    ... conflict with the actual sun and stars (so, ... Interface too can have some properties defined in terms of third types ... not the language or its target. ... If you ignore overflow exceptions, then necessary, the semantics becomes ...
    (comp.object)