Solved

NEED HEP FOR WINSOCK AND SENDING THE DATA TO ACCESS

Posted on 2004-10-19
9
210 Views
Last Modified: 2010-04-01
Hey guys
We have a call center. My main computer(server dials out the numbers) and Operators(Clients) can see the Name of the person and the Phone number that is dialed on their screen in COMMAND LINE  before the call is connected. Then they put this information in the ACCESS DB.
So the client/server side is running smoothly. Now here is the big question. I want the name of the person and the phone number to go to the database directly, insted of the operators looking at them and inserting them into the db. Two reasons for that. Less time consuming and less mistakes.
My actuall client server was written in VISUAL C++, but I am looking for a code to add it into my already exisiting program and make it work. I have a very little time.I would appreciate an early reply.
Thank you
0
Comment
Question by:syedasimmeesaq
  • 2
  • 2
  • 2
9 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 12355164
Is your Client application in MFC?

If not, what type of project is your client APP?

Give as much info as you can.
0
 
LVL 17

Expert Comment

by:rstaveley
ID: 12355351
Since your server is already giving itsclients the name + telephone number, wouldn't it be better to have the server log these (with timestamps?) and then separately import them into your database at the end of the day?
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 12365186
The client is in cpp file. dsw.
As far as rstaveley's question concern, I have to have the database updating automatically all the time. Becahse the database is getting updated from other operators and just the import of data will not work.
Thanks guys
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 30

Expert Comment

by:Axter
ID: 12379231
>> The client is in cpp file. dsw.

This doesn't say anything about your project.

Is your project an MFC project?  Can you use MFC code in your project?

0
 
LVL 17

Accepted Solution

by:
rstaveley earned 500 total points
ID: 12379341
I read this as, "The client application is something pretty complicated and I haven't got much time to rummage round in it because it is written using technologies unfamiliar to me."

Presumably you are looking at using your existing technology (e.g. a chunk of code written in Visual Basic / Delphi / whatever) and applying the minimum amount of change to the client code to be able to use it.

e.g.

Add an as-simple-as-possible module to the client application which allows a function call like...

    void log_call(const char* name,const char* phone_number);

...to be used in the relevant bit of the client code to log the call details. The module itself would need to be written in C++ to link into the client application, but you could make do no more than call your familiar technology.

What is the technology you are comfortable with? Are you sufficliently comfortable with Dev Studio to add a module to the project?

If you are severely under the kosh time-wise on this one, you might be best off getting a C++ contractor in for the day to add the code the to client application to call your code via COM or whatever.
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 12396934
I am comfortable with Visual basic
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question