|
Recently I have read some materials on RTP ,But I still could not know how to realize it ? Can anybody tell me some advice .
I have known the RTP/RTCP packet structure ,but I don't know how to fill the structure ,for I wonder how to get the original data used to fill in the stucture ,which I guessed is realized by myself not the RTP protocol.
AntonlioX
|
|
|
|
|
HELP...!!!
Can any one show me the interface of Gina in XP??
I define my own MyGina.dll in XP and replace System's gina.dll ,but when i login,it meet bluescreen error ??what's wrong with this?? it works correctly in 2000 and 2000/server,
is there any more interface in Xp than in 2000?what are they??
|
|
|
|
|
Gee, maybe if you cross-post to just one more irrelevant forum someone will anwer your question. Might I recommend the suggestions forum?
|
|
|
|
|
I'm looking for any C++ developers interested in testing a new XML library focusing on a simplistic public interface. Developers of almost any skill are welcome to submit a request. Either e-mail me directly or leave a message along with your e-mail address in this topic. A lot of people have expressed a great interest in the project, and I along with them, believe it'll create a massive impact in the world of Open Source.
Just send the e-mails to skonen@gmail.com . Anybody who is interested in giving it a try needs to be proficient in English and have no fear with expressing their opinions.
|
|
|
|
|
|
I may be interested. Can you post the link to the site?
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Currently I do not have an informational website up and running. Though I have registered a project account with SourceForge it doesn't have much for indepth details. However, the XML library has complete documentation including overviews and examples.
|
|
|
|
|
Stuart Konen wrote:
the XML library has complete documentation including overviews and examples.
That nice, Your XML Library have complete documentation, but I would love to check it for Speed and Size , before using in my projects
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Suppose I have an MDI project.
The wizard automatically placed my document object implementation file with:
IMPLEMENT_DYNCREATE(CCatchbugDoc, CDocument)
If I wish to have my document object to have multiple inheritance (CDocument and another non-CObject object, which is created by hand), do I need to add any new stuff under
IMPLEMENT_DYNCREATE macro?
Thanks
|
|
|
|
|
IMPLEMENT_DYNCREATE does not work with multiple inheritance.
John
|
|
|
|
|
yccheok wrote:
If I wish to have my document object to have multiple inheritance (CDocument and another non-CObject object, which is created by hand), do I need to add any new stuff under
IMPLEMENT_DYNCREATE macro?
No, it isn't neither needed nor possible. MFC's macros and functions that deal with runtime type are designed with single inheritance in mind. However, you can make use of multiple inheritance as long as you:
- Observe the usual cautions regarding multiple inheritance in general (i.e.: take care of multiple use of the same base class, etc.), and
- Declare what MFC expects as the
first base class (i.e.: CDocument in this case), so that things like pCatchbugDoc->IsKindOf(RUNTIME_CLASS(CDocument)) and CDocument* pDoc = (CDocument*) pCatchbugDoc keep working.
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Hi everybody!
I want Create and develop a windows service in Visual Studio.Net( Visual C++ )
and I want use the MFC instructions in this.
if is it possible please help me!
Tell me what shulde I do?
Please answer to me immediately!
|
|
|
|
|
BiNam wrote:
Please answer to me immediately!
I hope you don't mind my delay, Sir. My humble apologies for not answering faster, as you demanded and surely deserve.
BiNam wrote:
I want Create and develop a windows service in Visual Studio.Net( Visual C++ )
and I want use the MFC instructions in this.
First, you should check What MFC Cannot Do for You[^], and in particular the part where it specifically says:
Microsoft does not support using MFC to build Windows services
--
"slow" jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Hello Jose Lamas Rios!
Thanks a lot for your useful help!
How one program requests from a service?
Please explain to me completely.
Thank you!
|
|
|
|
|
Generally you are supposed to figure stuff out for yourself and ask here for help on specific issues. Not "How do I write a xxx type of program?".
Go away and do some studying. Work out the basics and then come back and ask details. There are plenty of excellent examples of writing services here on CP.
HTH.
|
|
|
|
|
Jose Lamas Rios wrote:
My humble apologies for not answering faster, as you demanded and surely deserve.
Jose Lamas Rios wrote:
Microsoft does not support using MFC to build Windows services
Yeap, But Mr. Naughter this article support MFC in Window Service too:-
http://www.codeproject.com/system/cntservice.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
|
|
|
|
|
|
Thanks Ravi for your help
But if you can,give me a sample code for create a Windows Service in MFC
|
|
|
|
|
Is the sample in the article not sufficient?
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hello,
I have this code!
HWND hwndTextBox = NULL;
hwndTextBox = GetDlgItem(hwndDlg,IDC_EDIT1);
if(CDesktop::None != (CDesktop::ShowStatus)iIndex)
{
if(GetWindowText(hwndTextBox,text,MAX))
bSuccess=g_objDesktop.SetDesktopWallpaper (text,CDesktop::ShowStatus)iIndex);
}
But now I want to use it in a dialog (MFC) and I dont now how to get the text as a char enter in the EDIT1
as it supose to do. Is there anyone that can help me?
|
|
|
|
|
Hi Larsson :
I could not understand your meaning .But if you want to get the char when you click a certain key of keyboard ,you can use the message map to hook the key down message.
The example is in the following :
// you should ooverride the "PreTranslateMessage"
BOOL CMyClientDlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
switch(pMsg->message)
{
case WM_KEYDOWN :
switch(pMsg->wParam)
{
case 'A': //add code here to get the char A break;
case 'B': //add code here to get the char B break;
case 'B': //add code here to get the char C break;
}
break;
case WM_KEYUP:
switch(pMsg->wParam)
{
case 'A': //add code here to get the char A break;
case 'B': //add code here to get the char B break;
case 'B': //add code here to get the char C break;
} }
break;
}
return CDialog::PreTranslateMessage(pMsg);
}
AntonlioX
|
|
|
|
|
how do you display the set password dialog for a given user via the command line or C++?
(control userpasswords, control userpasswords2 - doesn't go to a specific user)
|
|
|
|
|
I need to automatically add my snapin to compmgmt.msc using C++.
|
|
|
|
|
Using DirectShow I can display the property page, but I don't know how to actually change the values shown in program code.
|
|
|
|
|
For the standard video properties such as brightness,
contrast, saturation, etc you need to obtain a pointer
to the IAMVideoProcAmp interface ( Here[^] )
on your video capture filter and use the Set() / Get()
methods exposed on it.
e.g. (without error checking or clean-up)
Given a valid pointer to your IBaseFilter video capture
filter, m_pVideoCapture;
HRESULT hr;
IAMVideoProcAmp *m_pIVideoProcAmp;
hr = m_pVideoCapture->QueryInterface(IID_IAMVideoProcAmp, (void **)&m_pIVideoProcAmp);
m_pIVideoProcAmp->Set(VideoProcAmp_Brightness, m_nBrightnessValue, 0l);
"VideoProcAmp_Brightness" is one of the properties in the
VideoProcAmpProperty Enumeration :
( here[^] )
You will also need to use the GetRange() method
on the IAMVideoProcAmp interface to find the valid
range of values for each property.
Steve T
|
|
|
|