|
I am looking for a free proxy server to redirect UDP and TCP Traffic for a brief test.
A free UDP/TCP proxy server or source code for same would be cool as well. C++, VB (Gah!), C#, VB.Net, anything like that would work.
Doesn't have to be the greatest thing in the world, just something that can handle a few tests. The OS platforms would be a windows server, NT, 2000, 2003 server, any of those.
The reason I need it on windows is because the VP client to perform the tests is windows only.
Thanks!
.............................
There's nothing like the sound of incoming rifle and mortar rounds to cure the blues. No matter how down you are, you take an active and immediate interest in life.
Fiat justitia, et ruat cælum
|
|
|
|
|
hiho@ll
i just wanted to know if it's possible to "hook" the windows shutdown and if yes how?
i thought about a simple alarm prog, which does something if you want to shutdown windows
for example it checks if you did some task before shutdown
or it simply reminds you to do something before shuting down
anybody has an idea?
thx@ll
|
|
|
|
|
ThinkingPrometheus wrote:
i thought about a simple alarm prog, which does something if you want to shutdown windows
HANDLE WM_QUERYENDSESSION message !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
maybe i'm wrong but if i handle such an event, windows will try to kill the application if it doesn't exit!?
so is it possible to abort the shutdown if i use WM_QUERYENDSESSION?
|
|
|
|
|
ThinkingPrometheus wrote:
so is it possible to abort the shutdown if i use WM_QUERYENDSESSION?
Yeap it possible, you just return the FALSE o this event and then you have to shutdown by your self!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
hello to all members i have been given task to add functionality in project
on right clicking icon on taskbar it shows menu like windows messenger shows
Exit,open,signout,sign in,sign in as,my status,send an email message and my e-mail Inbox
my project icon is also showing its menu like that
but on double clicking windows messenger icon in taskbar messenger gets opened
how will i add this double clicking functionality to my project
Ankit Aneja
|
|
|
|
|
Ankit Aneja wrote:
windows icon in taskbar it gets opened
?
V
|
|
|
|
|
i mean when i double click windows messenger icon on task bar it gets opened
same functionality i want here
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
Ankit Aneja wrote:
on right clicking icon on taskbar
I Believe you are talking about System Tray!
Ankit Aneja wrote:
but on double clicking windows icon in taskbar it gets opened
Handle the Function associated With the System Tray Message! , you Will get what you want!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
thanks
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
|
Hi, Jungs, I´m trying to execute an exe-file from my own programm. I tried to use th _exec-family functions, but it didn't work. The executable is a console programm, so i need to be able to pass some parameters, too.
Thanks.
Elale
|
|
|
|
|
Use CreateProcess[^]
lpCommandLine permits passing parameters.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
|
use WinExec()
/\|-||\/|/\|)
|
|
|
|
|
|
WinExec("C:\\Toxxct\\dolt.exe",SW_ALWAYS);
/\|-||\/|/\|)
|
|
|
|
|
sorry ??
what's the matter man ?
you feel knowing the point, but you ask at the same time too many low level questions on the forum that i doubt you know what you assert...
using WinExec() is deprecated. use ShellExecute() instead! that's all.
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
using WinExec() is deprecated
Hain Tox,
Man don't get angry, may be Deprecated but still you can use it!, Actually it internally make call to ShellExecute!, so it will work fine on all Available Plateform including Window XP
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
toxctt is right.
WinExec is used for compatibility with 16 bit windows so ShellExecute is to be used instead.
Ritu Kwatra
|
|
|
|
|
all right, I understand. I tried with WinExec and there was no problem... with ShellExecute im doing something wrong:
ShellExecute(0,"open",exefile,params,0,SW_FORCEMINIMIZE);
Do i have to put a handle different from NULL? I have no window handle in the function which muss call "ShellExecute". Whats wrong?
Thanks, Elale.
|
|
|
|
|
Hey Elale,
What is going wrong ?
Try using:
ShellExecute(NULL,"open",exefile,params,NULL,SW_HIDE);
It is working fine on my PC.
Ritu Kwatra
|
|
|
|
|
Ritu Kwatra wrote:
toxctt is right.
In Some Way, Read my reply to Tox!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
That is not called for, you should be ashamed after the help others have given you here.
Elaine
The tigress is here
|
|
|
|
|
Look Trollslayer, I should clear things once for all eventhough I know that we should not talk about this in here and I hope that this message is read by everyone who replyed to this thread. Some people started to have ideas about my belonging to this site or and I quote "you feel knowing the point, but you ask at the same time too many low level questions on the forum".(i prefer no to quote the whole sentence) I didn't want to reply to this but all I can say is that noone here (or anywhere else) is eligible to classify my question or anyone elses.
I know that this reply came after my reply and I quote "WinExec("C:\\Toxxct\\dolt.exe",SW_ALWAYS);" said Halawlaw. The reason I wrote that is to reply to this message.
Honestly, this word was insulting.
Do you agree that anyone is allowed to give his opinion?
All I wanted to do is to be part of this chain and help others as and i quote
Trollslayer wrote:
you should be ashamed after the help others have given you here
and this is what I get.
I don't care about my membership period (1 month and 1 day). You don't mesure someone with such irrelevant conclusions. I may be expert in c++ or zero in c++ as far as anyone is concerned. Remember the saying: "There is no dumb question, only dumb answers".
This message is not necessarly to make things better between us(= the one who participated in this).
Everyone should have his own conclusions and should act accordingly. In fact no matter what I say now, let us say "things will never be the same again". I don't expect that anyway.
As a reply to u Trollslayer, yes I had help from many here at the Forum and i never underestimated this. If u go back to mainly all my messages you will find a gratefulness reply to the persons who helped me.
In conclusion, I know I will always get the help I need here and I shall help others when I can.
I hope there is no hard feeling or heart feeling.
ciao
/\|-||\/|/\|)
|
|
|
|