|
How Can Create a Project multimedia(video & Sound) Conclave To 3 Computer
pc1=server
pc2=station 1
pc3=station 2
pc1 = administrator all computer(pc2,pc3) and veiw both pc and control
pc2 = can see computer pc3 to okey pc3
pc3 = pc2
|
|
|
|
|
If you break the problem down, you have the following needs:
1) Audio capture
2) Audio compression
3) Video capture
4) Video compression
5) Transmission of data
6) Audio decompression
7) Audio rendering
8) Video decompression
9) Video rendering
Which part is giving you trouble?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
with sorry ; All of them?
|
|
|
|
|
|
hello to all,
In my project i am uploading some files on the server.I have created one modeless dialog box with some text on it.When i select the files and click on the "Upload" button which i have created then uploading process gets started and that modeless dialog box gets displayed.when uploading process is completed that modeless dialog box automatically gets destroied, but now the problem i am facing is that when i click on the "Upload" button for the first time then the modeless dialog box gets displayed and uploading gets started but if after completion of uploading i again clicked on button "Upload" then that modeless dialog box does not gets displayed but uploading process gets started, what to do? can anybody help me plz?
i have created modeless dialog box in constructor as follows-
CDialog->Create(ID of dialog box,this);
display of dialog box is-
(pointer of class of that modeless dialog box)->ShowWindow(SW_SHOWNORMAL);
destroying of dialog box is-
(pointer of class of that modeless dialog box)->DestroyWindow();
plz help me
Thanks and Regards,
Anay
|
|
|
|
|
Why do you destroy the dialog, can't you just hide it?
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.
[my articles]
|
|
|
|
|
In addition to cpallini's reply...
AnayKulkarni wrote: when uploading process is completed that modeless dialog box automatically gets destroied
If the dialog is destroyed, then it needs to be created again.
If you leave the dialog created you could just hide it and show it again
when it's needed.
Either way you need to manage the lifetime of both the CDialog object
and the HWND object it contains.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I've the follow problem: how I can program the execution of a method when updated input for the method are avaible?
In other word the mine is a problem of synchronization,I need of a listener (or similar) that is asking for new data coming from two different method and only when the data are avaible It's lounched the method that computes them.
I'm programming in VC++ 6.0 and I don't know how I can do it. Can anyone help me?
Thanks.
Dany.
|
|
|
|
|
It looks like a multithreading issue but you give few details.
How do you retrieve your data? Where do data come from (are you using sockets, serial port,...)?
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.
[my articles]
|
|
|
|
|
Sorry I'll try to be more clear.
I've two camera;
for each camera there is an object (listener1, listener2 ) of a Listener class;
Every time a new frame is grabbed from two camera I invoke a method of listener class to do image processing on the frame.
With the image processing I obtain a pixel value1 from camera1 and a pixel value2 from camera2.
Only when a new value1 and a new value2 are avaible I want combine the two values in a new method.
So I need to a listener (or similar, I don't know) that is waiting for new value1 and new value2 and when they are avaible it causes the execution of a method in which value1 and value2 are combined.
I hope I've been clear now.
Thank you very much!
Dany.
|
|
|
|
|
DanyCode wrote: Listener class
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.
[my articles]
|
|
|
|
|
When I saw your reply I remmber 3dMax,can you more explain,please?
|
|
|
|
|
Walk through the process.
You have two cameras.
You want to capture an image.
An image is the merger of the picture from each camera.
For this to work when one camera takes a picture, the other must take a
picture at the same time or be told to do so. A picture is taken when
each camera has transmitted the picture to the application.
So you need to be able to tell:
1. that a camera has taken a picture.
2. a camera to take a picture now.
3. detect when a camera
a. has transmitted the picture to the application
b. has a picture ready transmit.
Combining the pictures is the last step.
If, on the other hand, the cameras are taking pictures automatically,
then you have a synchronization issue. That is far more detailed than
the question you have posed.
|
|
|
|
|
I have created a ClistCtrl variable and added 4 columns to that list.
Now I want to add Item to that list, I tried using InsertItem() member function, but it either doesn't work or gives an excemption.
Please help me, i have alos tried using MSDN, but its all gone in vain !
|
|
|
|
|
A simple line like the following
myListCtrl.InsertItem(0,_T("foo"));
Should do the magic. See also this documentation page for a complete example http://msdn2.microsoft.com/en-us/library/8b9s12fc(VS.80).aspx[^].
What was your code and what was the exception occurred?
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.
[my articles]
|
|
|
|
|
I tried ur statement, but don't work.
the list i created have 4 columns, i created them as follows,
<br />
m_users.InsertColumn(1,"a",LVCFMT_CENTER,150,0);<br />
m_users.InsertColumn(2,"b",LVCFMT_CENTER,50,0);<br />
m_users.InsertColumn(3,"c",LVCFMT_CENTER,150,0);<br />
m_users.InsertColumn(4,"d",LVCFMT_CENTER,150,0);<br />
the columns are created very well, but then i m trying to add data as
<br />
m_users.InsertItem(0,_T("foo"));<br />
but there is nothing to be seen in the list !
plz koi help karona !!!
modified on Saturday, January 12, 2008 9:21:40 AM
|
|
|
|
|
tina- wrote: m_users.InsertColumn(1,"a",LVCFMT_CENTER,150,0);
Why are you not starting with 0 ?
tina- wrote: m_users.InsertItem(0,_T("foo"));
What does this return?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
@ DavidCrow
<br />
m_users.InsertItem(0,_T("foo"));<br />
is returning 0
|
|
|
|
|
tina- wrote: m_users.InsertItem(0,_T("foo"));
is returning 0
Which indicates that the item is being added.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hey I found two good articles for you here[^] and here[^].
|
|
|
|
|
Maybe you need to post more code. The code you posted so far actually works on my system.
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.
[my articles]
|
|
|
|
|
Maybe you have the special compiler that it can understands!
|
|
|
|
|
Hamid. wrote: Maybe you have the special compiler that it can understands!
Shhhhhhhhhhhh!... Don't make they know.
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.
[my articles]
|
|
|
|
|
wat was that ????
|
|
|
|
|
Don't worry about. Just kidding with my old friend Hamid.
BTW try to start insertion from column 0 , as suggested by Jörgen Sigvardsson.
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.
[my articles]
|
|
|
|