Solved

EM_SETTEXTEX problem

Posted on 2004-10-20
6
549 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
Comment Utility
Which operating systems. Although min is Win95, it is required to have RichEdit 3.0 installed.
0
 
LVL 2

Author Comment

by:serg111
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 2

Author Comment

by:serg111
Comment Utility
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
Comment Utility
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
Comment Utility
You are right! Somehow there was and old version of dll ...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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 …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

14 Experts available now in Live!

Get 1:1 Help Now