Page 1 of 1

Posted: Mon Jan 13, 2003 11:24 am
by BackupUser
Restored from previous forum. Originally posted by webba.

Hi all!

I'm new to PB but have worked with a few other basics over the years. I'm also familiar with use of the Windows API and other third party DLL's from basic programs.
I have 2 questions if anyone can help:
1. Does PB support SAFEARRAY's as return values from DLL routines?
2. Does PB support VB variant arrays as return types from DLL routines?

I have a freeware DLL which provides 'lite' SQL database functionality on a file based / single user basis. There is a bit of help text describing the C interface to the functions and I've started porting them to PB. The problem is the SQL result set is returned as a SAFEARRAY - a string array of some description and this call stops execution with a fatal error.

Does anyone know about these subjects?

Any help appreciated. And thanks Fred for what I think so far is a great product!