|
Alrighty, holy mother of fritos and spicy bean dip (Is that kid sister friendly enough?) I guess I took this on as a personal crusade and I like to finish what I start when I can.
Error 1:
Just change textLen to wordLen (it was a typo in my code) I didn't know you didn't know C++ (I guess I should've inferred that, but live and learn...)
Error 2 change to:
m_FCONT.SetSelectionCharFormat(cf);
And I'm done, learn how to problem solve or you will be done too. (I mean, that if you can't look something up with google, then you're laaaame). I know you're trying to get your homework done, but come on dude, try, try!!!!
Last modified: Friday, May 26, 2006 12:56:10 AM --
|
|
|
|
|
Hi Steve Echols,
Thanks for helping....Now its working...
Since my semester is of 4 months I did not get time to attend VC++ classes outside, I just started learning on my own with help of Code Project and with help of masters like u and started working on my academic project.
Since VC++ different from C++ I am finding it more difficult to understand the syntax and procedure…
Can u please also tell how to increase the font(size) of the selected word,it will be helpfull if u can provide some links.
Regards,
Vinay Charan.
|
|
|
|
|
|
Thanks Steve...
I will do the research on CHARFORMAT ...
Thanks a lot
Regards,
Vinay Charan.
|
|
|
|
|
|
Nibu thomas wrote: May be you can write an article on this subject. A 5.
The sad thing is I've never actually used a RichEdit control (in practice). The great thing about helping people out is that you also learn in the process (VinayCool cover your ears!) I've learned alot about RichEdit stuff (Thank you VinayCool!)
|
|
|
|
|
Steve Echols wrote: The great thing about helping people out is that you also learn in the process (VinayCool cover your ears!) I've learned alot about RichEdit stuff (Thank you VinayCool!)
Very true. Good job.
But sometimes these questions get to you. Some understand some don't.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Spanks!
Nibu thomas wrote: But sometimes these questions get to you. Some understand some don't.
That's the cool thing about CP, there are some who know "flat out", and some who don't have a clue but will research problems that interest them just for the piece of mind!
|
|
|
|
|
Good idea
whitesky
|
|
|
|
|
Cool
Regards,
Vinay Charan.
|
|
|
|
|
Hi All,
This is not a technical doubt. but it is related to C++.
one of my friend is searching for an International Certification in CPP (like Java). I donno why it is needed but she is sticking on that.
Pls give some suggestions.
SaRath
|
|
|
|
|
|
Is the brainbench certification is an accepted one ???
Still i am wondering that why the Microsoft ppl stopped the Certification Exam in C++ aka VC++..
Loka Samastha Sukhino Bhavanthu..!!!
( May all beings be happy and free )
|
|
|
|
|
Am not sure about the acceptability of brainbench.
I think Microsoft just wanted to promote .NET certification.
|
|
|
|
|
renjith_sree wrote:
Still i am wondering that why the Microsoft ppl stopped the Certification Exam in C++ aka VC++..
Exam 70-536 can be taken as a VC++ exam.
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
First, I posted a AcceptEx to IOCP for connection only, not to receive any data by this call (dwReceiveDataLength=0).
In the processing of AcceptEx completion, I called WSARecv.
There is trouble here:
If the client called connect, then called send after it.
WSARecv will return 0, the data is received.
So I use a while(WSARecv(...)==0) to receive data, while the loop end, I checked that WSAGetLastError()==WSA_IO_PENDING. It seems all right till now. Then suppose that the client doesn't send any data, but the next GetQueuedCompletionStatus will return TRUE for a WSARecv completion, but the received data in the buf is nonsense. Why the GetQueuedCompletionStatus will work this way?
|
|
|
|
|
buffer size >= 32 bytes? iocp could update with local/remote ip data
Kuphryn
|
|
|
|
|
Why a more completion of WSARecv?
|
|
|
|
|
what GetQueuedCompletionStatus() buffer size returned?
Kuphryn
|
|
|
|
|
The bytes received is the same as the prior call of WSARecv which return 0;
|
|
|
|
|
flawless on normal non-acceptex sockets? have both client and server code?
Kuphryn
|
|
|
|
|
I've sent the code to you.
Please check.
|
|
|
|
|
Looked code
question refers to code inside operation == SOCK_OP_ACCEPT?
Kuphryn
|
|
|
|
|
Yes, the probelm is if WSARecv(...)==0 (the data is received), GetQueuedCompletionStatus will be unblocked unnecessarily.
|
|
|
|
|
I have prototype in my Activex control as below and i am passing a class object from client application which has some member variables
void VRMControl::SetVariant(VARIANT VariantParam)
{
}
How can i convert this variant "VariantParam" paramter to my class type so that i can able to access those member variables. More over i can able to create object for that class in my Activex page so it should able to do right?. Please explain me how to type cast it.
|
|
|
|