pcssecure
asked on
Interprocess Communication.
Hi,
I have a delphi program that grabs video frames from a web cam. It obtains a TBitMap Object 15 times a second.
I need to write another MFC program running in parallel that displays this TBitmap.
How can the MFC program get the TBitmap from the Delphi program? What is the best way to do this? Is is possible to do this without copying the TBitmap to some shared memory?
Thanks.
I have a delphi program that grabs video frames from a web cam. It obtains a TBitMap Object 15 times a second.
I need to write another MFC program running in parallel that displays this TBitmap.
How can the MFC program get the TBitmap from the Delphi program? What is the best way to do this? Is is possible to do this without copying the TBitmap to some shared memory?
Thanks.
ASKER
Can you provide some sample source codes?
Thanks.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If it is okay with you, can you send it to audio74@yahoo.com.
Also, do you have sample source code for the memory mapped files?
Also, do you have sample source code for the memory mapped files?
Posted. Remove unnecessary features and see how it works.
To see full dialog click in the title bar icon and select "Swow/Hide controls".
Memory mapped files sample:
http://www.codeproject.com/threads/ipc_tute.asp
To see full dialog click in the title bar icon and select "Swow/Hide controls".
Memory mapped files sample:
http://www.codeproject.com/threads/ipc_tute.asp
ASKER
Thanks a lot.
Why do you need to work with Webcam using Delphi program? It's only few lines of code to do this in MFC. MFC doesn't have special support for this, but Video Capture functions are very high-level and easy to use.