[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

EM_SETTEXTEX problem

Posted on 2004-10-20
6
Medium Priority
?
591 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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 add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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 a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

650 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