Average length, random, ...?dodicat wrote:one million shortish strings
Search found 1188 matches
- Jul 27, 2019 23:30
- Forum: Tips and Tricks
- Topic: StringArray Sort (case independent)
- Replies: 87
- Views: 8563
- Jul 16, 2019 23:33
- Forum: Community Discussion
- Topic: no Windows system sounds after update
- Replies: 4
- Views: 1230
Sounds familiar (http://masm32.com/board/index.php?topic=7892.msg86518#msg86518): Open device manager and get the properties of your sound device. If the Roll Back Driver button is enabled, try rolling back. If it isn't, uninstall the device (NOT the driver software as well) and reboot. If that does...
That's typically a dialog. I have my own wrappers called DlgDefine & DlgControl , under the hood you would see DialogBoxIndirectParamW (the "W" meaning Unicode). Example: include \masm32\MasmBasic\MasmBasic.inc Init DlgDefine "Please enter your opinion:", 0, 0, 150, -1, , 12 ...
There is something wrong in this line: Dim as Wstring*1024 filter=!"Text Files\0*.txt\0\0" What does the ! mean? The string passed actually ends behind Files ; there is no *.txt behind it. I checked that at assembly level using a debugger. This works fine (as 32-bit code, using Gas): ofn.h...
<smile>My old Office 2003 copy still works perfectly. Poor Micros**t, nobody wants to buy their new toys ;-)dodicat wrote:I feel I should buy Microsoft office just to keep up with you all.
. . .
But the feeling has faded already.
perhaps, but I would still like my first or second post to be made unicode compatible As written earlier, it is unicode compatible. All you need is GetOpenFileName W and a print function that knows how to handle wide character strings. Somewhere on this forum you can find a library for wide strings.
It works here on Win7-64 with Russian or Arabic names. I got this working, but it's not Unicode: #include once "windows.bi" #include once "crt.bi" #include once "win\commdlg.bi" dim shared FileName(0 to MAX_PATH - 1) as zstring ptr function ChooseProgram(byval FileName ...