Powerbasic Museum 2020-B

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Chris Chancellor on August 19, 2018, 04:16:35 PM

Title: How C++ to call a O2 dll
Post by: Chris Chancellor on August 19, 2018, 04:16:35 PM
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
Title: Re: How C++ to call a O2 dll
Post by: Charles Pegge on August 19, 2018, 10:05:11 PM
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++.
Title: Re: How C++ to call a O2 dll
Post by: Chris Chancellor on August 21, 2018, 07:30:04 PM
Thanxx Charles