|
While filling you can use clipping functions like SelectClipRgn etc.
and then u try painting with any gdi functions like (fillrgn etc)
If u can Dream... U can do it
|
|
|
|
|
Drawing the larger circle first and then the smaller one on top of it with background Color is not what your tutor wants you to do, I guess?
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal. George Orwell, "Keep the Aspidistra Flying", Opening words
|
|
|
|
|
Hi,
I develop many direct show filters . I want to develope a filter
that takes many input (video , text , image ) and mix them .
Trioum
|
|
|
|
|
which is the video format ur using ? , and what will be the output pin format of ur filter ? i guess you may have many input pins and 1 output pin .
If u can Dream... U can do it
|
|
|
|
|
yes
I am using many inputpins one output pin . i take input from
many live capture devices . bitmap text any one
Trioum
|
|
|
|
|
U havn;t told me the videformat.. anyway suppose ur input pin gets imag data (bmp), i think u can use GDI functions like bitblt for adding image or text to ur source image. then copy this bmp data to ur output imediasample . it might work
If u can Dream... U can do it
|
|
|
|
|
hi,
these are simple things that I have done . now I have two input pins
and both getting data from live capture source then tell me how to
overlay one over another.
Trioum
|
|
|
|
|
You've stated you've made many filters and these are simple things.
So what are you having trouble with exactly?
If you have two video streams and you want to overlay one on the other, then take each
frame from one stream and draw a frame from the other stream on top of it.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Actually I just know how to overlay text on video stream.
but i want to develop the filter that has two input pin and get video
data from capture devices and overlay one over other . I dont know
how to develop two input pin filter and mix there video . can you help me
please with some starter source code
Trioum
|
|
|
|
|
Hi all,
I have an apllication in VC++6.0. now i am trying to compile it in VC++ 2005 so some errors are coming. the errors are:-
Error 1 fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409 CVTRES
Error 2 fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt SplashMoney Desktop
pls help me regarding these errors.
bye
Yudhisthira
|
|
|
|
|
Visual studio 2005 generates a manifest file automatically. But in 2003 and vc 6.0 we will create it separately and include it in the resource file. So you will have to delete the RT_MANIFEST from the resource file. This will solve your problem.
""
|
|
|
|
|
After you remove the manifest from the resources, you can add the extra manifest entries you need to
the project settings.
See Project properties/Linker/Manifest File
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
How can we create an XML document through a Visual C++ program. How can we modify, and delete some entry in the document?
Gyan Prakash Joshi
|
|
|
|
|
Have a look at TinyXML[^], it is a nice little XML parser.
|
|
|
|
|
Hi,
Go to site www.perfectxml.com.It contains a good code to write xml.You have to use msxml and the
IXMLDOMNode objects.Initially you may face problem owing to different versions of msxml available.
A few days back i created the code for creating,reading and writing xml file.First try on you own,if still you are not able to i am ready to help but with hints above you can start.
Regards,
Mayank
|
|
|
|
|
Hi,
How can i set the filter in CFileDialog constructor so that it should show only single file no file other than that, for example i want to check for Install.ini.
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
"English is my second language; please excuse any grammatical or spelling mistakes"
|
|
|
|
|
just a guess... i you want the user to see only Install.ini, what do you use a CFileDialog ?
BTW, have you read the MSDN to see the filter construction syntax ?
|
|
|
|
|
If you just want to check for file existence, see GetFileAttributes() function.
|
|
|
|
|
I want to Implement a video cutter .
That cut out some part of vedio on the basis of Start & End time of Cutting clip is given by user.
Help me out
Rohit
|
|
|
|
|
What is the format of your video ?
If u can Dream... U can do it
|
|
|
|
|
I have .MPEG frmat video.
And i want to Chop(Cut) it on tnme Base (Start & end time is Given by user to cut video).
Please help out if u have any detail/source code.
Rohit
|
|
|
|
|
I think you can do it with direct show. In that you will get the samples with time .. So u can check with ur argument and save..
But it is not as simple as me just said. , Anyway i think the right path is to go with direct show, and buling filter graph. I will check this on free time.. and let you know.
If u can Dream... U can do it
|
|
|
|
|
Hi all,
I need to play with image magick on dialog based application of vc++(MFC) and i have installed the image magic(dynamic dll of binary version).
when i use the below code snippet,got runtime error.....
Code:
#include Magick++.h<br />
#include iostream<br />
using namespace std;<br />
using namespace Magick;<br />
<br />
{<br />
Image img;<br />
img.read("c:\\logo.jpg");<br />
}
Error is:
Unhandled exception at 0x000c256.. in sample.exe:0xC000075:
Access voilation writing location 0xcde....
Anybody know the solution to this,please let me know as soon as possible....
Thankx in advance...
-- modified at 2:17 Thursday 9th August, 2007
|
|
|
|
|
Hi,
If you want to use the functions contained in your DLL, you've to load this DLL in the memory space of your process. To do that you need to call the Win32 API function LoadLibrary (see MSDN) . After that you can obtain pointers to the desired function and you would be abele to call it.
|
|
|
|
|
"Failed to create empty document" In what circumstances this error will come? How to solve it?
|
|
|
|