Can I write a shell extension which can process my own shell format?
For example: I have an application which has own data format, and when
drag from this applicaion and drop on explorer, the extension can process this data format.
It's like when you drag some texts and drop on explorer, which generate some special file.
Of course, I want generate my own files.
Anyone can help me?
Look up CreateWindow() in the MSDN, a button is just another window. Setting the dwStyle parameter to BUTTON should produce a button. You will need to do a little studying to figure out how to handle the result of pressing the new button, it easier to figure out in C than when using MFC.
Lets assume I have two different graphic effects: a particle system (stars coming out of teh center of the screen) and a simple rotating cube. Both consist of textures which have a z-value when blitted / written into the render-pipeline. I want the particle-stars (although their z-value gets lower if they come nearer) to be always behind the cube. It could be possible thet one of the particles suddenly pops out of the cube, thats not wanted.
Someone told me that I should erase the zbuffer before drawing the next layer. Is that possible in DirectX8 and can solve my problem?
Can anyone suggest me some good books in implementing code for image/video frames processing in c++. I would like to learn programming some image processing techniques and to create programs where I can apply transforms, shifts and find some characteristics from the video frames of images in visual c++. It would be great if anyone can suggest me with good books or tutorials with loads of image/video frame grabbing/processing programming discussed extensively.
thanks for ur reply.
Ok here u go. I am thinking of learning pattern recognition and extraction of charateristics. so, i thought it would be better to start off with some good image processing coding books in c++. for example, I would like to find the blood velocity from a video file of retina from a patient, in which I can see the blood vessels flowing. From all the frames my goal is to find out the velocity of blood. Hope u understand the track in which i am thinking of .
Are you looking for an book with c++ algorithims for image processing? If so I am not really familiar with any that deal with estimating speed of movement[in your case do you have to worry about depth?] but there are many that deal with subject but not as an 'algorthim book for c++'
Are you looking for an book with c++ algorithims for image processing?
yes, but not just algorithms. I would like to see the coding part too on how to enhance the processing time and computation speeds. [in your case do you have to worry about depth?]
Nope. To say we will be having a movie from which we have to find the velocity 'algorthim book for c++'
I need some sort of this type but for image processing/handling.
I always wonder how people write codes for media players etc in C/C++ with all sorts of functions like capturing frames saving as images etc.
Notice the difference between deleting an element's object and removing the element itself. Removing an element from the list merely removes the list's reference to the object. The object still exists in memory. When you delete an object, it ceases to exist and its memory is reclaimed. Thus, it is important to remove an element immediately after the element's object has been deleted so that the list won't try to access objects that no longer exist.
Objects are usualy responsible for freeing the memory they use. If your CArray is storing objects, then they will free the memory when they are removed. But if the CArray is only storing pointers to objects, then you are responsible for freeing the memory [associated with each object]. The reason for this is that the array object does not actualy know whether it is storing an object or a pointer to an object.