ap2203
4th April 2012, 14:55
Need help
I have a code for program,
When I compile I get an error unresolved reference for function "xxxx"
I put in code #pragma used include "xxxx", nothing happend
Any idea
BR

Virender
4th April 2012, 15:04
Hi BR

Pragma is used to include as dll
usage is
#pragma used dll "ottdllw"


The function is defined as following:

functions:

function extern xxxx()

{

code
code

}

hope this will help you.

Virendra

bdittmar
4th April 2012, 17:47
Need help
I have a code for program,
When I compile I get an error unresolved reference for function "xxxx"
I put in code #pragma used include "xxxx", nothing happend
Any idea
BR

Hello,

for includes (functions) use :

Example:

declaration:
#include "itcmcs0005" |read company data

before.program:

read.own.company.data.imcs0005()


Regards

ap2203
10th April 2012, 09:44
Hello,

for includes (functions) use :

Example:

declaration:
#include "itcmcs0005" |read company data

before.program:

read.own.company.data.imcs0005()


Regards

In this case code for "itcmcs0005" is need or no ?????
My problem is becase I have not code for function which I need to include, in my case function I need is "itfgld0022"
How can I solve my problem


Thanks for help
Regards

bdittmar
10th April 2012, 13:30
In this case code for "itcmcs0005" is need or no ?????
My problem is becase I have not code for function which I need to include, in my case function I need is "itfgld0022"
How can I solve my problem


Thanks for help
Regards

Hello,

itfgld0022 "Get first document and rewrite last used document" should be on your system, if you own DEV-License.
If not contact Infor.

Regards