Jump to content

Recommended Posts

Posted (edited)

btw anyone happen to know an easy to comprehend free diff tool for win32? Every time I update WinAPIEx I struggle for an hour trying to merge the user calltips with the ones I've added myself. I tried WinMerge. I think I got it to work as expected one time. Otherwise it's faster to just load the 2 calltip files in tabs on EditPadLite7 and just copy and paste. It's a real time waster. Seems no matter which way I merge with WinMerge I end up with a calltips file that's smaller than the one included with WinAPIEx. Driving me nuts. :oops:

Edited by MilesAhead
Posted

I use WinMerge and also TextDiff >> http://www.angusj.com/delphi/textdiff.html (which is Portable)

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 3/6/2012 at 10:45 PM, 'guinness said:

The ZIP files both contain the exact same version of WinAPIEx.au3. How I found out was I got a couple of errors (fixed my side) when compiling a script.

Thanks, fixed. Please download again.

Posted

  On 3/7/2012 at 5:55 AM, 'Yashied said:

Thanks, fixed. Please download again.

hope that to publish similar "autoit-docs - v3.3.9.1-src.exe" file

Facilitate the localization of the document. Thank you!

  • Moderators
Posted

chs131738,

What has this to do with the WinAPIEx UDF? :oops:

And if you are looking for the AutoIt source, it is not been available for many years. The last version for which the source was released was v3.1.0 - you can download it from here but it bears little resemblance to the current code after another 7 years of development. :bye:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Moderators
Posted

mat,

If you are right then you are a better interpreter than I am! :oops:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

  On 3/9/2012 at 4:19 PM, 'Mat said:

(S)He's asking for the source of the WinAPIEx docs so that they can be translated, in a similar way to the current AutoIt docs.

Interpretation of the ok , thank you !

Posted

  On 3/9/2012 at 4:19 PM, 'Mat said:

(S)He's asking for the source of the WinAPIEx docs so that they can be translated, in a similar way to the current AutoIt docs.

Interpretation of the ok , thank you !

Posted (edited)

Hmm, I've been trying to merge WinAPIEx.chm into the autoit help. I've gotten so far as the entries are added to the table of contents and they bring up the help page, but the index entries are not shown. I noticed on decompile that the hhk file has all double Name entries like this:

<LI> <OBJECT type="text/sitemap">
        <param name="Name" value="_WinAPI_AddFontResourceEx">
        <param name="Name" value="_WinAPI_AddFontResourceEx">
        <param name="Local" value="html/libfunctions/_WinAPI_AddFontResourceEx.htm">
        </OBJECT>

I'm wondering if that's the issue. But since there's over 4000 lines I'm reluctant to edit by hand.

edit: I removed the dupes and it had no effect. Weird how it doesn't want to merge the index. Oh well, I never liked working with HtmlHelp anyway. .hlp was a lot cleaner.

edit2: found an aggregate tool that seemed to work. Haven't checked it extensively yet. But pressing F1 on a WinAPIEx function in SciTE brought it up correctly!!! I just renamed the output .chm and .chw files with AutoIt basename and placed them in the AutoIt3 folder. :oops: Google Chm Aggregator if you wish to try it. The trick seems to be to load in all the .chm files you wish to aggregate, before selecting a file name for the aggregate .chm file.

Edited by MilesAhead
Posted

  On 3/14/2012 at 4:38 PM, 'KaFu said:

Check out the help-file example for _WinAPI_GetDriveGeometryEx(), run this function in a loop to iterate the number of HDDs installed.

lol I just finished this but using wmi.. ill try with that also so i dont have to add the wmi patch to my boot.wim

Posted

The library has been updated, version remains unchanged.

Changes

  Reveal hidden contents
  • Added the following functions.

    _WinAPI_GetFileInformationByHandleEx

    _WinAPI_SetFileInformationByHandleEx

  • Updated documentation.

Posted

In _WinAPI_SetFileInformationByHandleEx $tIOSB isn't used.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Hi All,

Thank you for these great WinAPI functions :oops:

My first post with these 2 small possible additions, if it's good, LCIDToLocaleName and LocaleNameToLCID

I expected to find the LocaleName (fr-FR) in _WinAPI_GetLocaleInfo, but not.

; #FUNCTION# ====================================================================================================================
; Name...........: _WinAPI_LCIDToLocaleName
; Description....: Converts a locale identifier to a locale name.
; Syntax.........: _WinAPI_LCIDToLocaleName ( $LCID )
; Parameters.....: $LCID   - The locale identifier (LCID) that specifies the locale or one of the following predefined values.
;
;                           $LOCALE_INVARIANT
;                           $LOCALE_SYSTEM_DEFAULT
;                           $LOCALE_USER_DEFAULT
;
;                           Windows Vista or later
;
;                           $LOCALE_CUSTOM_DEFAULT
;                           $LOCALE_CUSTOM_UI_DEFAULT
;                           $LOCALE_CUSTOM_UNSPECIFIED
;
; Return values..: Success - String containing the locale name.
;                 Failure - Empty string and sets the @error flag to non-zero.
; Author.........: ChrisR
; Modified.......:
; Remarks........: None
; Related........:
; Link...........: @@MsdnLink@@ LCIDToLocaleName
; Example........: Yes
; ===============================================================================================================================
Func _WinAPI_LCIDToLocaleName($LCID)
Local $Ret = DllCall('kernel32.dll', 'int', 'LCIDToLocaleName', 'ulong', $LCID, 'wstr', '', 'int', 500, 'int', 0)
    If (@error) Or (Not $Ret[0]) Then
  Return SetError(1, 0, '')
EndIf
Return $Ret[2]
EndFunc   ;==>_WinAPI_LCIDToLocaleName

; #FUNCTION# ====================================================================================================================
; Name...........: _WinAPI_LocaleNameToLCID
; Description....: Converts a locale name to a locale identifier.
; Syntax.........: _WinAPI_LocaleNameToLCID ( $LocaleName )
; Parameters.....: $LocaleName - The locale Name or one of the following predefined values.
;
;                           $LOCALE_NAME_INVARIANT
;                           $LOCALE_NAME_SYSTEM_DEFAULT
;                           $LOCALE_NAME_USER_DEFAULT
;
; Return values..: Success - String containing the locale identifier (LCID).
;                 Failure  - 0 and sets the @error flag to non-zero.
; Author.........: ChrisR
; Modified.......:
; Remarks........: None
; Related........:
; Link...........: @@MsdnLink@@ LocaleNameToLCID
; Example........:
; ===============================================================================================================================

Func _WinAPI_LocaleNameToLCID($LocaleName)
Local $Ret = DllCall('kernel32.dll', 'int', 'LocaleNameToLCID', 'wstr', $LocaleName, 'int', 0)
    If (@error) Or (Not $Ret[0]) Then
  Return SetError(1, 0, '')
EndIf
Return $Ret[0]
EndFunc   ;==>_WinAPI_LocaleNameToLCID

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...