Click here to Skip to main content
16,005,491 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CPropertyPagae [modified] Pin
ftsOne29-May-06 5:51
ftsOne29-May-06 5:51 
GeneralRe: CPropertyPagae [modified] Pin
bob1697229-May-06 10:13
bob1697229-May-06 10:13 
GeneralRe: CPropertyPagae [modified] Pin
ftsOne29-May-06 10:43
ftsOne29-May-06 10:43 
Questioncontrol Dlg classes in 1 application Pin
Immunity1828-May-06 8:00
Immunity1828-May-06 8:00 
AnswerRe: control Dlg classes in 1 application Pin
bob1697228-May-06 8:50
bob1697228-May-06 8:50 
GeneralRe: control Dlg classes in 1 application Pin
Immunity1828-May-06 8:54
Immunity1828-May-06 8:54 
GeneralRe: control Dlg classes in 1 application Pin
bob1697228-May-06 9:36
bob1697228-May-06 9:36 
QuestionXML/Soap/HTTP Questions (help your n00b) Pin
chasetoys28-May-06 7:19
chasetoys28-May-06 7:19 
Hey folks:

I have some questions about XML/Soap/HTTP... but first, requirements!

0) Open a socket to a server
1) Receive XML data from a server
1.5) Close that socket
2) Parse through the XML file
3) Download all associated web content for each given URI in the XML file
4) Open a socket to the server
5) Send an XML file back to the server
6) Server will process this, and should send back a response, whether the update was successful - or not.
7) I need to prevent malicious users from trying to update *other people's accounts*... i.e. the user should *only* be able to update dta bsed on their own userId, but not an arbitrary user id.
8) MFC can be used, if it makes it any easier... no .NET however.

Questions:
1) As far as sending/receiving XML files from from a server, have I missed any steps?
2) Do I need to do anything with SOAP here? What would the advantage of using SOAP be?
3) How do I prevent malicious users from updating other people's acccounts?
4) How should I approach the socket issue?
5) How can I make the socket opening work *no matter* which firewall you have, or *no matter which router* you use?
6) The data I'm sending is all web content, so can I use a special port on the Windows side that says that all Internet traffic is OK?
7) I only want the user to have to approve my applicaation's ability to access the Internet, once. How can I ensure they don't have to continue to grant exceptions via their firewall?
8) Is there a way of grabbing a free port from Windows?
9) Is there a way of *reserving* a specific port on Windows so that no other appliction will be able to use it? (I'm afraid another app might steal my port, or that it would be occupying the port when my app needs to use it).

Help your local n00bie! :P
Responses/how-tos/articles/guides/links/explanations would all be useful.
Please phrase your response something a n00bie can understand.

Thanks very much for your help in advance?
-chasetoys
QuestionCreateProcessWithLogonW limitations? Pin
fourierman28-May-06 6:24
fourierman28-May-06 6:24 
AnswerRe: CreateProcessWithLogonW limitations? Pin
fourierman28-May-06 10:08
fourierman28-May-06 10:08 
AnswerRe: CreateProcessWithLogonW limitations? Pin
bob1697228-May-06 11:20
bob1697228-May-06 11:20 
GeneralRe: CreateProcessWithLogonW limitations? Pin
fourierman28-May-06 11:49
fourierman28-May-06 11:49 
QuestionHow i write text in a file Pin
Immunity1828-May-06 5:59
Immunity1828-May-06 5:59 
AnswerRe: How i write text in a file [modified] Pin
bob1697228-May-06 6:30
bob1697228-May-06 6:30 
GeneralRe: How i write text in a file [modified] Pin
Immunity1828-May-06 6:49
Immunity1828-May-06 6:49 
GeneralRe: How i write text in a file [modified] Pin
bob1697228-May-06 7:07
bob1697228-May-06 7:07 
GeneralRe: How i write text in a file [modified] Pin
bob1697228-May-06 7:16
bob1697228-May-06 7:16 
GeneralRe: How i write text in a file [modified] Pin
Immunity1828-May-06 7:18
Immunity1828-May-06 7:18 
QuestionSpeed up listview when adding thousands of items Pin
Master Gollom28-May-06 5:56
Master Gollom28-May-06 5:56 
AnswerRe: Speed up listview when adding thousands of items Pin
bob1697228-May-06 6:36
bob1697228-May-06 6:36 
GeneralRe: Speed up listview when adding thousands of items Pin
Master Gollom28-May-06 6:41
Master Gollom28-May-06 6:41 
GeneralRe: Speed up listview when adding thousands of items Pin
Immunity1828-May-06 9:32
Immunity1828-May-06 9:32 
AnswerRe: Speed up listview when adding thousands of items [modified] Pin
anwer_skk28-May-06 16:45
anwer_skk28-May-06 16:45 
GeneralRe: Speed up listview when adding thousands of items [modified] Pin
Master Gollom28-May-06 22:32
Master Gollom28-May-06 22:32 
QuestionDragListBox with additions Pin
Luksky28-May-06 4:30
Luksky28-May-06 4:30 

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.