Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Files required with Fox DLL?
Message
 
 
To
14/05/2002 01:18:58
Michael Ouellette
Australian Technical Services (VIC) Pty
Australia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00655983
Message ID:
00656022
Views:
19
Michael,
You need the VFP runtimes. For VFP 6, they are:

VFP6R.DLL/VFP6T.DLL (single threaded/multi-threaded)
VFP6ENU.DLL (English resource file)

If you created a single threaded COM DLL then you only need distribute VFP6R.DLL. If you have some other language version of VFP, then you need to distribute that resource file. These two files will do in most cases for basic VFP applications. Of course, you also need the underlying files that these files depend on. An example of this would be MSVCRT.DLL. These is the MS C Runtime Library. Because VFP was written in C/C++, it needs this runtime as well.

The easiest thing to do in VFP 6, is to use the Setup Wizard to create a simple installation. It will add all the necessary files to the installation.

HTH.

>I recently created a com server dll (VFP6) for an access/VB application to be able to interface with a Fox2.6 application.
>
>The dll registered ok on my PC with VFP6 SP5 installed.
>On the other developer's PC he simply could not get the dll registered until
>I installed VFP then SP5. Of course the problem was solved but I still don't know exactly what it was???
>
>The dll is used to create order records in my tables. Nothing fancier than a few select statements and insert into SQL. In a nutshell, all code was fox 2.6 compatible. The dll was compiled from a class file (vcx) as a multiuser ole dll.
>The error returned from the attempted registering was:
> DllregisterServerin webaccess.dll failed
> Return code was 0x80004005
>
>I used "fullpath"\regsvr32.exe "fullpath"\webaccess.dll to register
>This worked on a 98 and W2K PC that already had Fox installed
>
>My real question is: what VFP? VB? files are required to access a VFP com server?
>
>Any ideas? TIA
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