Please help me with this Problem in my application

hello everybody in this forum.

iam currently implementing chat server application that must connect to the outside world from windows xp sp1 or sp2.

i tried to add my application ports programmatically to the internet connection firewall in windows xp sp1 but i couldn't cause i see the com file "hnetcfg.dll" in my windows operating system doesn't have "INetFwMgr" class that i must interlop to add the ports to the current running service of my application in the firewall cause my windows is not SP2
i asked some friends and they told me it is impossible to add these ports cause your windows xp is SP1 not SP2 but what i see strange

is that hotmail messenger currently do that in my windows xp Sp1 when i try to connect to the internet it adds two UDP ports to the current dial up connection used to connect to the internet.
my question is :

i want to know how to add these ports in the windows xp if it is sp1 or sp2 as hotmail messenger does

is there any com file i can take from hotmail messenger for doing that
and if there is a com file for doing that if i interlopped that .Dll com into my application and i registered that com in the target pc that will run my application it will work or it needs msn messenger to be installed first (this is in case i took dll from the com files of the msn msgr).

how can i add these ports Please help me.




Answer this question

Please help me with this Problem in my application