rich edit 4.1 is giving me a head-ache

This is a discussion on rich edit 4.1 is giving me a head-ache within the Windows Programming forums, part of the Platform Specific Boards category; I am having some trouble here. My code will work fine using rich edit 3.0 but when I try and ...

Okay, GetRichEditVersion() determines the version as anyone can plainly see. If I don't attempt to load msftedit.dll I can get a rich edit 3.0 control up and running, however, when I do use msftedit.dll I won't get an edit control. Can anyone set me straight here?

It amazes me that given all the documentation there is out there this problem wasn't easier to solve. I was looking through richedit.h and found that I should be using MSFTEDIT_CLASS for my class name not RICHEDIT_CLASS. Maybe this will help someone else someday.