Jump to content

C++ DLL help


Recommended Posts

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.


Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...