473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

VC++ capabilities and advice...

Hi fellow Netters,

I need to re-write a very old C/C++ application written in the days when
MS/PC-DOS was king.
The reason for the re-write is that the application needs some new
functionality, but more
crucially, some existing functionality does not seem to work on the
current MS OSs.

The application works with a bespoke electrical gadget which emits a
radio wave signal at a fixed frequency.
This gadget is mounted on a trolley, and when switched on sends radio
waves back to a receiver attached
to a pc via its com port. As the trolley is moved forward, the receiver
picks up the signals emitted from
the device on the trolley. The captured signals are read by the
application via the PCs com port.
The application then analyses these signals in real-time plotting a
graph based on the distribution of the
signals over time, measured using the PCs clock ticks etc. The data
collected in this way gets further
analysed off-line using fairly basic statistical techniques to calculate
variance, co-variance, average trolley
speed, etc.

The application does not seem to be able to display this graph correctly
in real time on the more modern
OSs, e.g. W2K and WME. Hence the need for a complete re-write.

I am a complete novice in visual C++ so I was wondering if you gurus
could advice me whether VC++ is upto
such a job or not? I guess the key elements of this application are:
real time graph display, com port i/o API, low level bios clock tick
accessibility, etc.

The application still needs to have the same basic sort of
functionality, but needs to work under
W2K, WME, and XP.

Any ideas, comments or suggestions would be very welcome. And since I
am a complete novice in VC++
I would also entertain re-writing the appliation in other visual
languages such as C/VB/Java etc
if you guys think these would be more appropriate.

My apologies for the length and cross posting of this e-mail.

Best regards.

Naran Hirani

Jul 19 '05 #1
4 2728
[snip]
I am a complete novice in visual C++ so I was wondering if you gurus
could advice me whether VC++ is upto
such a job or not? I guess the key elements of this application are:
real time graph display, com port i/o API, low level bios clock tick
accessibility, etc.

