Solved

NEED HEP FOR WINSOCK AND SENDING THE DATA TO ACCESS

Posted on 2004-10-19
9
201 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

863 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

24 Experts available now in Live!

Get 1:1 Help Now