Information générale
Catégorie:
COM/DCOM et OLE Automation
>- You can't access the cursor in the COM component from the host and vice-versa.
Good to know...I created a table and wrote the set('directory') value to it. That worked. Sergey B. also has a simpler solution.
>- A VFP COM DLL cannot have any UI, but a VFP COM EXE can
I don't need any UI, was just to find out what location I was at when the COM object loaded. Can VS 2008 load either a VFP COM DLL or a VFP COM EXE?
>- Not sure what you're asking about in question 2. Are you trying to load a VFP COM object in Visual Studio at design time?
No, I'm actually testing it from VFP. The VS side of this has not been written yet. The question actually relates to what type of COM object VS 2008 can load (see above).
Thanks Craig!
Scott
>
>>Hi Hank,
>>
>>Yes, it does work running from a PRG...Hmmm...
>>
>>Two questions come to mind:
>>
>>1. How the heck can I find out where I am (what is the default directory?) when the COM object loads. I tried using cursors, messagebox and none of that works?
>>
>>2. An older question that came to mind when I started testing this: Can VS 2008 load an "EXE" COM object or must it be a DLL?
>>Reason: I have only been able to get the COM object to load in VFP when it is an EXE. It won't load at all as a DLL.
>>
>>
>>Thank you,
>>
>>Scott M.
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