This newsgroup is for standard C++. This is an IDE/compiler-specific
question. Post this in microsoft.public.vc (if your browser supports it,
here's a link: news://microsoft.public.vc)

Any ideas, comments or suggestions would be very welcome. And since I
am a complete novice in VC++
I would also entertain re-writing the appliation in other visual
languages such as C/VB/Java etc
if you guys think these would be more appropriate.
This newsgroup is for C++ only. All of the people here would (IMHO) say C++
is the best, but I would recommend finding some newsgroup which talks about
languages in general (if that exists)

My apologies for the length and cross posting of this e-mail.

Best regards.

Naran Hirani


--
MiniDisc_2k2
To reply, replace nospam.com with cox dot net.
Jul 19 '05 #2
Naran Hirani wrote:
Hi fellow Netters,
I need to re-write a very old C/C++ application written in the days when
MS/PC-DOS was king.
I ain't never hearda no C/C++. Bet that's real old, huh?
The reason for the re-write is that the application needs some new
functionality, but more
crucially, some existing functionality does not seem to work on the
current MS OSs.
No, well. MS-DOS isn't what I'd call an operating system, but (say)
Windows NT is getting there. You're prevented from most direct hardware
access. You should look on MSDN for API functions to interface with
ports and such. (I wanted to make a robot when I was a kid but you had
to have a BBC Micro and I only had a ZX Spectrum. I hope you have better
luck!)
The application works with a bespoke electrical gadget which emits a
[snip. This is too much fun for clc++]
real time graph display, com port i/o API, low level bios clock tick
accessibility, etc.
The thing is, can't do these things _in_ C++ as such, which is why
they're off-topic. You can probably do them _from_ C++, by calling
Windows API functions, but then you can do the same from C or Pascal.
That's why this message might be on topic at a newsgroup about
controlling hardware from Windows software.
The application still needs to have the same basic sort of
functionality, but needs to work under
W2K, WME, and XP.

Any ideas, comments or suggestions would be very welcome. And since I
am a complete novice in VC++
I would also entertain re-writing the appliation in other visual
languages such as C/VB/Java etc
if you guys think these would be more appropriate.
There are also newsgroups about computer programming in general.
My apologies for the length and cross posting of this e-mail.
You didn't cross post. Perhaps you multi posted, but how would I know?
Best regards.

Naran Hirani


Good luck,
Buster Copley

Jul 19 '05 #3
Naran Hirani <N.******@hgmp.mrc.ac.uk> wrote in message news:<be**********@niobium.hgmp.mrc.ac.uk>...
[snip]
Any ideas, comments or suggestions would be very welcome.


My suggestion is you try this in a news group where it is on-topic.
Something with microsoft of DOS or VC in the name might be a start.
Socks
Jul 19 '05 #4

Naran Hirani <N.******@hgmp.mrc.ac.uk> wrote in message
news:be**********@niobium.hgmp.mrc.ac.uk...
Hi fellow Netters,

I need to re-write a very old C/C++ application written in the days when
MS/PC-DOS was king.
The reason for the re-write is that the application needs some new
functionality, but more
crucially, some existing functionality does not seem to work on the
current MS OSs.

The application works with a bespoke electrical gadget which emits a
radio wave signal at a fixed frequency.
This gadget is mounted on a trolley, and when switched on sends radio
waves back to a receiver attached
to a pc via its com port. As the trolley is moved forward, the receiver
picks up the signals emitted from
the device on the trolley. The captured signals are read by the
application via the PCs com port.
The application then analyses these signals in real-time plotting a
graph based on the distribution of the
signals over time, measured using the PCs clock ticks etc. The data
collected in this way gets further
analysed off-line using fairly basic statistical techniques to calculate
variance, co-variance, average trolley
speed, etc.

The application does not seem to be able to display this graph correctly
in real time on the more modern
OSs, e.g. W2K and WME. Hence the need for a complete re-write.

I am a complete novice in visual C++ so I was wondering if you gurus
could advice me whether VC++ is upto
such a job or not? I guess the key elements of this application are:
real time graph display, com port i/o API, low level bios clock tick
accessibility, etc.

The application still needs to have the same basic sort of
functionality, but needs to work under
W2K, WME, and XP.

Any ideas, comments or suggestions would be very welcome. And since I
am a complete novice in VC++
I would also entertain re-writing the appliation in other visual
languages such as C/VB/Java etc
if you guys think these would be more appropriate.


What you seem not to realize is that the above was not
achieved solely with a 'language', but with API calls to
an operating system (DOES), which are not a part of the
language. If you want to make this application work on
e.g. Windows platforms, you need to find the equivalent
Windows API calls. These are documented in the VC++
documentation, as well as at www.msdn.microsoft.com

Since your query is about platform-specific issues,
and this group discusses the platform-independent
standard C++ language, it's not topical here.
Try a Windows and/or VC++ group.

-Mike

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: yanwan | last post by:
Hello I met some problems in linking a project, and hope someone can give me some advice. -----------Configuration: lighting - Win32 Release-------------------- Linking... LINK : warning...
3
by: Francis Urquhart | last post by:
I am trying to find the simplest possible way of writing a GUI to run on top of a standard C++ library written in VC++. I would like to avoid MFCs, COM, and if possible .Net wrappers. The goal...
3
by: Kanaiya | last post by:
how to use c# dll into visual c++ project. With regards, Gangani Kanaiya.
8
by: Paul | last post by:
Hi all may I know how to use C# DLL inside my VC++ Project ? Thanks in advance.
12
by: batista | last post by:
Hello there, I am currently working in .net. Now i need to know that in order to build a server/client architecture which one is more suitable Vc++ or ..net. There is a server in our company...
5
by: Alfonso Morra | last post by:
Hi, I am a C/C++ developer of quite a few yesrs, although I am relatively new to Windows (Unix background). I am about to begin work on a project that would require me to develop several GUI...
17
by: Michael | last post by:
i'm a beginners at ASP.net and was wondering if i should develop and learn on vb or vc? which is more powerful? and in terms of support which will be better? whats the main difference btw the 2??
12
by: yuyazhang | last post by:
Hi , I am a graduate , I have had some basic knowlege about C++ ï¼ but I find that I can't master it , I am disappoint for that . who give me some advice about ways which master it and some...
4
by: Naveeen | last post by:
Hi, I have a VC++6.0 .exe file. I want to call a method of that .exe from .Net Application. Please give the help..
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.