|
|
Thank you for your responce, but it is CSharp code, but im looking for Visual C++ code.
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
|
|
|
I have an MFC application. I want to pop up outlook send message dialog with the data filled from my application.
For example: the mail id, Subject, CC, Body of the mail send dialog must be filled from my application
How i do this? Please shares idea/codes
|
|
|
|
|
You can create your own pop up window that you can show if the mail is sent successfully from your application. You don't need to depend on Outlook for that.Use MAPI functions to send the mail
Somethings seem HARD to do, until we know how to do it.
_AnShUmAn_
|
|
|
|
|
anilFirst wrote: I have an MFC application. I want to pop up outlook send message dialog with the data filled from my application.For example: the mail id, Subject, CC, Body of the mail send dialog must be filled from my applicationHow i do this? Please shares idea/codes
you can try SMTP classes like :-
http://www.codeproject.com/internet/csmtpconn.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi all
I created a CEdit object and I wanted to change the color of the scroll bar in the edit.
but I can't get the handle of the scroll bar
please tell me how to get it if someone know that
thank you~
-- modified at 23:06 Thursday 11th May, 2006
|
|
|
|
|
The scroll in CEdit is a built in scroll bar.. its just a painiting..u cannot get the handle of CEit scroll bars..
If u want to Change the color of the Scroll bar in CEdit better u remove the scroll of CEdit and place your own scroll bar..
Another option is to use Detours check out the sample out herehttp://www.codeproject.com/dialog/coolscroll.asp[^]
nave
|
|
|
|
|
I got it
Thank you ~ nave
|
|
|
|
|
i'm reading data from a machine which gives me the data in small chunks, sa 64 bytes (the size varies). i want to write this to a file. the total data can be megabytes in all...so i know writing each chunk of data that comes to me won't be a nice solution (slow).
so i'm thinking of having a bit bigger buffer. wait for that to be filled up, then write it. im sure this will work, but it seems like too much to do for a problem that should happen often. is there any existing solution in the API perhaps?
|
|
|
|
|
ilidan wrote: but it seems like too much to do for a problem that should happen often.
you must mean "should not happen often"?
ilidan wrote: but it seems like too much to do
I certainly would not consider buffering output "too much to do"? There is not that much to it.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
led mike wrote:
you must mean "should not happen often"?
ah well, i work a lot with hardware and this happens often. everything's relative, i guess.
led mike wrote: I certainly would not consider buffering output "too much to do"? There is not that much to it.
i guess. i just half-expected there'd already be some class that i can pipe output to ("<<") and it'll automatically manage the write buffering to a file.
anyway, thanks. i should start writing the code.
|
|
|
|
|
it seems CArchive does do this.
|
|
|
|
|
ilidan wrote: i guess. i just half-expected there'd already be some class that i can pipe output to ("<<") and it'll automatically manage the write buffering to a file.
My bad. I did not catch that at all. Yeah the stl streams will do that for you.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
use fopen or CStdioFile.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
At the lowest level, the least part of information that can be read from, or written to the physical disk is a sector (normally 512 bytes).
So whatever file I/O functions you are using, the runtime will buffer the data for you.
(For completeness sake, there are ways to write directly to the disk, but that's not the issue here).
|
|
|
|
|
Will IOCP promotes the performence much in a server with only one CPU?
|
|
|
|
|
Yes.
What is IOCP? Just kidding.
Define "much".
It should improve perfomance. Even more so on the latests chips (dual core).
Of course that is also dependent on your code not eating up the benefits.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
iocp good any cpu
Kuphryn
|
|
|
|
|
How can I do attribution with DWORD type?
With CString
<br />
CString str;<br />
Str="something";<br />
Can I do something similar with DWORD type?
|
|
|
|
|
DWORD val;<br />
val = 4;
If you mean something different than this, you need to be more specific.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Joe Woodbury wrote: you need to be more specific.
Be careful where you point that! See this[^]
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
I've been search around web, and I can't find how can I code a dialog to open a file with his respective application.
For example, Click on button an open a pdf on adobe reader.
|
|
|
|