[Gena01 Logo]
September 08, 2008, 02:01:53 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Tags Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Win32Pad 1.3 failed to view .nfo files correctly  (Read 1133 times)
0 Members and 1 Guest are viewing this topic.
jobodine
Newbie
*
Posts: 4


View Profile
« on: May 07, 2003, 01:27:50 PM »
Reply with quoteQuote

After seclecting the font "Terminal" , size 9 , I opened a .nfo file . It was opened in a mixed fonts : some part in  Terminal font, another part in an entirely different font.  If I went to "Options"->"Preferences..."  and clicked on "OK" in the Font popup  the .nfo file was then shown correctly.

__If I closed the .nfo file and opened it again , the same problem re-emerged !  Why Win32Pad could not save the default Terminal font ? Is there something special about this peculiar font ?

_It's interesting to note that 99% of text editors I have used, experience this same issue.  The only exception I found so far is  in SkimEdit v3.01 .

Please advise and explain this bizzard behavior . Thanks
Report to moderator   Logged
Gena01
Administrator
Sr. Member
*****
Posts: 386



View Profile WWW
« Reply #1 on: May 08, 2003, 11:02:29 AM »
Reply with quoteQuote

Hmm.. I know I fixed some issues with the Terminal font... can you e-mail me the .nfo file that is a good testcase for this. Maybe with a few screenshots, your computer O/S and a step by step scenario so that I could reproduce and fix this.
Report to moderator   Logged
Gena01
Administrator
Sr. Member
*****
Posts: 386



View Profile WWW
« Reply #2 on: May 09, 2003, 11:19:03 AM »
Reply with quoteQuote

Thanks for the e-mail. I did manage to spend some time figuring this out. The interesting thing is that when you reload the file from disk the graphics disappear.

I am still not sure of how to fix this. The problem seems to be with riched20.dll Also if I don't set the "character set"/language/script for the font, then the file is shown without the graphics. I am still thinking of the best way to cleanup my font and color related code.

To be continued....

Gena01
Report to moderator   Logged
jobodine
Newbie
*
Posts: 4


View Profile
« Reply #3 on: May 12, 2003, 02:09:21 AM »
Reply with quoteQuote

I think you might be correct . It could be the riched32.dll that caused this problem. Here is the reason for my haunch  :

_ "Edxor v1.60" had the same problem as Win32Pad 1.3  if I removed riched32.dll ( version : 4.0.835.1381 ) from the installed program  directory .

_If I left riched32.dll in, Edxor v1.60  viewed .nfo correctly.

I am just curious what version of riched32.dll did you use in Win32Pad 1.3  ?
Report to moderator   Logged
Gena01
Administrator
Sr. Member
*****
Posts: 386



View Profile WWW
« Reply #4 on: May 12, 2003, 10:20:56 AM »
Reply with quoteQuote

Quote (jobodine @ May 12 2003,02:09)
I think you might be correct . It could be the riched32.dll that caused this problem. Here is the reason for my haunch  :

_ "Edxor v1.60" had the same problem as Win32Pad 1.3  if I removed riched32.dll ( version : 4.0.835.1381 ) from the installed program  directory .

_If I left riched32.dll in, Edxor v1.60  viewed .nfo correctly.

I am just curious what version of riched32.dll did you use in Win32Pad 1.3  ?

I know that i had various issues with different versions of riched20.dll In some cases there were obvious bugs present where I added workarounds to make the program work better. The funny thing was that I saw the same workarounds built by other people, including the people writing MFC libraries at M$.

I am using riched20.dll ( 5.30.23.1209 ). I don't use the dll that you specified, that one is a bit older as does not have many of the features.

Gena01
Report to moderator   Logged
Guest
« Reply #5 on: May 12, 2003, 12:35:20 PM »
Reply with quoteQuote

I wonder if there is a way in Win32Pad 1.3 that allows me to select <riched32 4.0.835.1381>  rather than <riched20.dll  5.30.23.1209 >.  I am am curious if this will make a difference ?
 I kind of like the scheme Edxor 1.60 used : if the user prefer a different version of riched32.dll  than the default version, he can simply add that .dll file into the installed program directory.  Please comment. Thanks,
Report to moderator   Logged
Gena01
Administrator
Sr. Member
*****
Posts: 386



View Profile WWW
« Reply #6 on: May 12, 2003, 12:50:52 PM »
Reply with quoteQuote

Quote (Guest @ May 12 2003,12:35)
I wonder if there is a way in Win32Pad 1.3 that allows me to select <riched32 4.0.835.1381>  rather than <riched20.dll  5.30.23.1209 >.  I am am curious if this will make a difference ?
 I kind of like the scheme Edxor 1.60 used : if the user prefer a different version of riched32.dll  than the default version, he can simply add that .dll file into the installed program directory.  Please comment. Thanks,

You just can't replace riched20.dll with riched32.dll since it just won't work and will break many programs that use it. It's not just the filename it's also the window class names and the features that riched20.dll provides.

Gena01
Report to moderator   Logged
Tags:
Pages: [1]
  Reply  |  Print  
 
Jump to:  

BoldItalicizedUnderlineStrikethrough|Preformatted TextLeft AlignCenteredRight Align|Horizontal Rule|Font SizeFont Face
Insert ImageInsert HyperlinkInsert Email|SuperscriptSubscriptTeletype|Insert CodeInsert Quote|Insert List
Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips sealed Undecided Kiss Cry
Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.043 seconds with 17 queries.