anon_user anon_user - 2 months ago 9
C Question

Visual Studio: Identifider "MSFDTEDIT_CLASS" is undefined

I'm new to Visual Studio. I want to do Win32 programming in C and I need to have rich text edit there. I've tried to link msftedit.dll, but it doesn't seem to do it.
I have this:

#pragma comment(lib,"msftedit.dll")

But it doesn't do anything.

Also I tried to have
in project
properties > linker > input > additional dependencies, but it gave me an error.


Make sure to include the proper header file. In this case, include RichEdit.h. In addition, use LoadLibrary to dynamically load the module that implements the control (msftedit.dll). If you don't, the call to CreateWindowEx will fail.