|
Is there a utility program that can be used to compare the software installed on two separate computers?
I need to know if there are some missing or extra EXE and DLL files between two separate computers. It should NOT be crucial that these files share exactly the same file paths between the two systems. It would be ideal if this test could be filtered to include the EXE that are currently running and the DLL that each one has loaded.
We are experiencing wildly different test result on our software between two systems that are outwardly 'identical'.
Please reply to this post if you are aware of such a utility program, else I will have to go write it myself.
Thanks.
|
|
|
|
|
You are talking about an installer's job. InstallShield, Windows MSI, ... figure exactly these things out when they copy dlls and exes into the target machine.
|
|
|
|
|
Right...
And now we have two ostensibly identical machines, each with the ostensibly identically installed application running.
One leaks memory and the other does not !
So, what gives ?
Hence my need for a 'system comparison' utility.
C++/MFC/InstallShield since 1993
|
|
|
|
|
List loaded modules :
HANDLE hSnapShot=CreateToolhelp32Snapshot(TH32CS_SNAPMODULE,procID);
MODULEENTRY32 * modInfo=new MODULEENTRY32;
modInfo->dwSize=sizeof(MODULEENTRY32);
unsigned long index=0;
while(Module32Next(hSnapShot,modInfo)!=FALSE)
{
//process the modinfo here
}
CloseHandle(hSnapShot);
delete modInfo;
}
list loaded tasks :
HANDLE hSnapShot=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0);
PROCESSENTRY32* processInfo=new PROCESSENTRY32;
processInfo->dwSize=sizeof(PROCESSENTRY32);
unsigned long index=0;
while(Process32Next(hSnapShot,processInfo)!=FALSE)
{
//process processinfo here
}
CloseHandle(hSnapShot);
delete processInfo;
///////////////////////
you should have got the picture !
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
All running modules were 'identical' as far as what was actually executing by name. Somewhere, a registry entry or DLL was not the same version, or some other small inconsistency was the result of the problem. It was not a 'high level' difference we could readily detect with any available tools.
|
|
|
|
|
i am developing a programm which deal with telnet session. now what i get is that a complete telnet session. so i can record it into file. but a question i has is that IP pack have some other character which i can not know. now how to do?
if you have some idea, you can email to jacky_chen@souying.net
thank you for reading this message!!!
|
|
|
|
|
Hallo!
if i could get some reference or views on ,how to use FTP in block mode, i'll appreciate it!
Zaki
|
|
|
|
|
Hallo!
I will like to have some help about using the FTP in Block Mode to transfer the files! i have done it through the Stream mode but i dont know how to use this Block Mode . i'll like a detailed reply PLz!! any reference metarial will be appreciated!!
Thanx!!
Zaki
|
|
|
|
|
If by block you mean datagram (UDP) , FTP does not work on datagrams . It works on streams (TCP) ! Datagrams are unreliable for file transfers ! Why do you want to use them ! Maybe i can help you !?!?
be cool !
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
Hi all..
I need a tutorial about creating s screen saver using MFC or API..
Can any one help me finding it?
|
|
|
|
|
|
I have a developer background, but in a new job, I fell into the role of security expert for Microsoft's SQL Server (v7 & 2000) and IIS (v4 & 5). I am contracted to a US Dept. of Defense agency. When they were doing a big security push, they didn't have any IIS or SQL Server "experts/gurus." I'm no self-proclaimed expert, but because I was familiar with both thanks to my MCDBA cert, I was tasks with locking them down. In the last few months, I've learned quite a bit about security on these to systems. The military bases their security off the specifications created by a group of software companies & govt agencies such as Microsoft, Sun, IBM, HP, CIA, and the NSA. There's a gold & platinum standard. These standards are used by many of the people in the private sector... the military uses the platinum standard.
What is thethe point of this posting? I was thinking about writing a few articles based on this security. Would this be something of interest to others?
-AC
|
|
|
|
|
Andrew Connell wrote:
Would this be something of interest to others?
Hell yes!
We can either just carry on moaning about IIS security or we can learn how to lock it down as is needed.
A systematic article on locking down IIS and SQL would be very useful, especially if it comes from real world experience and not just theoretical pondering
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
Right now, I'm playing with some undocumented Outlook Express interfaces. Based on this, I am planning to write a COM SDK/library on Outlook Express that would have the following features-
allow enumeration of folders,
creation/deletion/copying/renaming of folders,
getting folder locations and properties,
traversing folder hierarchy,
accesing message stores,
accessing message properties,
getting message contents,
accessing addressbook entries,
common mail-related notifications,
will be COM based and component will include support for scripting clients,
and will probably work with all majoe OE versions( OE4+ to OE6).
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
Sounds cool, Amit.
Isn't this similar to CDO though?
Cheers,
Simon
"VB.NET ... the STD of choice", me, internal company memo
|
|
|
|
|
Not really. CDO is more for MS Outlook. The cool thing about this is I'm using undocumented some COM API. I have tried out my code and it seems to work for OE 5.0,OE5.5 and 6.0 with some modifications.
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
Sounds cool. You should include a way to send a complete message or just open a message with some of the fields already filled out (i.e. Subject, TO, etc).
If you have a problem with my spelling, just remember that's not my fault. I [as well as everyone
else who learned to spell after 1976] blame it on
Robert A. Kolpek for U.S. Patent 4,136,395.
|
|
|
|
|
I haven't gotten to writing a complete new message but OE message and folder enumeration and extraction seems to work great. Eventually it will support message creation at a very low level and dynamic message manipulation(like adding signatures to all mails).
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
Sure I'm interested. I also found something to make plug-ins for OE... I wonder if we have the same source though...
Would we be able to catch some events?
Let me know!
Luc
---------------
Tired of Spam? Introducing InboxShield® for Microsoft® Outlook®
http://www.edovia.com
|
|
|
|
|
Plugins for OE? like toolbars,bands,menuitems etc? now that's interesting. The thing with me is that all my code is totally non-visual and will have no support for any user interface items(with OE I guess we still need to hack with hooks,FindWindow() or something). I'm trying so that all of the messageboxes(like make OE default client) are also suppressed and this seems to work well.
So maybe if we could put the user interface elements together with my COM object for all folder and store info for something new that also offers toolbars and menubars.
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
I haven't got time to read and understand the code I found but all I know is that it's a big hack and that it does not work very well.
I'm interested in making my product available for OE but I don't count on it to be as performant as in Outlook...
I'll let you know when I find my source back ( I lost it!!! )
Luc
---------------
Tired of Spam? Introducing InboxShield® for Microsoft® Outlook®
http://www.edovia.com
|
|
|
|
|
Hi Luc,
Naw! I'm not doing any major hacking. Just using a few undocumented MS interfaces regarding Outlook Express.
If you think the effort will be worthwhile, maybe we can talk more about the tech side of things?
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
Wonderful! Keep working!!!
-BHKien
|
|
|
|
|
An article about that messy bug with the .NET Form designer, deleting either code or even controls from the code without notice.
From my experiments, it's due to a tiny namespace resolution bug. This makes the form designer believe a given control or methods are not used anymore.
A nice tutorial to avoid this bug would be welcome.
And of course, if Everett does not fix this bug, would be welcome twice!
How low can you go ? (MS rant)
|
|
|
|
|
I think Microsoft fixed this bug. You can get the patch from the URL below.
http://msdn.microsoft.com/vstudio/downloads/updates/datalossifx.asp
|
|
|
|