|
hi manojkumarrai! thanks for the reply...
for the implementation... should i have pointer to the last item for each priority category?
thanks!
newbie
|
|
|
|
|
|
Hi all,
Can anybody plz tell me how to use GetExitCodeThread Function.
my thread object is CloseTh.I am not getting how to pass second parameter.
DWORD lpExitCode;
GetExitCodeThread(CloseTh->m_hThread,lpExitCode);
when i write this,this error is coming
cannot convert parameter 2 from 'unsigned long' to 'unsigned long *'
thanks in advance
|
|
|
|
|
DWORD lpExitCode=0;
GetExitCodeThread(CloseTh->m_hThread,&lpExitCode);
|
|
|
|
|
Whitesky was quick to answer.
neha.agarwal27 wrote: DWORD lpExitCode;
Do make a habit to initialize the variables.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
Read the error message. The function takes a pointer to an unsigned long but you are passing an unsigned long . (DWORD is a typedef that resolves to unsigned long .) You need to pass the address of that DWORD variable. Fixing the Hungarian prefix would be nice too.
|
|
|
|
|
how to create IPAddress control with the style IPAS_NOVALIDATE
|
|
|
|
|
|
I can't find IPAS_NOVALIDATE defined in any of my platform SDK/MSDN files.
What is it?
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I am playing movie in directshow . now I want to fastforward the movie
2x 3x 4x etc . also I want to rewind the movie. can any body tell me
how it is possible
RajeshGupta
|
|
|
|
|
On the MCI functions you can use of MCI_DGV_SET_SPEED see MCI_SET[^]
|
|
|
|
|
I want to fastforward and rewind in localfile scenario . i .e
I am using the .asf or .wmv file .
RajeshGupta
|
|
|
|
|
|
Hi,
I know that but problem is that when I set g_pSeek->SetRate(2.0);
it fast forward for few milli seconds then again playback with
normal speed . again tell me how to rewind the playback.
RajeshGupta
|
|
|
|
|
That's going to depend on the filters in the graph.
For example, if you are playing ASF files with the Windows Media ASF Reader filter, then
SetRate() isn't supported for any speeds except 1.0.
IMediaSeeking::GetCapabilities() will give you info on supported seeking capabilities (including
reverse playback).
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I think use of MCI_DGV_SET_SPEED is easy,isnt ?
|
|
|
|
|
Yes but the OP is using DirectShow
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Yeah you right "playing movie in directshow "
-------------
Did you see Lounge forum "Why a career in computer programming sucks"? what do you think?
|
|
|
|
|
WhiteSky wrote: Did you see Lounge forum "Why a career in computer programming sucks"? what do you think?
Yes. I pretty much disagree with all 10 points. I personally haven't experienced any of those
I love to code. So much so, way back when, I did it on paper for a couple years before I could
afford my first PC. I did it as a hobby when I was in a completely different profession.
I guess if anyone relates to those items, they probably ARE in the wrong profession.
Cheers!
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I cant imagine I leave programming also I think best enjoy write code and find problems so I agree with you and I think programming is a nice work.
|
|
|
|
|
WhiteSky wrote: I cant imagine I leave programming
Especially to be a database administrator!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Mark Salsbery wrote: Especially to be a database administrator
Well said
|
|
|
|
|
I have a class whose base calss is CListCtrl,I want to make one list to draw every thing by itself,so I also wrote a CMyHeaderCtrl and CMyScrollbar class.
I modified the list's style to Owner draw,in the function ::OnPaint()I used these code lines to make it draw it items:
const MSG* msg=GetCurrentMessage();<br />
DefWindowProc(msg->message,msg->wParam,msg->lParam);
but where would be a assert occur.
somebody would tell me why?
Thanks.
BestRegards
|
|
|
|
|
kcynic wrote: but where would be a assert occur.
somebody would tell me why?
Not without more information. 99.99% of the time the ASSERT() statement itself will tell you exactly what is wrong.
Darker than a black steer's tookus on a moonless praire night
Within you lies the power for good, use it!!!
|
|
|
|
|
what is a virtual key code for number keys.
Like VK_TAB for tab .
for 0 - 9 what is a key code.
|
|
|
|