Sign in to follow this  
Followers 0

C++ DLL help

2 posts in this topic

#2 ·  Posted (edited)

For DllCall, what is the AutoIt equivelent of a CString?

Being that CString is C, depends on what you need to have done for example:

$1st_string = "My "
$2nd_string = "House"
$lResult = DllCall("shlwapi.dll","str","StrNCat","str",$1st_string,"str",$2nd_string)
If Not @error Then
    If IsArray($lResult) Then MsgBox(0,"Cat",$lResult[0])

Not sure why you would need a dll in autoit to do that tho

$1st_string = "My "
$2nd_string = "House"
$Cat = $1st_string & $2nd_String
Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


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