TD-18475: TD freezes at step 'Compiling ext. functs...'

Report bugs and possible workarounds for ANSI TD versions
drasmussen

TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by drasmussen » 04 Oct 2012, 18:24

Please see the attached Repro-/Test-Case, which shows a current problem with implementing and compiling an interface to some functions of an certain external dll.
This problem does occur in TD41 and also in other major releases of the TD.

I don't understand, what is going wrong at this constellation?

Any help is appreciated!
Thanks in advance!

Regards
You do not have the required permissions to view the files attached to this post.
Last edited by drasmussen on 04 Oct 2012, 23:30, edited 1 time in total.

Jeff Luther

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by Jeff Luther » 04 Oct 2012, 21:44

Yes, you will need to zip and attach desko_ipl.dll by itself. PageScanAPI.dll imports it.

drasmussen

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by drasmussen » 04 Oct 2012, 21:50

Jeff Luther wrote:Yes, you will need to zip and attach desko_ipl.dll by itself. PageScanAPI.dll imports it.
The DLL will be even in zipped mode too large for the uploader of your forum.

Jeff Luther

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by Jeff Luther » 04 Oct 2012, 23:53

I don't understand, what is going wrong at this constellation?
I don't either. I got your zip with all files and see that TD hangs at the step you mention. I checked DLLs, and they open OK with PE Explorer. Only thing I have not seen is where one ext. DLL requires another ext. DLL. That *may* be the problem.
(Well, many DLLs require other Windows DLLs, for example. I guess I meant a 3rd-party DLL requiring a non-Win. 3rd-party DLL and getting a prompt when it wasn't there. That is the first time I have seen this.)

All I can do is submit this as a TD defect, Dirk, which I will do and update this msg. with the TD numbeR: TD-18475

drasmussen

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by drasmussen » 05 Oct 2012, 00:21

Hi Jeff,
many thanks for your effort!

BTW:
I've already verified, wether these DLLs require some other ext. DLL, by compiling my TestCase directly in the directory of the DESKO-Demo/Sample-Application (DESKO-SDK ...), where indeed some other DLL-files exists. But no change -- TD still hangs while compiling the external function section. :(

Regards
Dirk

User avatar
markus.essmayr
Site Admin
Site Admin
Austria
Posts: 892
Joined: 06 Mar 2017, 06:07
Location: Austria

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by markus.essmayr » 05 Oct 2012, 13:02

Hello,

I guess that you don't have the sources of the DLLs.
Maybe there are some debugging options that you can set in a DLL related configuration file!?
Because when TD compiles the external functions, it has to load the DLLs which in turn causes the DLL-initialization function DllMain to be executed.
If the DLL does heavy stuff in there, it may cause a hang.
But if you could enable some kind of logging for the DLL, you may get some mor information!

Max
Markus Eßmayr
teamdeveloper@t-mx.com

drasmussen

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by drasmussen » 05 Oct 2012, 17:00

Hi Max,

thanks for your hint.

And you are right, I don't have sources of the DLLs. ... :(
But in parallel, I have posted this issue to the developer/manufacturer of these DLLs.

Regards
Dirk

drasmussen

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by drasmussen » 17 Jan 2013, 16:38

Hi Jeff,

are there any updates/news regarding the defect?

Regards
Dirk

Jeff Luther

Re: TD-18475: TD freezes at step 'Compiling ext. functs...'

Post by Jeff Luther » 31 Jan 2013, 00:50

Late replying but no, Dirk. Defect TD-18475 has not been assigned a fix=<> version yet.

Return to “Bug Reports (TD 4.2 and older)”

Who is online

Users browsing this forum: [Ccbot] and 0 guests