Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unicode mfc application using rich textbox under windows 98/ME

Status
Not open for further replies.

dima2

Programmer
Jan 20, 2002
85
LB
hi,
i have a unicode MFC application that I wish to run on Windows 9x/Me.
for that purpose I linked with unicows.lib before linking to any other
libray.
however and since I'm using MFC as a shared dll I had to rebuild the
CRT and MFC libraries.

/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib
/nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib
/nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib
/nod:secur32.lib /nod:eek:leacc.lib /nod:eek:ledlg.lib /nod:sensapi.lib
unicows.lib
kernel32.lib advapi32.lib user32.lib gdi32.lib shell32.lib
comdlg32.lib
version.lib mpr.lib rasapi32.lib winmm.lib winspool.lib vfw32.lib
secur32.lib oleacc.lib oledlg.lib sensapi.lib


All this done, I was able to run my application on windows 98.
But my problem is in one control I'm using : the rich textbox
(Richtx.ocx)
to place and retrive unicode text from that control I'm using the
SendMessage
EM_SETTEXT and EM_GETTEXT with cogepage 1200. (these supposedly use
the RichEd20.dll. (I have the dll for the RichEdit 3.0.))
but none of these is working properly on win98
Besides I noticed that the control sends an OnChange notification as
soon as the dialog that contains it is created.

does anyone have any idea on what might be causing it or how can I get
aroud it

any help would be greatly apreciated

thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top