Solved

NEED HEP FOR WINSOCK AND SENDING THE DATA TO ACCESS

Posted on 2004-10-19
9
217 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

809 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