Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

Riched32.dll Hell

Hello Experts...

I have a small app that users a richtextbox. Microsoft claims there are 3 versions of this file...(riched32.dll)with one that cannot be distributed. The un-distributable version will throw an out-of-memory error. I am using Installshield to package, and cannot get this app to run on another machine...without the out of memory error. Microsoft has a small app (that works sometimes)...to check for the "bad" version...and replace it with the "good" version.
I have run this several times....and I am pretty sure I have the correct version. I also tried with the VB package and deploy wiz, with no luck....
0
Form_Glow
Asked:
Form_Glow
  • 6
  • 5
  • 2
  • +1
1 Solution
 
mfrumerCommented:
I went through a long saga with Microsoft on another Riched32.dll issue when I was packaging our application for distribution. The solution that finally worked (and was given Microsoft's blessing) was to distribute the Riched32.dll from my development system and to install it as a component in the application directory on the target system. All other attempts by Microsoft to come up with a solution that would allow our application to run on target systems using the Riched32.dll that existed on the target system failed.
0
 
Form_GlowAuthor Commented:
For some reason this approach gives me the same error.
0
 
Richie_SimonettiIT OperationsCommented:
Your dev machine and target machine have the same OS?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Form_GlowAuthor Commented:
The dev machine is 2000, target is 98.
0
 
Richie_SimonettiIT OperationsCommented:
Hummm...bad feelings...
Maybe problems with compatibilty between both OS's Riched32.dll.
Do a backup of 98 dll and install your program again,
or,
Don't install riched32.dll from your 2000 and leave win98 version.
It is not a "real" solution, just some clues...
Hope it helps
0
 
Form_GlowAuthor Commented:
I read somewhere that riched32.dll is considered "part" of the 2000 OS. I've tried what you mentioned...but I really can't be sure what version I have on the target machine now. I may have to format..and start over.
0
 
Richie_SimonettiIT OperationsCommented:
Ups!
Then, there is no other way?
could You restore that dll from win2000 disk?
0
 
eeevansCommented:
Richie, I think he needs the one from Win98.  Form_Glow, you may find the file in one of the cabs in c:\Windows\options on the Win98 machine and be able to extract it from there.
0
 
Richie_SimonettiIT OperationsCommented:
But, what i am saying with others words!
0
 
eeevansCommented:
Richie, you said:
"could You restore that dll from win2000 disk?"
not the win98 CD or cabs.
0
 
Form_GlowAuthor Commented:
I almost certain that this can't be done (Win 2000 dev machine, Win 98 target machine)

Really unbelievable.

Looks like I'll distribute without the .dll....
0
 
Richie_SimonettiIT OperationsCommented:
It is a strong posibility.
0
 
Richie_SimonettiIT OperationsCommented:
So, it works now?
0
 
Form_GlowAuthor Commented:
I was pulled off that particular project...for the time being (Whoppee!!) (Never did get it running)I am considering a freeware control from Edammo's page.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 6
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now