Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
>>>>Also what kind of interface should I implement for a vfp class to bind mscomm to?
>>>
>>>In general, you would use Object Browser to explore a COM object and generate such VFP class.
>>
>>I have a few questions here.
>>In the Object Browser how do I find out what interface to implement?
>>
>>Since I need to implement a different interface for my contailner does that mean I can't create that contailner in a visual class designer?
>
>Ususaly there's word Event or Handler in the name of an interface. For mscomm it's DMSCommEvents interface. It can omly be implemented in code.
My class definition starts like this:
DEFINE CLASS cntTest1 AS Container
IMPLEMENTS IMSComm IN "MSCommLib.MSComm"
....
Is that correct?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement