Solved

EM_SETTEXTEX problem

Posted on 2004-10-20
6
554 Views
Last Modified: 2013-12-03
EM_SETTEXTEX is working fine on one computer but doesnt work on another...
How can I find cause of the problem?
SendMessage() return 0
GetLastError() return 0
0
Comment
Question by:serg111
6 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12359316
Which operating systems. Although min is Win95, it is required to have RichEdit 3.0 installed.
0
 
LVL 2

Author Comment

by:serg111
ID: 12361102
It is Win ME that cause an error
How can I make sure that RichEdit installed?
The Edit control is actually created but doesn't show output
0
 
LVL 2

Expert Comment

by:mannujam
ID: 12471003
EM_SETTEXTEX   message is only applicable for Richedit 3.0 or higher - so to know the version on ur computer
Open richedit.h file in an editor -  It will be showing the number for richedit control version no.
It will be their in ur include folder in VIsual studio installed folder
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Author Comment

by:serg111
ID: 12472359
Yes, it is 3.0 on my computer's richedit.h
But computer where it is not working doesn't have richedit.h and Visual studio installed
0
 

Accepted Solution

by:
curero earned 250 total points
ID: 12472619
1. %SYSTEM% folder ( Ex: C:\Windows\System32), search riched20.dll;
version of a binary file: 'Properties' in windows explorer, the version tab; my riched20.dll: "Description:   Rich Text Edit Control, v3.0"

2. WinME has "riched20.dll" installed natively; I reallly think you have other problem (but verify that the richedit20.dll is there): WinME is multi-byte, XP is Unicode (NT-based); please give more informations: ( some code eventually)
   
0
 
LVL 2

Author Comment

by:serg111
ID: 12472868
You are right! Somehow there was and old version of dll ...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now