flat assembler
Message board for the users of flat assembler.
Index
> Windows > a question about the quetannon example |
Author |
|
madmatt 15 Sep 2007, 14:00
I'm currious why you have to load the "richedit32.dll" library using "LoadLibrary" instead of importing it using the import macro
|
|||
15 Sep 2007, 14:00 |
|
Tomasz Grysztar 17 Sep 2007, 08:41
There also might be a justification if you want to display your own custom error message when the DLL is missing. And that's all.
|
|||
17 Sep 2007, 08:41 |
|
madmatt 17 Sep 2007, 10:19
The reason I ask is because I'm using the excellent apiresolve to create dll imports, it worked for riched20.dll, but crashed for riched32.dll. So I was wondering if this is some kind of com object or something?
|
|||
17 Sep 2007, 10:19 |
|
vid 17 Sep 2007, 10:39
Quote: There also might be a justification if you want to display your own custom error message when the DLL is missing. is that possible to not have riched32.dll ? madmatt: i quess it isn't so excellent then You have sources for it? |
|||
17 Sep 2007, 10:39 |
|
farrier 17 Sep 2007, 14:09
Riched32.dll represents RichEdit 1.0 , the lowest functionality in the RichEdit family. It is present in 95, 98, ME, & NT and is emulated in 2000, xp, & Vista. If you look at all the Rich*.dll and *edit.dll files on a system, Riched32.dll is about 4k, while others are >400K. This may be why apiresolve does not work.
farrier _________________ Some Assembly Required It's a good day to code! U.S.Constitution; Bill of Rights; Amendment 1: ... the right of the people peaceably to assemble, ... The code is dark, and full of errors! |
|||
17 Sep 2007, 14:09 |
|
vid 17 Sep 2007, 14:15
Oh, so i quess that api resolve can't handle export forwarding.
|
|||
17 Sep 2007, 14:15 |
|
madmatt 17 Sep 2007, 15:30
farrier wrote: Riched32.dll represents RichEdit 1.0 , the lowest functionality in the RichEdit family. It is present in 95, 98, ME, & NT and is emulated in 2000, xp, & Vista. If you look at all the Rich*.dll and *edit.dll files on a system, Riched32.dll is about 4k, while others are >400K. This may be why apiresolve does not work. yeh, your right, riched32.dll is only 3.5kb on my system, must be just a bunch of jump tables to riched20.dll (which is 423kb on my system). |
|||
17 Sep 2007, 15:30 |
|
vid 17 Sep 2007, 17:36
madmatt: not jump tables, but export forwarding, that's why your utility most probably failed.
|
|||
17 Sep 2007, 17:36 |
|
madmatt 18 Sep 2007, 08:42
vid wrote: not jump tables, but export forwarding, that's why your utility most probably failed. Hmmm, so the riched32.dll just loads the riched20.dll? |
|||
18 Sep 2007, 08:42 |
|
vid 18 Sep 2007, 11:22
|
|||
18 Sep 2007, 11:22 |
|
Tomasz Grysztar 19 Sep 2007, 11:34
vid wrote: is that possible to not have riched32.dll ? I recall I had this problem in Win95 when during the installation I did not select to install the WordPad. |
|||
19 Sep 2007, 11:34 |
|
madmatt 22 Sep 2007, 06:12
|
|||
22 Sep 2007, 06:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.