How to pass structures between a OCX and a VB app
Posted on 1998-07-17
How could I manage passing a complex C data structure between a VB app and a OCX ?
For example, I'd like to use the following s2_ST structure:
where lpst is a array of pointers to s1_ST structures
A VB app must fill a parameter (or parameters) providing those fields to a OCX. The OCX must return that parameter to the VB app with the fields modified.
I'm using Visual C 5.0 and used MFC Appwizard to build the OCX skeleton.