Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ - Including " in a text string without ending the string Pin
JSadleir8-May-05 13:35
JSadleir8-May-05 13:35 
GeneralSetPrinter() Failed with ERROR_ACCESS_DENIED Pin
lxy8-May-05 12:31
lxy8-May-05 12:31 
GeneralFilePathProblem Pin
ddmcr8-May-05 11:14
ddmcr8-May-05 11:14 
GeneralRe: FilePathProblem Pin
Chris Losinger8-May-05 11:27
professionalChris Losinger8-May-05 11:27 
GeneralRe: FilePathProblem Pin
ddmcr8-May-05 22:05
ddmcr8-May-05 22:05 
GeneralRe: FilePathProblem Pin
Blake Miller9-May-05 5:09
Blake Miller9-May-05 5:09 
GeneralRe: FilePathProblem Pin
ddmcr9-May-05 7:19
ddmcr9-May-05 7:19 
GeneralRiched32.dll on w9x Pin
PJ Arends8-May-05 11:09
professionalPJ Arends8-May-05 11:09 
I am having a small problem using CRichEditCtrl on w9x (app built with VC6 sp6 on w2k). When I run the app on w2k, AfxInitRichEdit() loads RichEd32.dll which in turn loads RichEd20.dll that contains the code for version 3.0 of the rich edit control. But if I run the app on w98 the RichEd32.dll that gets loaded contains the code for version 1.0 of the rich edit control, and the control fails to be created. I tried to put the w2k copy of RichEd32 in the same folder as the app, but it does not get loaded, the app instead loads the older version found in the system directory. I had always had the understanding that the app would load the dll from the apps directory first before it went to the system directory, but apparently I was wrong on that. If I move the newer dll to the system directory, and remove the old dll, everything works great.

Question: Is it safe to redistribute the newer (v5) RichEd32.dll to w9x to replace the older (v4) dll that is already there? or is that just going to cause nothing but grief to other apps that may use the same dll? If I do that do I also have to redistribute RichEd20.dll? The RichEd dlls are not on the list of redistributable files that came with VC. I am guessing this is where the term "dll hell" comes from.

The only other option I can think of is not use MFC6's CRichEditCtrl, but to instead write my own wrapper that uses RichEd20.dll directly.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: Riched32.dll on w9x Pin
Graham Bradshaw8-May-05 11:24
Graham Bradshaw8-May-05 11:24 
GeneralRe: Riched32.dll on w9x [edited] Pin
PJ Arends8-May-05 11:53
professionalPJ Arends8-May-05 11:53 
GeneralRe: Riched32.dll on w9x Pin
Jim Crafton8-May-05 12:34
Jim Crafton8-May-05 12:34 
GeneralRe: Riched32.dll on w9x Pin
PJ Arends8-May-05 14:07
professionalPJ Arends8-May-05 14:07 
GeneralMFC as Static produces runtime error. Pin
Shining20058-May-05 9:39
Shining20058-May-05 9:39 
GeneralRe: MFC as Static produces runtime error. Pin
Blake Miller9-May-05 5:12
Blake Miller9-May-05 5:12 
Questionhow much processing power is my app using Pin
Mridang Agarwalla8-May-05 7:45
Mridang Agarwalla8-May-05 7:45 
AnswerRe: how much processing power is my app using Pin
Christian Graus8-May-05 18:40
protectorChristian Graus8-May-05 18:40 
AnswerRe: how much processing power is my app using Pin
Ryan Binns8-May-05 18:43
Ryan Binns8-May-05 18:43 
GeneralCEdit Validation Pin
ddmcr8-May-05 6:39
ddmcr8-May-05 6:39 
GeneralRe: CEdit Validation Pin
Jack Puppy8-May-05 7:50
Jack Puppy8-May-05 7:50 
GeneralRe: CEdit Validation Pin
Anonymous16-May-05 2:15
Anonymous16-May-05 2:15 
GeneralDisplay data in pages Pin
Ivan Cachicatari8-May-05 5:31
Ivan Cachicatari8-May-05 5:31 
GeneralRe: Display data in pages Pin
Chris Losinger8-May-05 6:24
professionalChris Losinger8-May-05 6:24 
GeneralRe: Display data in pages Pin
Ivan Cachicatari8-May-05 8:35
Ivan Cachicatari8-May-05 8:35 
GeneralRe: Display data in pages Pin
Chris Losinger8-May-05 8:47
professionalChris Losinger8-May-05 8:47 
Generallibrary linking error Pin
8-May-05 3:18
suss8-May-05 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.