Can I pass a 3 dimensional array from a 'C' program to a PB DLL?
What would the declaration look like for that method if I was
passing the array by value?
What would the declaration look like for that method if I was
passing the array by value?
the dll accepts this type of array???? PB does not pass or,
"accept"(to my knowledge), arrays "byval", "byref" only. Why
would you even want to do this in C/C++ instead of passing
a pointer?
What about if I was passing a dynamically allocated array
(using 'new' in 'C') by reference?
(using 'new' in 'C') by reference?
the new operator: (whatever*) new whatever. As you probably
know, don't forget to "delete" the object you created.
Thanks for the help. I inherited the PB DLL and I have no
documentation to help me out and no previous experience with PB.
documentation to help me out and no previous experience with PB.
PB guys are very good in responding to posts. The party that
created this dll might see and be able to respond, on the basis
that the dll is legal in your care of course!!!
There is another way to incorporate a PowerBasic dll in C/C++.
Peter Stephensen and I did a short course on this a few months
back. Search the forum for "lib" and you should find it. This
procedure allows creating a LIB for linking at "load-time".
You need the exported procedure info though.
Hope this helps!
Cheers,
Cecil

Addendum: Hey dude, from your original post, you were describing
a dll created by PB not the main program itself. Please be more
specific in the future about what you are doing!!!!
------------------
[This message has been edited by Cecil Williams (edited May 10, 2001).]
Leave a comment: