Sign in to follow this  
Followers 0
Faleira

_GetIP()

9 posts in this topic

I can't seem toget this function working...

everytime i try to use it, i get an error on line 104:

Local $v_Struct = DllStructCreate (udword')

Local $v_Struct = ^ ERROR

Error: Unknown Function Name


[quote]If whenever you feel small, useless, offended, depressed, and just generally upset always remember......you were once the fastest and most vicious sperm out of hundreds of millions![/quote]

Share this post


Link to post
Share on other sites



I can't seem toget this function working...

everytime i try to use it, i get an error on line 104:

Local $v_Struct = DllStructCreate (udword')

Local $v_Struct = ^ ERROR

Error: Unknown Function Name

Have you remembered to put #include <Inet.au3> at the top of your script.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

yep, if i'm correct, i think the error is coming from the include itself, since i don't have that code in my script.


[quote]If whenever you feel small, useless, offended, depressed, and just generally upset always remember......you were once the fastest and most vicious sperm out of hundreds of millions![/quote]

Share this post


Link to post
Share on other sites

yep, if i'm correct, i think the error is coming from the include itself, since i don't have that code in my script.

Are you running with the Beta or the release version. If I try to run with release version I can replicate your problem.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

i'm on the beta...


[quote]If whenever you feel small, useless, offended, depressed, and just generally upset always remember......you were once the fastest and most vicious sperm out of hundreds of millions![/quote]

Share this post


Link to post
Share on other sites

i'm on the beta...

What I mean is are you running your script with F5 or ALT+F5, I am assuming you are using SciTE to do your scripting. If I use F5 I get the same error but not with ALT+F5.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

What I mean is are you running your script with F5 or ALT+F5, I am assuming you are using SciTE to do your scripting. If I use F5 I get the same error but not with ALT+F5.

No, i don't use SciTE, i'm just scripting out of notepad, lol


[quote]If whenever you feel small, useless, offended, depressed, and just generally upset always remember......you were once the fastest and most vicious sperm out of hundreds of millions![/quote]

Share this post


Link to post
Share on other sites

You may not be using the right beta version. I ran the include file, and it did not generate any errors in Au3check or Autoit


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

One thing to consider (although I may be wrong) is that if you have installed both the stable and beta versions of AutoIt using the EXE installer, double-clicking a script will invoke the stable version of AutoIt to execute the script.

You will need to ensure that the beta is running the script and you can easily test this by adding the following code to the beginning of your script:

MsgBox(0x40, "AutoIt Version", @AutoItVersion)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0