|
I do understand that some crashes will take you right into the disassembly and won't show any code that you've written. But to confirm that this is such a case, what exactly does the callstack show when the crash occurs?!
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
call stack show this
oleaut32.dll!7714c3c2()
[Frames below may be incorrect and/or missing, no symbols loaded for oleaut32.dll]
oleaut32.dll!7714c46c()
|
|
|
|
|
Hi everybody, i put a group box which id is IDC_GB in a dialog. i add a message function to it and
change it's styles notify to true. but it doesn't respond when i click it use mouse.
who can tell me how to do?
|
|
|
|
|
Just a guess here but try handling the NM_CLICK notification message instead of BN_CLICKED, aside of that, try using spy++ to see what the parent of the groupbox receives when you click the box.
p.s: i hate groupboxes.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
Hi all,
Im working on a program , its fuction is that it should open a tiff file in Paint and save it as jpg file. What are the Windows API fnctions used to open,save and close a image file.
Thanks,
modified on Friday, November 6, 2009 2:31 AM
|
|
|
|
|
Karthika85 wrote: it should open a tiff file in Paint and save it as jpg file.
Karthika85 wrote: What are the Windows API fnctions used to open,save and close a image file.
If you need to open Paint for the purpose, why are you asking for image related Windows API ?
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Ok. then what are the functions used to open and save the image
Thanks
|
|
|
|
|
Why cant to Google it.
I found a lot on googling just see below [^]
Величие не Бога может быть недооценена.
|
|
|
|
|
After loading a bitmap,how to save it as jpg file?
|
|
|
|
|
Just refer this article in codeproject CxImage[^]
Величие не Бога может быть недооценена.
|
|
|
|
|
If you're using MFC (or ATL ), the an option is using the CImage [^] 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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
I added CIMage class in my code and its header file.But it is showing following error.
Cannot open include file: 'atlimage.h': No such file or directory
|
|
|
|
|
Which VS version you are using?
Величие не Бога может быть недооценена.
|
|
|
|
|
|
Sorry
it wont support CImage.
Else you can use OleCreatePictureIndirect or OleLoadPictureEx APIs.
But i prefer to use GDI+ directly since CImage is just a wrapper to GDI+.
Just see the help [^]
Величие не Бога может быть недооценена.
modified on Friday, November 6, 2009 4:59 AM
|
|
|
|
|
CPallini wrote: ...an option is using the CImage [^] class.
Does that work with TIFF images?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
DavidCrow wrote: Does that work with TIFF images?
Good question, in fact it may work [^].
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Karthika85 wrote: its fuction is that it should open a tiff file in Paint
Do you really need to open Paint ? Why do you want to do that ?
|
|
|
|
|
I am having a GIF file. i neef to convert it to PDF. I am having a PDFConverter tool which will convert only tiff files to PDF. I need to convert this GIF to TIFF. So i need some API functions to chane the image format.
|
|
|
|
|
choose CxImage library ..which is available from codeproject.com ..which is having lots of functionality is there ..i hope your problem is solved ..... 
|
|
|
|
|
Ok but what does Paint have to do here ?
Why do you want to open Paint to do that ?
|
|
|
|
|
hi every body ....
i have some problem in my project...
i.e convertion of word(or)excel to pdf ?
this project is developed in vc++6.0
please help me.......
thanks in advance....
modified on Friday, November 6, 2009 11:02 PM
|
|
|
|
|
Could you not try this[^]?
|
|
|
|
|
eswar pothula wrote: i.e convertion of word(or)excel to tiff ?
Yet the subject indicates you want to convert to PDF.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
class A
{
public:
int a;
A() : a(20)
{
}
void sum()
{
cout<<"hi"<<endl;
}
};
main()
{
="" a="" *ptr="new" a();
="" delete="" ptr;
="" ptr-="">a = 20;
}
I want this appication to crash , but dont know y this is not crashing after delete shouldnt the memory be cleaned and ptr becomes a dangling pointer!!!!
Please kindly tell me y this is not crashing
Regards
Hari
|
|
|
|