Designing a client-server application using VC++

munisgtm

Senior member
Apr 18, 2006
371
0
0
Hi!

Well i have a project that requires me to collect system specifications from client PCs and then send it to a server application which in turns connects to SQL server and store the data(This is a local network , no internet is involved).

The language of choice is VC++ . Now i need to know that what API/interface (ATL,COM,MFC) should i use(read:learn) to create the application which is best suited to c++ and is easy as well ?

Up-till now have made a simple win32console app which extracts the specs.

Thanks in advance!
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,591
5
0
If the server is constant; then just have the client write the data to a file on the server or open up a socket to a receiver program.

The receiver on the server will get the socket data and dump it into the SQL package.

Spawn a thread for each socket connected to handle the updates.

If you use a file, then after the data is written on the server, a semaphore file can be created.
Have a app on the server that then monitors for the data semaphore file. When the semaphore file is detected; the app can grab the datafile and process it.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Is this internal only? If not, why not just get the specifications via WMI in a scripting language? VBScript and JScript are supported on all versions of Windows out of the box and adding ActiveState Perl or IronPython is really simple if you'd prefer them.

A middle-man server process seems overkill as well, unless you don't trust the client portion and also have it santizing data and stuff.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |