|
No matter. You are fetching values by rows.
I have suggested that was for single property.
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
|
sampath-padamatinti wrote: how can i specify my path in this
Posting it again and again won't help, I suppose...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
sorry its unfortunately happened
sampath-padamatinti
|
|
|
|
|
sampath-padamatinti wrote: sorry its unfortunately happened
That's the funniest thing I read today!
|
|
|
|
|
Wait, wait, it will be a long day.
BTW here it is 12:00 am, what time iis it there?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: what time iis it there?
Same. I'm in Barcelona.
modified on Thursday, July 2, 2009 7:20 AM
|
|
|
|
|
Michael Schubert wrote: Same. I'm in Barcelona.
Oh, lucky man. I never been there.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
At the moment I wish I were in Alaska. It's fricking hot, 40+ degrees...
|
|
|
|
|
Michael Schubert wrote: I were in Alaska
Oh lucky man! I never been there...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: I never been there
Me neither. I hear they make delicious chocolate-moose there...
|
|
|
|
|
Michael Schubert wrote: It's fricking hot, 40+ degrees...
That's about what it is in my neck of the woods, with a little humidity thrown in for good measure.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Where are you located?
|
|
|
|
|
Oklahoma.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
And I thought there's only dry heat in the desert...
|
|
|
|
|
With RH values in the 80s and 90s, it's far from dry. Last week, the heat index was 110. Sweating in that temperature does no good as the air is already too saturated to absorb it.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
I am copying attachments into my PC. Where i am using IStream, this one directly saving attachments but those attachments are saved in only office 12 folder, how i can change the path.
code is:
LPSTREAM pStrmSrc = NULL, pStrmDest = NULL;
STATSTG StatInfo;
if (FAILED(hRes = lpAttach->OpenProperty(PR_ATTACH_DATA_BIN,
(LPIID)&IID_IStream,0,MAPI_MODIFY,(LPUNKNOWN *)&pStrmSrc)))
break;
if (FAILED(hRes = OpenStreamOnFile(MAPIAllocateBuffer,
MAPIFreeBuffer,STGM_CREATE | STGM_READWRITE,
pRows->aRow[i].lpProps[0].Value.lpszA,
NULL,&pStrmDest)))
break;
where pstrmsrc is source destination, pstrmdest is copying destination.
how can i specify my path in this
thanx in advance
sampath-padamatinti
|
|
|
|
|
The MSDN documentation of OpenStreamOnFile[^] gives a code sample, please find it in your MSDN folder, or click on this link to see it
|
|
|
|
|
Re-posting is not required here. Please delete your first post.
|
|
|
|
|
Here is the solution in details:
There is a discrepancy with the actual function and the header file. That's Microsoft's mistake which due to be fixed.
- Go to MAPIUtil.h where OpenStreamOnFile is declared. Change
__in LPCTSTR lpszFileName,
to
__in_opt LPCSTR lpszPrefix,
- Use ASCII file name when calling OpenStreamOnFile
- Michael Haephrati מיכאל האפרתי
|
|
|
|
|
Hi,
are there any libs to draw charts and diagrams, like in excel or in powerpoint??
I need to draw on my dialog some chart and diagrams, for that o like to check first if there are any available projects allready here for download??
Thanks for help
termal
|
|
|
|
|
There's Cédric magnifiche control, here at CP [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yes, use standard MS Chart control.
Never use external libs (Win32 api has all)
|
|
|
|
|
Hi,
I was asked the below in an interview:-
What does the following code below do?
<br />
char nextChar();<br />
<br />
int main()<br />
{ <br />
char ch;<br />
ch = nextChar() != '\0';<br />
std::cout << (int) ch;<br />
<br />
return 0;<br />
}<br />
I said it would not compile since there is no definition (only a declaration) of the function nextChar() but the answer was 0 or 1. I am not sure why and also how can you use the != operator outside a if or while statement (i.e. something that expects true or false ?
Thank you for any input.
|
|
|
|
|
minkowski wrote: nextChar() != '\0'
This part of the code actually "returns" something (true or false). You then assign the result of the comparison into the ch variable. true is usually 1 and false is 0. So, your character will contain either 0 or 1. If you try to ouptut as it is (so, without the casting to an integer), you will end up printing the character whose value is 0 or 1 (so, not printable character), that's why you need to cast it to an integer.
I guess that having a body for your function was not really important for the interview question: they simply have a function that returns a character...
|
|
|
|