DonQuichote
Programmer
- Nov 9, 2001
- 980
I am busy writing a library for digitizers in Visual Basic. My problem is, that the digitizer driver uses API-calls (C-style, with pointers, structures and handles) and I want to design the library in an object-oriented way.
It looks like I have the choice between either making all most of the variables and driver-routines public (within the project, that is) or putting the structures and handles all in one class. I don't like either option, and because of all the handles and structures it is very hard to encapsulate some of the structures in intermediate classes.
Does anyone have an experience with this kind of interfacing?
Best regards
It looks like I have the choice between either making all most of the variables and driver-routines public (within the project, that is) or putting the structures and handles all in one class. I don't like either option, and because of all the handles and structures it is very hard to encapsulate some of the structures in intermediate classes.
Does anyone have an experience with this kind of interfacing?
Best regards