|
I was trying to get Googles webpage by using Winsock. But the real problem is I am behind Firewall (Microsoft ISA). As far as the Winsock is concerned getting webpage within the Firewalll is not difficult. But when I try to access behind the Firewall the Server won't allow me anymore.
Please anyone can help regarding how can I access a webserver behind firewall by using Winsock. How can I use or implement Proxy support in my program.
Dammy More
|
|
|
|
|
You should check out the relavent RFC on supporting a HTTP Proxy. For an example of winsock programming which works thro a HTTP proxy, check out my CDDB class at http://www.naughter.com/mfccddb.html
|
|
|
|
|
hi
it's my third time posting this question in as many days! I wrote my own wave file, but when i want to play it with sndPlaySound, i only get a beep from the PC speaker. Other applications play the file fine, and other wave files are played with the sndPlaySound function in my app.
WHAT'S WRONG?
PLEASE!!
|
|
|
|
|
Send me the file and the snippet of code that plays it.
|
|
|
|
|
Is there a system type command in MFC? Or do I have to use system to launch another application from within my application?
Thanks
ashish
|
|
|
|
|
Try ShellExecute
I am seeking...
For what?
Why did you ask me for what? I don't know!
|
|
|
|
|
CreateProcess, WinExec, ShellExecute or ShellExecuteEx spring to mind. All documented in the MSDN
|
|
|
|
|
Nice to see you on the VC++ forum, PJN!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
|
Admittedly I know less about threads then I thought I did about an hour ago. I had thought that threads allow for a process to be completed at the same time code execution is continuing past the creation of the thread. Is this a correct way to look at them (threads) and if so, is there a way to hold the program until the completion of the last created thread?
---------------------------------------------
Be good! But if you can't be good, at least be good at it and try not to get any on ya!
-mjf
|
|
|
|
|
Collect the handles that each createthreadex_ call returns to you in an array. Then call WaitForMultipleObjects on the the array in you exit handler. You can then guarantee that all your child theads have completed before your process thread.
Ryan.
Computers allow you to make more mistakes than any other invention, with the possible exception of handguns and tequila.
|
|
|
|
|
Don't forget to pass TRUE as the WaitAll (3rd) parameter.
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
do these 2 functions (spaw* and _exec) work under windows (not dos)?
thx
includeh10
|
|
|
|
|
they'll work under both .
-c
"[it was..] one of those evenings when you feel that not only will there definitely be a revolution, but that the Association of Manufacturers will foot the bill."
-- Umberto Eco, Foucault's Pendulum
|
|
|
|
|
I have a directory and i want read the file without i know the name of file.
How i can start?
|
|
|
|
|
Have a look at FindFirstFile and friends.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
This function searches a directory for a file whose name matches the specified file name. FindFirstFile examines subdirectory names as well as file names.
I don't know the name of the file.
|
|
|
|
|
Look deeper into the docs The function supports wildcards, take advantage of them.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Use CFileFind class may be esaier
I am seeking...
For what?
Why did you ask me for what? I don't know!
|
|
|
|
|
This solution are not good. Other solition?
|
|
|
|
|
It says that cout is an undecalred identifier when i #include <iostream>
thanks
|
|
|
|
|
It is std::cout , although many samples omit the prefix for brevity.
You can stick to the simpler cout including
using namespace std; right after the #include s, though this is not, for a variety of reasons, a good policy to follow in general.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Hi all!
I'm searching for a free (legal, of course) Visual C++ CD, I mean, the Introductory or Student version or something similar.
Where can I find it ?
Can I download it from some webstite ?
I need the 6.0 release (or later).
Please help!
|
|
|
|
|
|
Thank you!
I've found the same Introductory version on another book too:
Learn Visual C++ N:-Dow
|
|
|
|