|
Give it a try; I can't think of any problems off the top of my head, but if you run into any just ask here & we'll get them resolved.
Shog9
------
And on the pedestal, these words appear:
"My name is Ozymandias, King of Kings,
Look on my Works, ye Mighty, and despair!"
Nothing beside remains.
|
|
|
|
|
if the software appears in add/remove program then i can go to registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
and look for uninstallString key.
but what is the rest of procedure to uninstall a software programatically?
r00d0034@yahoo.com
|
|
|
|
|
The Sub keys of the key you mention contain a REG_SZ:Uninstallstring. You just need to run that.
Signature space for rent. Apply by email to....
|
|
|
|
|
you are right but question here is that how to run it
let suppose i am sitting in front of a vc++ editor than what i have to write for a perticuler software for Uninstallstring it.
plz help by writing some code example?
if u could provide some helping link which have that type of work.
i will be very thankfull to u.
r00d0034@yahoo.com
|
|
|
|
|
Are you trying to write an uninstaller for your own program, or write a program which can uninstall other programs?
Signature space for rent. Apply by email to....
|
|
|
|
|
yes i am 100% sure
plz rely detail
r00d0034@yahoo.com
|
|
|
|
|
the database is of .mdb(Access 2000 version) format, and
i'm using DAO to access it. CLongBinary object is only created
when an image file needs to be inserted to the database or
to be retrieved from database, and it is NOT a data member
of CDaoRecordSet( i don't have a derived class from that, instead
i'm using CDaoRecordSet directly). how can I bind the CLongBinary
object with that field without a redefined DoFieldExchange()
( since i didn't derive a new class)?
Thanks a lot!
|
|
|
|
|
Given the premise that DevStudio is a good c/c++ debugger... (stop laughing)
I want use the framework and "plumb in" a different compiler, instruction set simulator/emulator, execution unit to make an embedded debugger.
I've used a DevStudio variant for Windows CE development for PowerPC - so I know it "can" be done... but does anyone know "HOW" it can be done and if the extents are documented?
Thanks ! ! !
johnk.
|
|
|
|
|
Do a search on "devstudio add-ins" on msdn -- they (along with codeproject) have a ton of samples of stuff like 'auto-builds', remote-builds, etc.
"If at any time I announce that a nation or kingdom is to be uprooted, torn down and destroyed, and if that nation I warned repents of its evil, then I will relent and not inflict on it the disaster I had planned. And if at another time I announce that a nation or kingdom is to be built up and planted, and if it does evil in my sight and does not obey me, then I will reconsider the good I had intended to do for it." -- Jeremiah 18:7-10 (God, commenting on the value of the United Nations)
|
|
|
|
|
i hava a window hwnd
i want to get
how many sub window are open ?
want to get its active subwindow hwnd?
how to get these info..?
r00d0034@yahoo.com
|
|
|
|
|
take a look at EnableChildWindows
-c
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
-- Terry Pratchett,
|
|
|
|
|
Sorry if this has already been asked before...
Ya know, I'm considering reinstalling vc6.
I thought vc7 (.net) enterprise with it's full optimization biz would
make smaller .exes than vc6 (pro).
But nooooooooooo....
I'd say my .exes recompiled with vc7 come out 30% bigger on average.
It's like 77K -> 90K and 11K -> 20K n such...
(small win32 API no MFC dialog apps, console apps, etc.)
I've looked for all the tweaks I can.
(optimizing for size, full global opt, etc, etc.)
I used to use that killer AggressiveOptimize.h thingy.
But that makes no diff on vc7 (.net)...
I mean, it's not the end of the world, but it tweaks me...:/
below is the gory xml crap in the .vcproj file that specs
the compiling/linking... (sorry )
Any help would be MUCHO appreciated...
...Steve
<configuration
name="ReleaseX|Win32"
="" outputdirectory="ReleaseX" intermediatedirectory="ReleaseX" configurationtype="1" characterset="2" deleteextensionsonclean="*.aps;*.ncb;*.obj;*.ilk;*.pdb;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.bat;$(TargetPath)" wholeprogramoptimization="TRUE">
<tool
name="VCCLCompilerTool"
="" optimization="1" globaloptimizations="TRUE" inlinefunctionexpansion="1" enableintrinsicfunctions="TRUE" favorsizeorspeed="2" omitframepointers="TRUE" optimizeforwindowsapplication="TRUE" preprocessordefinitions="WIN32;NDEBUG;_WINDOWS" stringpooling="TRUE" runtimelibrary="4" buffersecuritycheck="FALSE" enablefunctionlevellinking="TRUE" useprecompiledheader="0" warninglevel="3" detect64bitportabilityproblems="FALSE" debuginformationformat="0">
<tool
name="VCCustomBuildTool">
<tool
name="VCLinkerTool"
="" additionaloptions="msvcrt.lib
" showprogress="0" outputfile="Ditty.exe" linkincremental="1" suppressstartupbanner="TRUE" ignorealldefaultlibraries="FALSE" ignoredefaultlibrarynames="libc.lib" generatedebuginformation="FALSE" subsystem="2" optimizereferences="2" enablecomdatfolding="2" targetmachine="1">
<tool
name="VCMIDLTool">
<tool
name="VCPostBuildEventTool">
<tool
name="VCPreBuildEventTool">
<tool
name="VCPreLinkEventTool">
<tool
name="VCResourceCompilerTool"
="" showprogress="FALSE">
<tool
name="VCWebServiceProxyGeneratorTool">
<tool
name="VCWebDeploymentTool">
|
|
|
|
|
Steve Hazel wrote:
I'd say my .exes recompiled with vc7 come out 30% bigger on average.
be thankful... if you're writing static libs, they can grow up to 300% bigger. i talked with MS about this and in my case (no MFC, just C++ with STL), they said it's related to "locale" changes in the STL and C++ Standard Library. sucks.
-c
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
-- Terry Pratchett,
|
|
|
|
|
Chris Losinger wrote:
it's related to "locale" changes in the STL and C++ Standard Library
Oh man. A bloated standard library, eh...
I only use sprintf... And the dorky ole strcpy, etc...
I should bite the bullet and just write my own std c library...
Sighhhh...
|
|
|
|
|
Out of interest, why do you use C style strings ?
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Well, primarily because I'm lazy.
Also, for a slightly smaller .exe size
I know it'll run slower and all that, but I'm just wierd that way.
When I was a kid I fit a text editor into 4K in 6502 asm on
my ole c64. If an app is just for me, it just irks me to use
TWO whole bytes for one character...
...Steve
|
|
|
|
|
My apps tend to come out smaller under vc7, though it's usually within 10%. I have no explanation.
|
|
|
|
|
Well, it appears you're using incremental linking. This will increase file size by roughly 20% in most cases.
Check your linker settings, Also make sure "Optimize for Windows 98" is turned off. This will also increase the size of your executables.
--
Where are we going? And why am I in this handbasket?
|
|
|
|
|
Erik Funkenbusch wrote:
Check your linker settings
Yep.
It was those fricken linker settings.
I thought I had em tweaked right, but in my defense,
there are ONLY about 10 kaJILLION of em...:/
Now my .exe sizes are even a couple bytes lower than
they were with vc6
THANKS soooo much
...Steve
|
|
|
|
|
Hello!
Is there any possybility or chance to transfer a MFC-Program into SUSE Linux?
Or exist tools? Thank you for help.
|
|
|
|
|
No. There are a number of portable windowing toolkits (wmWindows springs to mind), but I don't believe MFC has been ported to Linux. It would be a big job, how would you go about making sure you leaked as much memory as MFC does ?
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Christian Graus wrote:
how would you go about making sure you leaked as much memory as MFC does ?
perhaps i should write it. I'm getting pretty good at leaking memory.
Signature space for rent. Apply by email to....
|
|
|
|
|
check if it works with Wine
www.winehq.org
some guys managed to get Microsoft word, excell, powerpoint,
outlook, explorer, access, visio etc running in Linux
http://www.codeweavers.com/products/office/supported_applications.php
http://www.wxwindows.org/
http://www-106.ibm.com/developerworks/library/l-mfc/?n-l-4182
screenshot looks outdated, newer kde apps look quite nicer http://www.linuxorbit.com/modules/My_eGallery/gallery/screenshots/snapshot3.png
http://www.bristol.com/windu/
if your apps were written in Delphi or C++ Builder
you'd use their Linux version - Kylix
http://www.borland.com/kylix/
|
|
|
|
|
How do you capture a VK_CONTROL + 'A' (for example the select all key strokes) with out using the Accelerator??
|
|
|
|
|
I would capture the 'A' or 'a' key, then use GetAsyncKeyState to find out if Control is down. Be careful - the high bit tells you if it is down now or not, the rest tells you if it's been down since the last time you called it. So you need to either make sure you check the right thing, or call it twice to be sure.
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|