Hi all,
just having my first real crack at bashing out some code with PB Win 9.01 involving linking with a 3rd party OOP dll. All is going well so far in that I am just familiarising myself with the basic syntax of PB Win etc. and have managed to call some functions in some simple dlls I created specifically for my testing (the dll's have not been created in PB Win though purely because the huge OOP dll I eventually wish to link with has been coded in a different language).
Must say, this is one cool language; especially with the addition of all the OOP stuff. Things have changed somewhat since the last time I looked!
Very nice.
Back to the question in hand. The dll in question returns, when requested, various interface pointers (not COM objects though). These interfaces do not inherit from iUnknown or iDispatch etc. but are kind of 'free standing'.
Is this going to be a problem for PB Win? What I mean is, must all interfaces used in Powerbasic inherit from some pre-existing base class such as iUnknown etc? If so, then well, I can alter the dll in question to do that, but I would rather not if this could be avoided!
Thanks for any replies.
Stephen.
just having my first real crack at bashing out some code with PB Win 9.01 involving linking with a 3rd party OOP dll. All is going well so far in that I am just familiarising myself with the basic syntax of PB Win etc. and have managed to call some functions in some simple dlls I created specifically for my testing (the dll's have not been created in PB Win though purely because the huge OOP dll I eventually wish to link with has been coded in a different language).
Must say, this is one cool language; especially with the addition of all the OOP stuff. Things have changed somewhat since the last time I looked!

Back to the question in hand. The dll in question returns, when requested, various interface pointers (not COM objects though). These interfaces do not inherit from iUnknown or iDispatch etc. but are kind of 'free standing'.
Is this going to be a problem for PB Win? What I mean is, must all interfaces used in Powerbasic inherit from some pre-existing base class such as iUnknown etc? If so, then well, I can alter the dll in question to do that, but I would rather not if this could be avoided!
Thanks for any replies.
Stephen.
Comment