|
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?
|
|
|
|
|
Could you please post some code, so it's easier to find the error by seeing what you have done
|
|
|
|
|
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
if (cmdInfo.m_bRunEmbedded || cmdInfo.m_bRunAutomated)
{
return TRUE;
}
m_server.UpdateRegistry(OAT_DISPATCH_OBJECT);
COleObjectFactory::UpdateRegistryAll();
if (!ProcessShellCommand(cmdInfo))
return FALSE;
The problem is when we run EXE with admin rights its working
If i open the exe without admin rights only i get this problem.
message comming from ProcessShellCommand().
|
|
|
|
|
Hi,
I have got a list box and set its propery "Horizontal Scroll" to true, but even i don't see the horizontal scrol bar, is there some thing more which i need to do for that.
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
"English is my second language; please excuse any grammatical or spelling mistakes"
|
|
|
|
|
Did you set Multicolumn on the listbox?
|
|
|
|
|
WhiteSky wrote: Did you set Multicolumn on the listbox?
Nopes I haven't.
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
"English is my second language; please excuse any grammatical or spelling mistakes"
|
|
|
|
|
From the MSDN:
"LBS_MULTICOLUMN
Specifies amulti columnn list box that is scrolled horizontally. The LB_SETCOLUMNWIDTH message sets the width of the columns".
|
|
|
|
|
IS ur items have enough width ? otherwise Increase you item width..(give some lengthy string in item)
If u can Dream... U can do it
|
|
|
|
|
|
Did you test this case without set Multicolumn ?
|
|
|
|
|
WhiteSky wrote: Did you test this case without set Multicolumn ?
Yes. I have only tried that without setting Multicolumn property to true.
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
"English is my second language; please excuse any grammatical or spelling mistakes"
|
|
|
|
|
Hey friends.....
How to fill the area Between two co-centric Circle/Arc.
we have co-ordinate of outer Arc/Circle and Inner Arc/Circle . how to colored this area with spwcific COLOR.
Thanks in advance...
|
|
|
|
|
Do you need to Graphics.FillEllipse or other functions of Graphics.Fill* .
|
|
|
|
|
You can use region. There are functions like Create CreateEllipticRgn , CreatePolygonRgn etc. After creatin region u can paint that using FillRgn.
In Gdiplus also there is class named Region.
If u can Dream... U can do it
|
|
|
|
|
Hey ..
thanks for replying..
But i am coding in MFC and some times i have only 0 to 90 degree arc(two arcs)
and i have to fill area between these two....
waiting for some tips..
|
|
|
|
|
You need to fill a shape that is a combination of the standard shapes, like ellipse, circle, etc. Am I right?
If so its better you use CRgn. You can create and combine different shapes to get what you needed. And after that you can use FillRgn function.
- NS -
|
|
|
|
|
Hi
In my VC++ (VC 8) programme, it was an Server - Client Programme.
In client programme first module was an Authetication ,in that when the client was entering , they must give User-id and Password.,here I want to disable all the Hot Key functions(eg : Alt+Tab, Alt+Ctl+Del…… all function keys).
And after entering I want to enable the key function.
Regards
shakumar
shakumar
|
|
|
|