Reply to topic  [ 2 posts ] 
Quick Question 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
Hi All,

I'm looking for a way to get the IP Address from the user's computer.

It will be run from the client software on the user's computer and I can either do it through dos commands or through dll functions.

Initially I was doing it as a dos command output to C:\ipaddress.txt and then parsing the output and then deleting the file.

It worked perfectly until I found out the users don't have access to the root of C.

Then I used a USER32.DLL function to access the My Documents folder of the user. Except the dos commands run from our cr*ppy software don't do spaces in text. (I have tried with quotes but still no).

Was wondering if there's a dll function (or anything else) that you can think of that will allow me to get the computer's ip address.

TVM!

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Sep 06, 2010 3:19 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
NVM.

Found it in wsock32.dll

Thanks

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Sep 06, 2010 3:46 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.