BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dependency status

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment
View previous topic :: View next topic  
Author Message
Bernard Hulsman
Guest





PostPosted: Fri Jul 04, 2003 9:53 am    Post subject: dependency status Reply with quote



Hello,

I want to deploy a isapi.dll which runs fine on my developing machine
but not with my hosting organisation. This isapi.dll is build without
run time packages.

I tried to run my own isapi.dll on a clean machine, without Delphi
installed, and this did not run either.
I stripped my isapi.dll, by deleting components like TSQLConnection,
TSQLClientDataset and
TNMSMTP and the isapi did run on the clean machine. I have the runtime
packages of midas.dll and dbexpint.dll in my CGI-bin directory.

Now I can do all kind of manaul tests which additional files are needed
for each component.
But it would be much better if I could view a kind of dependency status.

Like componentname : list of dependence files (with version no).
In linux there is something like dependency.

Then deploying would be much easier and more reliable.
Does something like this exists?

Bernard Hulsman



Back to top
Ignacio Vazquez
Guest





PostPosted: Fri Jul 04, 2003 2:16 pm    Post subject: Re: dependency status Reply with quote



"Bernard Hulsman" <n1 (AT) BernardHulsman (DOT) nl> wrote

Quote:
Now I can do all kind of manaul tests which additional files are needed
for each component.
But it would be much better if I could view a kind of dependency status.

Look at Dependency Walker from the Platform SDK.

Cheers,
Ignacio



Back to top
Bernard Hulsman
Guest





PostPosted: Mon Jul 07, 2003 1:01 pm    Post subject: Re: dependency status Reply with quote



I downloaded Dependency Walker. It is indeed a valuable tool to use to see
some dependecies.
Thanks very much for this information Ignacio.
I tried to check my isapi dll named Testingisapi.dll and used OmniHTTPd as
host application.

On my development system the relevant part of the log is :
....
LoadLibraryA("c:webswww.huistekoop.nlcgi-bintestingisapi.dll") returned
0x015F0000.
GetProcAddress(0x015F0000 [TESTINGISAPI.DLL], "GetExtensionVersion") called
from "OHTTPD20.DLL" at address 0x10045DAE and returned 0x01621738.
GetProcAddress(0x015F0000 [TESTINGISAPI.DLL], "HttpExtensionProc") called from
"OHTTPD20.DLL" at address 0x10045DE1 and returned 0x01621778.
GetProcAddress(0x015F0000 [TESTINGISAPI.DLL], "TerminateExtension") called
from "OHTTPD20.DLL" at address 0x10045E14 and returned 0x01621808.
GetProcAddress(0x75030000 [WS2_32.DLL], "accept") called from "WS2_32.DLL" at
address 0x7503D60E and returned 0x7503C430.
....

So after TerminateExtention the next GetProcAddress (accept) is called. This
testingisapi.dll runs succesfull on my developing system.

On the clean machine the log file was when executing :

....
GetProcAddress(0x018D0000 [TESTINGISAPI.DLL], "GetExtensionVersion") called
from "OHTTPD20.DLL" at address 0x10045DAE and returned 0x01901738.
GetProcAddress(0x018D0000 [TESTINGISAPI.DLL], "HttpExtensionProc") called from
"OHTTPD20.DLL" at address 0x10045DE1 and returned 0x01901778.
GetProcAddress(0x018D0000 [TESTINGISAPI.DLL], "TerminateExtension") called
from "OHTTPD20.DLL" at address 0x10045E14 and returned 0x01901808.
HEAP[OHTTPD.EXE]: HEAP: Free Heap block 16d0040 modified at 16dc078 after it
was freed

So after TerminateExtention not the next GetProcAddress was called but there
should be a program error, modifing the heap after it was freed.
But if it was a programming error it should also be a programming error on my
developing system but is not.

I was expecting something like "can not load unknown.dll" on the clean machine
but now I am lost. I am using the lastest version of Dependecywalker version
2.1.3623.

Thanks for your help till now.

Bernard Hulsman


Ignacio Vazquez schreef:

Quote:
"Bernard Hulsman" <n1 (AT) BernardHulsman (DOT) nl> wrote in message
news:3F054E95.CAA30B2E (AT) BernardHulsman (DOT) nl...
Now I can do all kind of manaul tests which additional files are needed
for each component.
But it would be much better if I could view a kind of dependency status.

Look at Dependency Walker from the Platform SDK.

Cheers,
Ignacio


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.