insignia96 Posted November 22, 2009 Share Posted November 22, 2009 I am making a cool little UDF to go with some of our API Printing UDF's however i need some help. I need to know the autoit equivalents for these variable types HGLOBAL HDC LPPRINTHOOKPROC LPSETUPHOOKPROC LPCTSTR I am not sure but i think "ptr" might work for HDC and maybe "str" for LPCTSTR" The others i havent got a clue about. http://msdn.microsoft.com/en-us/library/ms646843%28VS.85%29.aspx That is the struct i am building. Visit my website to see all my finished releases!Releases here:UDFs:GUI ResizingColor List (Web Colors)GUIFade_NearestPower Link to comment Share on other sites More sharing options...
dantay9 Posted November 22, 2009 Share Posted November 22, 2009 This isn't the place for a question. I see you have a more than enough posts to know that by now. Anyway, take a look at DLLCall in the help file. Near the bottom, there are some conversions in a table. That should help you out a bit. I am not sure about the others though. Link to comment Share on other sites More sharing options...
insignia96 Posted November 22, 2009 Author Share Posted November 22, 2009 (edited) Damnit lol, i was browsing both General Support and Example Scripts at once. Plz move mod, sry. ALso, i checked the table. Not in there obviously. Edited November 22, 2009 by insignia96 Visit my website to see all my finished releases!Releases here:UDFs:GUI ResizingColor List (Web Colors)GUIFade_NearestPower Link to comment Share on other sites More sharing options...
dantay9 Posted November 22, 2009 Share Posted November 22, 2009 Just a suggestion. I know I have seen some of these structures on the forums. Try a search and see what you can come up with. Link to comment Share on other sites More sharing options...
monoceres Posted November 22, 2009 Share Posted November 22, 2009 HGLOBAL == Global HandleHDC == Handle to Device ContextLPPRINTHOOKPROC == Long Pointer to print hook procedurLPSETUPHOOKPROC == Long pointer to setup hook procLPCTSTR == Long pointer to constant string of T type (char or wchar).Handles are ptr's, long pointers are ptr's, but if it should point to a string you can use str/wstr to save some work. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
insignia96 Posted November 22, 2009 Author Share Posted November 22, 2009 Thanks monoceres Visit my website to see all my finished releases!Releases here:UDFs:GUI ResizingColor List (Web Colors)GUIFade_NearestPower 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