Sviluppo e Sviluppi
martedì, maggio 11, 2004
 
OLE and DLL
I like to continue my analisys on the differences between DLLs and OLE Classes (I mean ACTIVEX classes).
The questions you must answer before to make choice is:
1.- Is the tool I need to extend so recent to use OLE mechanism?
2.- Which Data do I pass to the external logic to implements control?
3.- Have Data an Object Oriented Structure?
If you answer Yes to all questions than the best way to solve the problem is to use ActiveX (using for example VB).
If you answer NO to the first question you cannot use OLE technology.
If Data are too complex (strings, array or collection) is better to use ActiveX, infact DLL use a low level mechanism to exchange data with application and this is not so simple to understand and to implement.
So use ACTIVEX always if Answer to Question 1 is YES-
Comments: Posta un commento

<< Home

Powered by Blogger