Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to you link two programs using blinker!

Status
Not open for further replies.

ukrishnan

Programmer
Aug 13, 2002
2
US
Hi,

I have one program X calls progam Y. How do I compile X so that it pulls Y also during the linking?
I am using blinker.
 
functions in x.prg can call functions in y.prg, not by how they are compiled, but by linking.
If you would care to post your .lnk file on here, we can take a look and suggest alternatives, or, generally speaking,
each file (obj) must be referenced in your linking file (lnk) either as a file entry....
file x
file y

or as an overlayed file...

file x

beginarea
file y
endarea

hope this helps



 
Thanks for the info. Actually I was missing the link file itself. That was my problem. I created a link file like the following

file x
file y

and it worked.
 
you may want to try using anotheralternative:

Z

x y


Z is the controller program that runs the smaller moduals
x & y...

try using the swpruncmd()...it has been very helpful for me for the last few years, when a modual needs upgrading or for bug fixes i only work with it and it doesnt effect the other moduals.

if you are interested in this way of programming let me know

bobby
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top