missing or corrupted tdf.dll file

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

missing or corrupted tdf.dll file

Post by electron67 »

I compile to hex and stop the program and show . . . . . . (I have window XP) the program is very easy to test and not compile; Flow 6 is Professional version 6.0.4.0

Completed BoostC compilation, return = 0


Launching the linker/assembler...
C:\Archivos de programa\Flowcode 6\compilers\pic\boostc\boostlink_picmicro.exe -ld "C:\Archivos de programa\Flowcode 6\compilers\pic\boostc\lib" libc_16F.lib rand_16F.lib float_16F.lib "Flowcode1.obj" -t PIC16F877A -d "C:\DOCUME~1\ARTURO\ESCRIT~1\NUEVAC~1" -p "Flowcode1" -swcs 6 2
BoostLink Optimizing Linker Version 7.12
http://www.sourceboost.com
Copyright(C) 2004-2013 Pavel Baranov
Copyright(C) 2004-2013 David Hobday


missing or corrupted tdf.dll file
Reading mapping of:PIC16F877A failed

C:\Archivos de programa\Flowcode 6\compilers\pic\boostc\boostlink_picmicro.exe reported error code -2

FINISHED

What is wrong ? I have Laptop and PC and not compile

Thanks
Last edited by electron67 on Sat Mar 22, 2014 5:41 am, edited 1 time in total.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: missing or corrupted tdf.dll file

Post by Benj »

Hello,

This problem was detailed here. http://www.matrixmultimedia.com/mmforum ... 54&t=14369

Let me know how you get on.

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: missing or corrupted tdf.dll file

Post by electron67 »

I done all, uninstall norton 360, Update 3 time flow6, refresh window in each update. . . . . and not compile

missing or corrupted tdf.dll file

I can do to compile ?

Tanks

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: missing or corrupted tdf.dll file

Post by electron67 »

Have time using flow5, flow4, flow3; I'm starting to use flow6, but I could not to compile any program, I have window xp (laptop and pc), updates flow6 and refresh window in each update did as you said, uninstall the antivirus, but I can not compile even, that need to do so that I can use flow6. I realize that there are more flow6 users who have or had the same problem with window xp

Appreciate if you could help me to work with flow6.

Tanks again

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: missing or corrupted tdf.dll file Flow6.0.7

Post by electron67 »

I Install flow 6.0.7 and not compile (window xp)

missing or corrupted tdf.dll file
Reading mapping of:PIC16F877A failed

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: missing or corrupted tdf.dll file

Post by Benj »

Hello,

The tdf.dll is part of the BoostC PIC toolchain so maybe replacing the file would help?

Here is the file from my installation, it need extracting from the zip archive and lives in this directory "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc".
tdf.zip
(89.4 KiB) Downloaded 338 times
Let me know how you get on.

User avatar
SteveM
Posts: 55
Joined: Tue Mar 25, 2014 2:09 pm
Has thanked: 28 times
Been thanked: 65 times
Contact:

Re: missing or corrupted tdf.dll file

Post by SteveM »

Hi there, electron,

I've done a little bit more digging around on this issue - it is something I have had come up before on my home system with some other software applications. But first, a word of warning...

The advice here is not an official bug-fix, it is based on my personal experience with similar issues elsewhere. The advice should be taken with caution - Matrix will not accept responsibility if acting on this advice impairs the performance of your PC in any way.

The first thing to note is that when Windows reports a "damaged or missing" .dll file, it is sometime lying to you! :shock:
This is because .dll files can call code routines from other .dll files, and those could, in turn, call other .dll files. If any of these 'dependencies' breaks, Windows only reports a problem with the initial file. So, the first thing to do is to make sure that you do have the tdf.dll on your system. You should be able to find it in the following folder of your Flowcode6 installation within 'Program Files' (or 'Program Files(x86)' if you have a 64bit version of Windows).
.../Program Files/Flowcode 6/compilers/pic/boostc/
My guess is that you will find the file right there - exactly where the Flowcode installer put it!

If this is the case, the chances are that some other Windows .dll file that 'tdf.dll' relies upon is damaged or missing. This can be checked using some diagnostic software called 'Dependency Walker'' - this is a very small free download, which you can get from HERE. The software does not need installing, and doesn't touch your registry - just unzip the files and pop them somewhere accessible on your hard drive. This software is even used by Microsoft within some of their software development tools, so is perfectly safe to use, so long as you're sure to download it from the official site in my link.

Now, I'll be the first to admit that a lot of what 'dependency walker' does is way over my head - I don't understand most of the data it extracts at all! However, the simplest test is very easy to use - simply run the 'depends.exe' program - go to the 'File -> Load' menu item, and navigate to the 'tdf.dll' file at the place you just found it. You will then see a huge amount of data appear in the Dependency Walker window. You can just ignore most of it - but check out the main 'tree' view at the top left - this shows all of the other .dll files that 'tdf.dll' is looking for. If you see any of the files in this list with a yellow '?' icon, you have found the true source of the problem...
Dependency Walker.PNG
(14.5 KiB) Downloaded 3259 times
You can now do an internet search for the 'real' missing/damaged file, which, most of the time will lead you to some advice about fixing or replacing the problem. Very often this will relate to other Windows' components, such as the .NET framework - or possibly a .dll that has been hi-jacked by some malware (MSVCR90.dll from the .NET framework is a very common suspect).

Hopefully this will give you a lead as to the true nature of the problem. Unfortunately, due to the way that the installation of the BoostC compiler works, and the complex nature of Windows installations, this is an issue that is very difficult for Matrix to insure against, especially now that Windows XP support from Microsoft is ending. In fact, I have found Dependency Walker an indispensable tool over the years for diagnosing a whole range of problems with 3rd party software, and years-old 32bit applications (I have some specialist hardware at home that never had drivers for Windows Vista and its successors).

Let me know how you get on - particularly if Dependency Walker identifies something specific that is missing/damaged, as that may help us to assist other users who are experiencing similar problems.

Best regards,
Steve.

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: missing or corrupted tdf.dll file

Post by electron67 »

Thanks Steve for the program; I see that missing archives, I have Window XP SP2;( I can't upload the archives are 50 archives in the forum); only copy in windows/WinSxS and with this Flow6 compile correctly.

Thanks
Enrique

Post Reply