Posted on 2004-10-19
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
Question by:syedasimmeesaq
  • 2
  • 2
  • 2
LVL 30

Expert Comment

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.
LVL 17

Expert Comment

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?

Author Comment

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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

LVL 30

Expert Comment

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?

LVL 17

Accepted Solution

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.


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); 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.

Author Comment

ID: 12396934
I am comfortable with Visual basic

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now