Hi

 

I am getting a number of unresolved external references when trying to link
my DLL app

 

There are  CEE (language environment ) modules and C library functions like
fopen

 

However the most troubling is the C function I exported I included the side
deck which has my exported function

 

Strangely thought even tough I included a pragma map to leave the name as it
appended _FPC

 

Here  is he generated side deck

-

IMPORT CODE64,'TESTDLL','openadata__FPc'       

 

Here is my DLL code

#pragma export(openadata)

#pragma map(__ceetest,"CEETEST")            

#pragma linkage(CEETEST,FETCHABLE)          

#pragma map(opnadata,"openadata")           

void openadata(char *filename)              

{                                           

 __ceetest();                               

 FILE *fp = fopen("DD:TESTFILE","r"); 

 

}                                                 

 

 

>From my understanding the sidedeck would be concatenated to IEWL SYSLIN and
the DLLLIB (a pdse) would be concatenated IEWL SYSLIB

 

 

                     

 

 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to