News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Help with text editor

Started by Farabi, May 01, 2005, 02:12:37 AM

Previous topic - Next topic

Farabi

Is anyone here have a text editor function .dll with size less than 50 kb which is free? I have a program that refresh 30 time every second. I dont want the text editor is overwriten. I only found richeditor made by borland. Is anyone have it?

[attachment deleted by admin]
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

pbrennick

Farabi,
Download EasyCode and then you will see a nice text editor project.  It would be very easy to move it into Ketilo's IDE.

Paul

hutch--

There is a prebuilt miniature rich text editor in the MASM32 example code. At 5k its a LOT smaller than 50k. The complete editor is also built as a library so you can build your own DLL easily enough.

Look for it in EXAMPL10\HLLDEMO\SMALLED
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Farabi

I did try the text editor from MASM lib, but it wont appear. What is wrong?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

pbrennick

Farabi,
Can you show us the code you are using to call the editor?

Paul

Farabi

Sure I can. But I removed it from my code because it not working. Anyway, do you have an example how to use that richedit from masm32 include file?

If im not mistake it like this:


invoke RichEd1
mov hnd,eax
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

pbrennick

Farabi,
I just looked at the example and it is all there.  The editor is in a library called smalled.lib and there is a test piece called tstlib.exe that loads the editor from the library so you can see it.  If you look at tstlib.asm you will see that it will be easy for you to copy the few lines of code used into your program.

There is really nothing more I can to with this one.  Everything you need is there.  If you need more help, you really must help us by showing the procedure you want to use to call the library.

hth,
Paul