nfwu Posted February 25, 2006 Share Posted February 25, 2006 For DllCall, what is the AutoIt equivelent of a CString? TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
GaryFrost Posted February 25, 2006 Share Posted February 25, 2006 (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]) EndIf 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 MsgBox(0,"Cat",$Cat) Edited February 25, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now