Click here to Skip to main content
16,012,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBringing desktop window to the top without taking focus Pin
casid22-Jun-04 9:47
casid22-Jun-04 9:47 
GeneralRe: Bringing desktop window to the top without taking focus Pin
casid22-Jun-04 9:49
casid22-Jun-04 9:49 
Generalconcatenation Pin
RabiaRabia22-Jun-04 9:24
RabiaRabia22-Jun-04 9:24 
GeneralRe: concatenation Pin
ov22-Jun-04 9:30
ov22-Jun-04 9:30 
GeneralRe: concatenation Pin
gamitech22-Jun-04 12:44
gamitech22-Jun-04 12:44 
QuestionHow to remove this error Pin
RabiaRabia22-Jun-04 9:21
RabiaRabia22-Jun-04 9:21 
AnswerRe: How to remove this error Pin
ov22-Jun-04 9:32
ov22-Jun-04 9:32 
GeneralFeasability Question: C++ / UDP / MSSQL Pin
brian222222-Jun-04 9:07
brian222222-Jun-04 9:07 
I have a project and am hoping for input on how I might further consider the feasability of using C++ to implement it. My main problem is that I am only slightly familiar with visual C++.

Project Details:

(1) Embedded device reads data every 4 seconds and transmits a UDP paket to a Server.

(2) C++ application gets packet, pulls out info, and updates MSSQL database.

(3) Web browser loads page and constantly updates the current value for viewing purposes, and other application access the data directly from the database.

So, Step (1) and (3) are no problem. My question involves (2). I will be using visual c++ 6.0.

The only experience I have had with Visual C++ is to take and existing application and make modifications to it basically using examples that were in the code already. I have 3 questions below that are all: "How do I do that?" What I am getting at is what libraries and functions I use to get the functionality, or the correct terminolgy so that I can find some sort of help on each separate topic.

This is an application that must be running continuously, can or should it run as a service? How do I do that? Is it worth the effort that might be involved versus just dropping the exe into the startup folder?

The application must be set up to listen for udp packets on a certain port. How do I do that?

Once I have the packet I will need to yank out the data and do an SQL update. How do I do that? I am familiar with using ADO in ASP pages, is it similar to use in C++?

Any help whatsoever is greatly appreciated. Links to other online material that answer it for me or the names of the libraries and functions that I would use, or anything else that might help is what I think I am looking for.



Thanks for you help!
Brian
GeneralRe: Feasability Question: C++ / UDP / MSSQL Pin
palbano22-Jun-04 9:47
palbano22-Jun-04 9:47 
Generalsaving modified BMPs Pin
TFB22-Jun-04 8:32
TFB22-Jun-04 8:32 
Questionhow to cast cstring into char*? Pin
vividwu22-Jun-04 7:32
vividwu22-Jun-04 7:32 
AnswerRe: how to cast cstring into char*? Pin
David Crow22-Jun-04 7:35
David Crow22-Jun-04 7:35 
GeneralRe: how to cast cstring into char*? Pin
Nitron22-Jun-04 8:04
Nitron22-Jun-04 8:04 
GeneralRe: how to cast cstring into char*? Pin
David Crow22-Jun-04 8:25
David Crow22-Jun-04 8:25 
GeneralRe: how to cast cstring into char*? Pin
Nitron22-Jun-04 8:48
Nitron22-Jun-04 8:48 
GeneralRe: how to cast cstring into char*? Pin
James R. Twine22-Jun-04 8:32
James R. Twine22-Jun-04 8:32 
GeneralRe: how to cast cstring into char*? Pin
vividwu22-Jun-04 8:13
vividwu22-Jun-04 8:13 
GeneralRe: how to cast cstring into char*? Pin
David Crow22-Jun-04 8:22
David Crow22-Jun-04 8:22 
GeneralRe: how to cast cstring into char*? Pin
mtzlplyk22-Jun-04 10:47
mtzlplyk22-Jun-04 10:47 
AnswerRe: how to cast cstring into char*? Pin
vcplusplus22-Jun-04 7:44
vcplusplus22-Jun-04 7:44 
GeneralRe: how to cast cstring into char*? Pin
James R. Twine22-Jun-04 8:26
James R. Twine22-Jun-04 8:26 
GeneralRe: how to cast cstring into char*? Pin
palbano22-Jun-04 8:39
palbano22-Jun-04 8:39 
GeneralRe: how to cast cstring into char*? Pin
Nitron22-Jun-04 8:50
Nitron22-Jun-04 8:50 
GeneralRe: how to cast cstring into char*? Pin
James R. Twine22-Jun-04 11:00
James R. Twine22-Jun-04 11:00 
GeneralRe: how to cast cstring into char*? Pin
vividwu22-Jun-04 8:27
vividwu22-Jun-04 8:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.