flat assembler
Message board for the users of flat assembler.

Index > Windows > Has anyone tried to code their own Open File Dialog?..

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1692
Location: Toronto, Canada
AsmGuru62 10 Feb 2024, 16:10
I get this when I try the standard dialog from Windows x64:
Code:
DLL Loaded: 00007FFE1CDA0000 C:\Windows\System32\ole32.dll
DLL Loaded: 00007FFE1EBB0000 C:\Windows\System32\clbcatq.dll
DLL Loaded: 00007FFE1A410000 C:\Windows\System32\windows.storage.dll
DLL Loaded: 00007FFE1BC10000 C:\Windows\System32\wldp.dll
DLL Loaded: 00007FFDEEDC0000 C:\Windows\System32\dui70.dll
DLL Loaded: 00007FFE01350000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\comctl32.dll
DLL Loaded: 00007FFDFA390000 C:\Windows\System32\duser.dll
Thread 1378 created, Entry: msvcrt.00007FFE1D40AFB0
DLL Loaded: 00007FFE19F20000 C:\Windows\System32\dwmapi.dll
DLL Loaded: 00007FFDDA9D0000 C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll
DLL Loaded: 00007FFE17FE0000 C:\Windows\System32\edputil.dll
DLL Loaded: 00007FFDF5250000 C:\Windows\System32\ExplorerFrame.dll
DLL Loaded: 00007FFE15620000 C:\Windows\System32\WindowsCodecs.dll
DLL Loaded: 00007FFE1C9D0000 C:\Windows\System32\bcrypt.dll
DLL Loaded: 00007FFE1C2C0000 C:\Windows\System32\profapi.dll
DLL Loaded: 00007FFDFBD50000 C:\Windows\System32\thumbcache.dll
Thread 920 created, Entry: combase.00007FFE1CF72CE0
Thread 3844 created, Entry: ntdll.00007FFE1ED22B70
Thread 3404 created, Entry: ntdll.00007FFE1ED22B70
DLL Loaded: 00007FFE018C0000 C:\Windows\System32\DataExchange.dll
DLL Loaded: 00007FFE19050000 C:\Windows\System32\dcomp.dll
DLL Loaded: 00007FFE18820000 C:\Windows\System32\d3d11.dll
DLL Loaded: 00007FFE1ABF0000 C:\Windows\System32\dxgi.dll
DLL Loaded: 00007FFE15C00000 C:\Windows\System32\twinapi.appcore.dll
DLL Loaded: 00007FFE16590000 C:\Windows\System32\Windows.UI.FileExplorer.dll
DLL Loaded: 00007FFE17E70000 C:\Windows\System32\propsys.dll
DLL Loaded: 00007FFE16D20000 C:\Windows\System32\oleacc.dll
DLL Loaded: 00007FFE16670000 C:\Windows\System32\AssignedAccessRuntime.dll
Thread 14C8 created, Entry: ntdll.00007FFE1ED22B70
DLL Loaded: 00007FFE1C980000 C:\Windows\System32\cfgmgr32.dll
Thread E80 created, Entry: ntdll.00007FFE1ED22B70
DLL Loaded: 00007FFE19B50000 C:\Windows\System32\apphelp.dll
DLL Loaded: 00007FFDFAF60000 C:\Windows\System32\networkexplorer.dll
DLL Loaded: 00007FFE15400000 C:\Windows\System32\mpr.dll
DLL Loaded: 00007FFDFAEA0000 C:\Windows\System32\p9np.dll
DLL Loaded: 00007FFDFAE90000 C:\Windows\System32\drprov.dll
DLL Loaded: 00007FFE1BD20000 C:\Windows\System32\winsta.dll
DLL Loaded: 00007FFDFAE70000 C:\Windows\System32\ntlanman.dll
DLL Loaded: 00007FFDFAE50000 C:\Windows\System32\davclnt.dll
DLL Loaded: 00007FFDFAE40000 C:\Windows\System32\davhlpr.dll
DLL Loaded: 00007FFE17F70000 C:\Windows\System32\xmllite.dll
DLL Loaded: 00007FFE16830000 C:\Windows\System32\StructuredQuery.dll
Thread 13A0 created, Entry: ntdll.00007FFE1ED22B70
Thread 24E8 created, Entry: shcore.00007FFE1EB2BE80
DLL Loaded: 00007FFE0F090000 C:\Windows\System32\atlthunk.dll
Thread 24E8 exit
Thread 29F0 created, Entry: shcore.00007FFE1EB153D0
DLL Loaded: 00007FFDEFAE0000 C:\Windows\System32\Windows.FileExplorer.Common.dll
DLL Loaded: 00007FFE0BFD0000 C:\Windows\System32\iertutil.dll
DLL Loaded: 00007FFDFD6B0000 C:\Windows\System32\Windows.StateRepositoryPS.dll
DLL Loaded: 00007FFDF21D0000 C:\Windows\System32\Windows.Storage.Search.dll
Thread 349C created, Entry: ntdll.00007FFE1ED22B70
DLL Loaded: 00007FFE1DF50000 C:\Windows\System32\coml2.dll
Thread F58 created, Entry: ntdll.00007FFE1ED22B70
DLL Loaded: 00007FFE1B490000 C:\Windows\System32\wkscli.dll
Thread 3020 created, Entry: ntdll.00007FFE1ED22B70
DLL Loaded: 00007FFDFC270000 C:\Windows\System32\cscapi.dll
DLL Loaded: 00007FFE11660000 C:\Windows\System32\linkinfo.dll
DLL Loaded: 00007FFE1B810000 C:\Windows\System32\netutils.dll
EXCEPTION_DEBUG_INFO:
           dwFirstChance: 1
           ExceptionCode: 000006BA (RPC_S_SERVER_UNAVAILABLE)
          ExceptionFlags: 00000001
        ExceptionAddress: 00007FFE1C5FCF19 kernelbase.00007FFE1C5FCF19
        NumberParameters: 0
First chance exception on 00007FFE1C5FCF19 (000006BA, RPC_S_SERVER_UNAVAILABLE)!
    

Seriously!?
Do I need this non-sense in my beautiful program?
How hard is it to make a list of files where one file can be selected with no hassle?
So, anyone has any code done for that or I need to do it?
Post 10 Feb 2024, 16:10
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20513
Location: In your JS exploiting you and your system
revolution 10 Feb 2024, 17:10
Those system DLLs are probably already in memory from other uses anyway, so it isn't really that big of a deal IMO.

As to whether it is needed. I'd say yes. The standard Windows dialogs do a lot and have many features that a custom dialog might fail to incorporate. Some examples of bad dialogs I have seen are: No support for graphemes (or anything other than ASCII), unable to change folders, unable to create folders, unable to change drives, can't enter network endpoints, improper tab sequencing (breaking automation), no LTR/RTL names, no keyboard support at all, buttons and controls in different places (confusing/annoying users), different colours (annoying colour blind users).
Post 10 Feb 2024, 17:10
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1692
Location: Toronto, Canada
AsmGuru62 10 Feb 2024, 18:55
These are good points, thanks.
I will still do my own dialog for the new IDE.
And it will be only for good old English language. Smile
Post 10 Feb 2024, 18:55
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.