• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

How C++ to call a O2 dll

Started by Chris Chancellor, August 19, 2018, 04:16:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chris Chancellor

Hello Charles

i started to do some C++ programming and i w'd like to call a O2 dll

how to do this?  Thanxx a lot

this is bcos O2 is quite versatile and we must have a flexibity to use o2 functions

Charles Pegge

Hi Chris,

I have never used C++, but o2 produces regular dlls without name-mangling. I presume you have to make a def file and generate a ".A" file, if you are using Gnu C++.

Chris Chancellor