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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print logo in report

Status
Not open for further replies.

greggory

IS-IT--Management
Mar 26, 2005
11
FR
Hello,

I've found an interesting article about printing logos in reports, but it uses an 'c_rp' structure in a C file.
It seems that the file descriptor in this structure is never up-to-date, so I can't print out my logo :-(

When I try to print out values of c_rp->*something*, I always get a '0'. By 'always', I mean either before my 'start report' or before my 'output to' or before 'finish' and even after...

I think the problem is that I'm using RDS-4GL and the sample code is about Compiled-4GL, but I'm not sure..

Has anybody gone into such a problem ? And solved it of course ??

Thanx to anybody helping



 
Are you sure the structure is passed by reference instead of by value ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
In fact I never pass the structure.

It is defined in my C file as an 'extern _sorry_cant_remember_type_ *c_rp'.

This 'c_rp' is generated when compiling (It appears in .4ec files). When looking through this files, it seems to be updated, but my code never gets the value. It is strange.

I want to trace the .4ec file, but don't know how to compile it to .o ? Can I use c4gl on .4ec file ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top