Is it possible to call function provided by external library?

I get a library which is provided by client and I will need to pass data to functions from the library and get back the output. I am newbie to Corona and Lua, and I wonder if I can do it. [import]uid: 7049 topic_id: 1180 reply_id: 301180[/import]

No, you can’t interface external libraries with Corona and Lua. [import]uid: 5712 topic_id: 1180 reply_id: 3158[/import]

How about if I can ask our client to provide wrappers for their functions in library? [import]uid: 7049 topic_id: 1180 reply_id: 3189[/import]

You can only access libraries written in Lua and limited to the features currently supported by the Corona SDK. You can’t link to libraries outside of Lua or to the iPhone APIs.

Tom [import]uid: 6119 topic_id: 1180 reply_id: 3190[/import]

I guess that would leave out a hope I had?

The hope being to create a lua module of our DISAM filehandler, which is written in standard C.

I had hoped that with such a module that we could communicate with a remote disam server directly instead of communicating via xml.

Heinz [import]uid: 6547 topic_id: 1180 reply_id: 3380[/import]

You may get Ansca to include it in the SDK :slight_smile:

http://www.isamcentral.com/products/disam/overview.html right? [import]uid: 6928 topic_id: 1180 reply_id: 3381[/import]

Yup, that’s the stuff.

Sure would be nice to have it in the SDK but I would think the team has enough on the plate for now :slight_smile: [import]uid: 6547 topic_id: 1180 reply_id: 3385[/import]