|
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
|
|
|
|
|
A *ptr = new A();
delete ptr;
ptr = NULL;
ptr->a = 20;
Now it will crash!
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
|
To answer seriously, the memory has been marked available on the heap but it still exists and is not cleared. You still have a pointer to it although it's invalid. If that block of memory was allocated to something else later in the program, who knows what would happen but probably nothing good. If an invalid pointer is going to be in scope for a while, it's a good idea to null it out and get an immediate crash if you happen to use it again.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
Величие не Бога может быть недооценена.
|
|
|
|
|
|
dear all exe file compiled with c++ i am lose my source code how can i decompile and give me a tools name of decompile and my friend my query compressed from pkware software like my query this view how can i decompress my coding and how can decompile my source code,
Please help me any experts
Copyright 1989-1995 PKWARE Inc. All Rights Reserved
Patent No. 5,051,745
PKWARE Data Compression Library Reg. U.S. Pat. and Tm. Off
yyyyyyjjjjyyyyyyyyyy 77ujyyyyyyyyy99iuyyyyyyyyyyyyiiiyyyyyy
yyyyyyjjjjyyyyyyyyyy 77ujyyyyyyyyy99iuyyyyyyyyyyyyiiiyyyyyy
yyyyyyjjjjyyyyyyyyyy 77ujyyyyyyyyy99iuyyyyyyyyyyyyiiiyyyyyy
yyyyyyjjjjyyyyyyyyyy 77ujyyyyyyyyy99iuyyyyyyyyyyyyiiiyyyyyy
Regard's
Rizwan Admani
|
|
|
|
|
you asked the same question some 16 hours ago - what makes you think the answers are going to be any different this time ?
'g'
|
|
|
|
|
yes beacuse are you do not understand of my problem that is i am retyped my question every one is see my question and best awnser me thanks
Regard's
Rizwan Admani
|
|
|
|
|
RIZWAN ADMANI wrote: i am lose my source code
Yeah, right.
|
|
|
|
|
RIZWAN ADMANI wrote: i am lose my source code how can i decompile
If this really is your program then why did you compress it?
Same answer as yesterday, you cannot. The file has been compressed for a reason: to stop people from reverse engineering someone else's work.
|
|
|
|
|
As I wrote yesterday, even if you can decompress this (I don't see any probleam with it) you will NEVER recover the original source.
What you will get is optimized asembly code; and unless you are an expert at this, I would be surprised you could do anything useful with it.
This signature was proudly tested on animals.
|
|
|
|
|
As you mentioned, it is your source code so it is rather intelligent not to look for recovering it .Just make the project once again and it will take very less time for you to develop it again as you alredy have made it previously
Kushagra
|
|
|
|