Click to See Complete Forum and Search --> : C-Library in OPL


mamcyr
09-16-2004, 05:50 AM
Hello!
Could anybody tell me how to use a C-Library (.lib) in OPL?

Thanks

cshandley
09-16-2004, 10:16 AM
You can't! The best you can do is use an OPX which acts as a wrapper for such a library. So either you find an existing OPX which meets your needs, or you write your own OPX wrapper (good luck!)...

mamcyr
09-17-2004, 07:03 AM
Thanks for replying.

I'm writting in OPL a Software on the PSION Workabout mx. I' ve never worked with OPX for PSION Workabout mx.
I've found the way to access the appropriate dynamic library (.DYL).
For the implementation of my OPL-Procedures (functions) I just need a documentation of the ROM::stdrppp.dyl Library.

Any help to access it?

Thanks

cshandley
09-18-2004, 04:30 AM
Oh sorry, I assumed you were using an EPOC(32) device (Psion5/etc), as SIBO(16) is long gone. You could try asking in the comp.sys.psion.programming newsgroup, which (for some reason) is mostly used by 16-bit people like yourself!

You may be able to achieve your goal using CALL, but I wouldn't know.

MartinMaxwell
09-19-2004, 08:17 PM
Originally posted by mamcyr
Could anybody tell me how to use a C-Library (.lib) in OPL?

Have you checked:

http://www.psionteklogix.com/teknet/pdk/workaboutmx-pdk/Documentation.htm

You need to login, but anyone can register.

mamcyr
09-20-2004, 03:47 AM
Hi!
I'm already a registered user at the Psion Partner Programm and I'm using the OPL TCP/IP SDK that I've downloaded from there.
I'm just missing the Configuration and Scripting Part in OPL. So I'm trying to write myself the missing procedures.
Could anybody help me to get the documentation of following DYL's: ipcfg.dyl, stdrppp.dyl and sockdyl.dyl?

Thanks, MAMCYR