Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VC++ COM DLL
Message
 
 
To
03/03/2000 11:23:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00341260
Message ID:
00341299
Views:
25
>In VB you reference the project to the DLL. Once that's done it work much the same way as VFP i.e. create an object.
>
>The difference is in the DLL referencing. VB uses a menu command within the project, VFP uses 'DECLARE DLL'. The problem is I don't know if I have a good reference in VFP.

VB does use references and that enables you to dim an object and then use Intellisense when using it in code. The reference has nothing to do with Declare.

If you don't have to declare the function in VB (i.e. it is a COM object) then you don't have to use declare in VFP. Just use CreateObject() or NewObject() and it will work. We are talking about COM here, not a library DLL.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform