Solved

NEED HEP FOR WINSOCK AND SENDING THE DATA TO ACCESS

Posted on 2004-10-19
9
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
convert char array to number in c 5 93
How do i run a c++ file? 15 58
Coding for the first time 9 103
using interface in TLB 3 31
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

752 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