
Unresolved External with nonclarion DLL
Hi Jorge
You will need to add the NAME() that libmaker exports which is probably the
same as the function name
MODULE('ZIP32.LIB')
ZpArchive(*Long,*String,*String),*Long ,PASCAL,RAW, NAME(ZpArchive)
ZpGetOptions(),*String ,PASCAL,RAW, NAME(zpGetOptions)
ZpInit(*String),*Long,PASCAL,RAW, NAME(ZpInit)
ZpSetOptions(*String),*Long,PASCAL,RAW, NAME(ZpSetOptions)
END
Best Regards
Gavin Uttley
Quote:
> Using CW5PEb, 32 bits, legacy.
> I am trying to integrate the external DLL: ZIP32.DLL in my app. (I
> downloaded it from: ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html )
> I've already created the lib with LibMaker and included it in my
> project, but I'm totally lost in prototyping.
> Inside my GlobalMap I've included:
> MODULE('ZIP32.LIB')
> ZpArchive(*Long,*String,*String),*Long ,PASCAL,RAW
> ZpGetOptions(),*String ,PASCAL,RAW
> ZpInit(*String),*Long,PASCAL,RAW
> ZpSetOptions(*String),*Long,PASCAL,RAW
> END
> When compiling I always obtain an Unresolved External error although
> I've tried all kind of combinations.
> Can anyone kindly give me a hand in this?
> TIA
> Jorge A. Argez