|
Hi,
I need to write the program that can streaming the frame buffers over network and play again when received at client program.
in Java we hav RTP (Real-Time Transport Protocol) for doing real time streaming and JMF for playing.
But in C++ I don't know how we do a real time streaming video.
Please help me!
Thank in advance!
|
|
|
|
|
You can use RTP in C++ although you will have to write it yourself or find a free or open source library to do it for you.
Darka [ Xanya]
"When you're taught to love everyone, to love your enemies, then what value does that place on love?"
|
|
|
|
|
Guys,
Is there any win32api to get the day of the week.
I had gone thru some date api's which sppeks abt the month,date and time.
I need to check the system date for a particular day of the week.
like if the day of week is satuarday /sunday a particular process need to be run to make sure that no one will be able to log into the system.
Thanks,
kk_mfc
|
|
|
|
|
kk_mfc wrote: I need to check the system date for a particular day of the week.
like if the day of week is satuarday /sunday
Use GetSystemTime(..) as below,
SYSTEMTIME SytemTime;
GetSystemTime(&SystemTime);
SystemTime.wDayOfWeek will slovw your problem...
Refer here for more details about SYSTEMTIME structure[^]
Do your Duty and Don't expect the Result
|
|
|
|
|
There's a plethora of ways:
struct tm now;<br />
localtime( &now );<br />
look at now.tm_wday
or
SYSTEMTIME st;<br />
GetSystemTime( &st );<br />
look at st.wDayOfWeek
To name a few.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
|
|
Hi..All..
what is A2W converter, how it is used.
why we write USING_CONVERSION, before using convertors.
Thanq..
sheshidar
|
|
|
|
|
See Here[^]
Do your Duty and Don't expect the Result
|
|
|
|
|
HI I have created an Dll which is 64 bit compatible. When I tried to register it I was prompt with this error:
"%1 is not a valid Win32 application. "
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
Did you create a COM object? or a regular DLL ?
Also, are you trying to register it on a 32-bit processor ?
Darka [ Xanya]
"When you're taught to love everyone, to love your enemies, then what value does that place on love?"
|
|
|
|
|
"MQ_ERROR_OPERATION_CANCELLED" this error is being thrown my our application.
Application comprises two threads each having a their own handle to the queue.
We are using Synchronous Call to read,open message from the Queue.
Thanks
for thendral
|
|
|
|
|
How and where I use the SetDate() to set the date on my Date/Time picker?
|
|
|
|
|
tanarnelinistit wrote: SetDate()
used when we Indicate the date components to be copied into COleDateTime object.
dt.SetDate(2006, 7, 28);
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I have CTime object not COleDateTime. SO?
|
|
|
|
|
Did you see example SetDate() in MSDN?
|
|
|
|
|
WhiteSky wrote: Did you see example SetDate() in MSDN?
Yes, I saw the example, I solved my problem using GetCurrentTime(). Thanks.
|
|
|
|
|
Hi all.
I want to add a new tool in the tool bar of all my windows. I thing it is possible using VC++.
Any body have an idea abotu this?
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
|
|
Yes.I saw it.
But my requirement is - whenever i try to open a NotePad window i want to add a tool which is created by me to that notepad window.
Is that possible??
Please help me.
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
i'm planning to do a software that will map English with tamil scripts and i need to do it in VC++. can someone gimme idea how i can start it?
Sheryl Varma
|
|
|
|
|
I am working with dialog based application.In that i have added active-x control,now by using that function i am able to connect to server ,my question is:
1: When i connect to server it will give me a
sessionID and i want to display it in my dialog box.And also the mesage connected not connected is that possible?how?
2: I want to make use of that session id for further
processing And for that i have declared a global
variable .But when I try to use other function
it has come a error message.
"Invalid Session message"
global variable:
char sessionid;
USING IT FOR STORING session recive from server
sessionid==m_arielapi.Login("wwtest2","RD9234","wwtest2");
CALLING IN OTHER FUNCTION
void CWartzDlg::OnBLogout()
{
// TODO: Add your control notification handler code here
m_arielapi.Logout("sessionid");
}
Any suggestiom will b helpful
-- modified at 23:57 Thursday 27th July, 2006
|
|
|
|
|
priyanka s wrote: display it in my dialog box
HDC myDC=::GetDC (m_hWnd);
::TextOut (myDC,10,10,"Anshuman",8);
::ReleaseDC (m_hWnd,myDC);
priyanka s wrote: char sessionid;
SessionID. A number produced by a complex algorithm, the SessionID uniquely identifies each user's session and you are saving the session in a char.May be this would be the problem.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanks for your reply can u help me more pls tell me other then char in which vriabe type should i store it
LITTLE EXPLANATION
HDC myDC=::GetDC (m_hWnd);
::TextOut (myDC,10,10,"Anshuman",8);
::ReleaseDC (m_hWnd,myDC);
|
|
|
|