?
Solved

EM_SETTEXTEX problem

Posted on 2004-10-20
6
Medium Priority
?
587 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
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 1000 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

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.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

762 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