|
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
|
|
|
|
|
Hiya everyone,
Quick question: Is there any way to add a scheduled task (using windows api) without using COM? I want to make my application start on user logon and UAC on Vista stops me from adding the appropriate registry value. I've done a few quick searches, but google has yet to yield anything.
Thanks. 
|
|
|
|
|
The Windows Task Scheduler is exposed to applications only via COM interfaces.
To add to the run registry keys, you have to be an administrator.
But I'm not sure if you need admin previleges to create a shortcut in the StartUp folder.
The statup folder is at C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup .
|
|
|
|
|
Thanks for the reply, but...I don't see to have a C:\Users folder. I've never seen that folder either.
Is there any other way to make an app run on startup without having admin privileges?
|
|
|
|
|
Go to Start -> Programs -> StartUp , right click on it and select Explore .
You will now be able to see the path for the StartUp folder.
You can use the SHGetSpecialFolderLocation[^] API and give the nFolder parameter as CSIDL_STARTUP.
|
|
|
|
|
Okay, I've just realized I don't know how to make a shortcut. Any hints?
Edit: Is there any particular reason why I should use SHGetSpecialFolderLocation instead of SHGetSpecialFolderPath ?
modified on Thursday, November 5, 2009 10:44 PM
|
|
|
|
|
|
And unless I'm very much mistaken, we're back to using COM again.
No problem, thanks for your advice. 
|
|
|
|
|
COM is like alcohol. Good for anything.
|
|
|
|