|
LoadLibrary() returns 0x9000000 (not NULL).
I remove the control, everything loads.
On win2K, if I use riched20.dll, it works great.
If I use class name "RICHEDIT" and riched32.dll (or AfxInitRichEdit), it runs (but no multilanguage support).
Did you successfully use this control? If so, can you send me some piece of code that works? Thanks...
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
sagmam wrote:
Did you successfully use this control?
No, I've never used Windows XP. Just for grins, have you tried "RichEdit20A" or "RichEdit20W" in the .RC file?
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Of course... This is the standard procedure when working with RichEdit 2.0/3.0...
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
So all of these variations of case produce the same results:
RichEdit20A<br />
RichEdit20W<br />
RICHEDIT20W<br />
RICHEDIT20A<br />
RichEdit20a<br />
RichEdit20w
??
The only other thing I can suggest is to send a message to this person as he has been chest-deep in rich edit code the past few months. Maybe he has some other ideas to try.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
I've tried all of the combinations above. I also tried RichEdit41W and other weird things
How do I technically send a message to this person?
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
sagmam wrote:
How do I technically send a message to this person?
At least three different ways I can think of to send a message to someone:
Find one of their posts and click the Email link instead of the Reply link.
Go to the person's bio page and start a New thread link.
Sometimes the person will include their e-mail address on their bio page.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
The class name for Richedit 4.1 is RICHEDIT50W - and only unicode is supported.
|
|
|
|
|
I am developing an application using vc++,MFC AppWizard ,Dialog form. I have a Dialog box on which I have put an Excel sheet Control. I would like to know how to access the control.
|
|
|
|
|
adibalaji wrote:
I have a Dialog box on which I have put an Excel sheet Control.
How did you go about doing this?
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
hi,
is there a way to get a connecter's ip before calling accept()?
thx
Don't try it, just do it!
|
|
|
|
|
hello,all,
How to filter URL and Web in windows2000/WinXP?
|
|
|
|
|
What is the source? Is it a file, socket, or from another process such as IE?
Kuphryn
|
|
|
|
|
This source is a process such as IE ,MSN Explorer and web brows.
|
|
|
|
|
Check MSDN for COM interfaces to IE.
Kuphryn
|
|
|
|
|
I have an application which represents the filesystem of a device connected via a serial link. I do navigate the device's filesystem and copy files to/from using drag/drop or clipboard. Here comes the problem. I implemented Drag/Drop and Clipboard using CF_FILEDESCRIPTOR and CF_FILECONTENTS with IStream. But i donno how to copy the nested folders from the application to the Windows Explorer. Should i enumerate the contents of folder and all itz subfolders? It can be timeconsuming over the serial link.
Somewhere i read that 'IStorage' can be used for the purpose. But how ? No information or examples regarding "how to implement IStorage" is available. Can anybody help me to solve out this, pleeeeeeeease?
regards
Nathan. R
|
|
|
|
|
Hi everyone,
I have a C++ question.
I have the following data format:
----------------------------
byte 3 unsigned 8 bits
----------------------------
Byte 2 unsigned 8 bits
----------------------------
Byte 1 unsigned 8 bits
----------------------------
Byte 0 unsigned 8 bits
----------------------------
Now, I have a pointer to byte 0. I have an unsigned short encoded in Byte 2 and byte 1.
So, what should I do...
assume baseData = pointer to byte 0
unsigned short myVal = *(baseData + 1)
or
unsigned short myVal = *(baseData + 2)
My initial feeling was that the latter is correct. But I am usually wrong in things like this
Thanks
Without struggle, there is no progress
|
|
|
|
|
pankajdaga wrote:
My initial feeling was that the latter is correct.
They're both syntactically correct. You did not mention what it is you are trying to do.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi,
I am trying to get an unsigned short that is stored between byte 2 and byte 1...i.e. 2 bytes...16 bits altogether.
I know that they are syntactically correct... I am wondering which one gives the right value fr my problem.
Thanks,
Pankaj
Without struggle, there is no progress
|
|
|
|
|
pankajdaga wrote:
I am wondering which one gives the right value fr my problem.
The former.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi,
You are right.
unsigned short myVal = *(baseData + 1) gives the correct result. However, I do not understand why that is. (baseData + 1) doesn't it point to the lower 8 bits of the short value that I am interested in. I do not understand how exactly the conversion takes place. If you could shed some light onto it, I would really appreciate it.
Thanks again,
Pankaj
Without struggle, there is no progress
|
|
|
|
|
IMHO it depends on what basedata is: If it is a BYTE* , basedata+1 is the BYTE after basedata.
If basedata is of type unsigned short* , basedata+1 is the unsigned short after basedata , and that would be the BYTE basedata+2/+3 .
Who is 'General Failure'? And why is he reading my harddisk?!?
|
|
|
|
|
unsign char baseData[4] = {1, 2, 3, 4};<br />
<br />
unsigned short myVal1 = *(unsigned short *)(baseData + 1);<br />
unsigned short myVal2 = *(unsigned short *)(baseData + 2);
for little endian system:
myVal1 = baseData[1] + baseData[2] * 256,
myVal2 = baseData[2] + baseData[3] * 256
for big endian system:
myVal1 = baseData[1] * 256 + baseData[2],
myVal2 = baseData[2] * 256 + baseData[3]
For some systems, such accesses would cause problems: data alignment violation or resulting unpredictable values
elkarian@hanmail.net
|
|
|
|
|
Hi,
i need highly optimized image(bitmap) processing classes. There are lots of scaling, shadowing, blurring, warping and pixel-manipulating operations for my OwnerDrawn Inerfaces. I can use GDI / GDI+ (when XOR mode is possible again) / DirectDraw,Direct3D or the Intel IPP Package(comparatively cheap). Which is the best one? I use only INTEL processors, so the CPU dependence (IPP) does not matter.
Thanxs !
Marco
|
|
|
|
|
Hello !!!
How to get system date and time in C?
How to save this date and time in MYSQL database?
Samhita
|
|
|
|
|