On 02/08/12 20:06,
wrote:
> Visual Basic provided the "GUI programming for the masses" and is
> easy enough, but it does not interface with the C code seamlessly. As
> I remember, VB can make calls to DLLs, which might be written in C,
> but then you need to jump hoops to debug the separate DLLs. However,
> maybe my experience is outdated. I'd really love to hear if you found
> a way to easily debug the embedded C code that's the main focus
> here.
VB can't integrate with C code, and certainly can't help with debugging
them. It can communicate with DLL's, ActiveX, or external programs (via
DDE, OLE, pipes, or network sockets) - but that's far from "seamless".
It's a complete mess for non-experts - you would be trying to debug your
C code using one tool, and the VB code with a different tool, and trying
to figure out what is going wrong during execution (when both parts are
active).
VB was a great product up to and including version 3.0 (for Win 3.0).
Then Borland Delphi 1.0 came out - for any usage where VB might have
been a good idea, Delphi would have been a better idea.
>
> Regarding the free C++ compilers for Windows (such as the compiler
> from Visual C++ 2003), there is also free Borland 5.5
> (http://edn.embarcadero.com/article/20633/). This is also just a
> command-line toolset.
>
If you want a free command line compiler for Windows, use mingw (gcc for
Windows). Borland make good tools - but it's their RAD IDE that makes
them good. Their C/C++ compiler is okay, but nothing outstanding - so
if you want command line tools, use the best one.
(Intel also makes good compilers, which can be a bit faster for some
code. They are certainly free for non-commercial use on Linux - I don't
know if there are free Windows versions.)