Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Jeff Stone
  
 
 
 Jeff Stone
 Tags
Subject: RE: Build Com Problem
Thread ID: 112596 Message ID: 112597 # Views: 2 # Ratings: 0
Version: Visual FoxPro 8 Category: Active X Controls & OLE Automation
Date: Friday, November 10, 2006 1:22:00 AM         
   


> Hi Everyone,
>
> I wrote a simple single-threaded COM .dll several years ago which I was successfully able to build with VFP 6.0. I was recently asked to add an additional function. When I tried to build the COM with VFP 8.0, I got a 'class definition FPIMPORT not found' message where FPIMPORT is the class I define in the .prg as an OLEPUBLIC. Curious as to whether this was a version 8 problem, I reinstalled VFP 6.0 on my machine and got the same error message.
>
> To make matters more confusing, I unmothballed my old machine on which the code was originally built, and naturally, the new code builds fine!
>
> It would seem to me that I've got an installation problem on my current machine but after uninstalling and reinstalling VFP 8 and 6, I still cannot get a clean build.
>
> Any ideas? I've pasted my code below.
>
> TIA
>
> Jeff
>


Jeff, I copied your code out and it compiled perfectly in VFP 9 - not a problem at all. Built the EXE & rebuilt it. It ain't your code - as long as you didn't inadvertently exclude that .Prg from your project, I see no reason why it wouldn't compile properly. It definately sounds like a VFP install problem to me.

Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

Build Com Problem Posted by Jeff Stone @ 11/10/2006 12:51:52 AM
RE: Build Com Problem Posted by Ken Murphy @ 11/10/2006 1:22:00 AM
RE: Build Com Problem Posted by Jeff Stone @ 11/10/2006 3:54:28 AM
RE: Build Com Problem Posted by Ken Murphy @ 11/10/2006 4:04:52 AM
RE: Build Com Problem Posted by Sweaty Broham @ 11/10/2006 4:41:45 AM
RE: Build Com Problem Posted by Salwan Ravi @ 12/1/2006 12:30:26 PM
RE: Build Com Problem Posted by Barbara Peisch @ 12/3/2006 1:52:58 AM
RE: Build Com Problem Posted by Salwan Ravi @ 12/6/2006 2:17:34 PM