Download Pelles C here: http://www.pellesc.se
Quote from: John Z on November 03, 2026, 12:25:47 PMIt seems the .md to .rtf converter is incomplete.
is it worthwhile to convert and get rid of all the loose <dt,dd,dl> tags? Probably more readable...
include OpenNewTxtForOutput.inc
.data
msg db 'This is a test.',0
msg2 db 'Another test',0
file db 'Test.txt',0
.data?
hFile dd ?
.code
OpenNewTxtForOut PROC filename:DWORD
LOCAL mode:DWORD
mov mode,'w'
invoke fopen,filename,\
ADDR mode
ret
OpenNewTxtForOut ENDP
put PROC handle:DWORD,pMemory:DWORD
invoke lstrlen,pMemory
invoke fwrite,pMemory,1,\
eax,handle
ret
put ENDP
start:
invoke OpenNewTxtForOut,ADDR file
mov hFile,eax
invoke put,eax,ADDR msg
invoke put,hFile,ADDR msg2
invoke fclose,hFile
invoke ExitProcess,0
END start
<dl> <dt>
<span id="CFSTR_DSOBJECTNAMES"></span><span id="cfstr_dsobjectnames"></span>CFSTR_DSOBJECTNAMES </dt> <dd> <dl> <dt>
"DsObjectNames" </dt> <dt>
The CFSTR_DSOBJECTNAMES clipboard format is supported by the IDataObject provided by the ICommonQuery::OpenQueryWindow method. The CFSTR_DSOBJECTNAMES clipboard format provides a global memory handle (HGLOBAL) that contains DSOBJECTNAMES structure.
</dt> </dl> </dd> </dl>{\rtf1\ansi\deff0
{\bkmkstart CFSTR_DSOBJECTNAMES}{\bkmkend CFSTR_DSOBJECTNAMES}CFSTR_DSOBJECTNAMES\par
\par
\li360 "DsObjectNames"\par
The CFSTR_DSOBJECTNAMES clipboard format is supported by the IDataObject provided by the ICommonQuery::OpenQueryWindow method. The CFSTR_DSOBJECTNAMES clipboard format provides a global memory handle (HGLOBAL) that contains DSOBJECTNAMES structure.\par
}Quote from: TimoVJL on November 02, 2026, 08:08:34 PMThis very slow example make filename list from win32-docs zip
....
In WHViewMD_WS_a2.zip MiniUnZ code is included to project.
In WHViewMD_c_a3.zip RichEdit control is cleared before inserting new rtf page.
Quote from: MrBcx on November 03, 2026, 12:07:26 AMThanks Timo, it's working for me now. The pages render sufficiently quick.WHViewMD_WS_a2 don't need MiniUnZ as unpacking code is include project.
I'm still confused over what the main difference is between
WHViewMD_WS_a1
and
WHViewMD_WS_a2
Quote from: MrBcx on November 02, 2026, 10:14:53 PMYour instructions are confusing.SMF makes a that silly url link from name.
Your url points to : https://win32-docs.zip
Attempting to rebuild the exe:
POLINK: fatal error: File not found: 'MiniUnZ64.lib'.
*** Error code: 1 ***
Done.
Quote from: TimoVJL on November 02, 2026, 08:08:34 PMThis very slow example make filename list from win32-docs.zip
and show it using md2rtf code (MrBcx).
A code have lot of bugs and needs cleaning.
Be patient while waiting, when it build file list to listbox.
Just select filename and doubleclick to see it in view window.
WHViewMD[64].ini[HelpZip]
File=C:\your path\win32-docs.zip
Page created in 0.032 seconds with 15 queries.