funkey Posted December 23, 2011 Share Posted December 23, 2011 Hello! I have got a dll and some of the parameters have to be string objects by reference, not character arrays. Is there a way to handle the dll file in AutoIt? Thanks for any answer. Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
JohnOne Posted December 23, 2011 Share Posted December 23, 2011 Would they not just be dllstructs "wstr" or "str" ? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ProgAndy Posted December 23, 2011 Share Posted December 23, 2011 You could always create a DLL with 2 funtions: CreateStringObjectFromWstr and DestroyStringObject *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
funkey Posted December 23, 2011 Author Share Posted December 23, 2011 You think I should create my own additional DLL to get a pointer to a string object and delete it after using? Sounds good, I'll try, but if someone could do this for me, it would be very nice , because MinGW makes very big files with 'string.h' included. Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. 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