954,487 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

could not load tlink.exe

i tried to run a graphics program in my borland c++ 5.02 compiler..

i opened a new project, changed the platform to DOS(Standard) mode...

check marked the BGI option..

and added my program as a new node to my project..
and compiled it successfully but when i try to execute it, it gives me the following error..

"could not load tlink.exe"

i am now absolutely clueless and stranded..
i am able to go any further..
SOMEONE PLZ HELP ME!!!!!!!!

i am on a Windows XP OS..

akmaahamed_2005
Light Poster
27 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

I'm constantly amazed how people use an ancient compiler with an obsolete graphics library and expect it to work seamlessly with the latest operating system...

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

Can you compile programs that don't use the graphics package? Or do they also claim "could not load tlink.exe". I doubt it's because of BGI. It sounds like your compiler isn't set up properly.

I'm constantly amazed how people use an ancient compiler with an obsolete graphics library and expect it to work seamlessly with the latest operating system...


And -- with all due respect to one of our most knowledgeable members -- I'm constantly amazed that everyone thinks that just because a compiler is old it can't work! I can still build BGI programs with no problem withTurbo C++ 1.0 on up-to-date XP. Just did it without errors, warnings, nor glitches.

WaltP
Posting Sage w/ dash of thyme
Moderator
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 

>I can still build BGI programs with no problem with Turbo C++ 1.0 on up-to-date XP.
"It works for me" has never been a good argument. A lot of the problems I've encountered on forums such as this one stem from trying to use an obsolete compiler on a modern OS.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 
Can you compile programs that don't use the graphics package? Or do they also claim "could not load tlink.exe". I doubt it's because of BGI. It sounds like your compiler isn't set up properly.


yes my other programs are compiled successfully, but i am having problems onlhy with the graphics programs..

akmaahamed_2005
Light Poster
27 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

Try this suggestion:

I just had a problem with a user trying to run Borland C++ 5.02 on a Windows XP Pro computer in a non-privileged account. She would get a message box "Make failed", and in the Message window:

Could not load: tlink.exe

One of the reasons why this can happen is if BC5 is installed under "C:\Program Files". This can cause all sorts of problems. Instead just install it under C:\BC5.

However, there is a second problem: The IDE tries to create a file named C:\$$PIP$$.$$$ to communicate with tlink.exe, but non-privileged users are not allowed to create files in C:\! Here's the solution:

1. Create C:\$$PIP$$.$$$ from an Administrator account 2. Open Properties|Security, select the Users group and click the [Advanced] button. 3. Select the Users group again, click the [Edit] button 4. Click "Full Control" in the "Allow" column and "Delete" in the "Deny" column. 5. Keep clicking [OK] and [Yes] to close all dialogs.

This ensures that all users can write to C:\$$PIP$$.$$$ and at the same time keeps them from deleting it, because the permission to write to the file would be lost if the file were deleted.

BTW, you'll probably want to create a directory such as C:\PDEV (like "Program Development") for hosting your projects, because BC5 may have problems with path and file names that don't follow the old 8+3 convention. You can get BC5 to open in that directory by default by editing C:\WINDOWS\BCW5.INI.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You