Sign in to follow this  
Followers 0
Shane0000

Dim Value1 As String

3 posts in this topic

Is there anyway to create a variable of a certian type?

I need to emulate the VB code:

Dim Value1 As String

$str = "char var4[128]"

$a = DllStructCreate($str)

Returns 'Bad variable type.'

Dim $Value1 = ""

doesnt seem to suffice either.

I ve tried DLLCreateStruct but it is of the wrong data type.

Im trying to return some variables to a empty var via VB Com controls

Share this post


Link to post
Share on other sites



I can see you've read the help file because the part you've showed here is taken from the example.

I tried the example and it works fine for me. Try to run the whole example and see if you get any errors.

Maybe it's about the Autoit version you're using - mine is 3.2.12.1


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

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