Thread overview
COleFactory missing methods
Dec 18, 2001
Laurentiu Pancescu
Dec 18, 2001
Jan Knepper
Dec 18, 2001
Laurentiu Pancescu
Dec 18, 2001
Jan Knepper
Dec 18, 2001
Laurentiu Pancescu
Dec 18, 2001
Jan Knepper
December 18, 2001
I try to build an OLE server, but I get a link-time error, about missing COleFactory::GetLicenseKey and COleFactory::VerifyLicenseKey.  They should be in MFC lib, AFAIK.

I'm using 8.25 (CD update) - did anyone else encounter this before?

Thanks,
  Laurentiu



December 18, 2001
OLEFACT.CPP is part of the CVS Repository...
I hope you downloaded the .tar.gz file?!
Also, I think you have to link with the MFC DLL...

HTH

Jan



Laurentiu Pancescu wrote:

> I try to build an OLE server, but I get a link-time error, about missing COleFactory::GetLicenseKey and COleFactory::VerifyLicenseKey.  They should be in MFC lib, AFAIK.
>
> I'm using 8.25 (CD update) - did anyone else encounter this before?
>
> Thanks,
>   Laurentiu

December 18, 2001
No, I used the MFC from CD, I thought it's complete.  Linking with MFC DLL doesn't change anything, I'll try with CVS version as well.  Do you mean the stable version or the snapshot?

Laurentiu

"Jan Knepper" <jan@smartsoft.cc> wrote in message news:3C1F517E.3D4A6026@smartsoft.cc...
> OLEFACT.CPP is part of the CVS Repository...
> I hope you downloaded the .tar.gz file?!
> Also, I think you have to link with the MFC DLL...
>
> HTH
>
> Jan
>
>
>
> Laurentiu Pancescu wrote:
>
> > I try to build an OLE server, but I get a link-time error, about missing COleFactory::GetLicenseKey and COleFactory::VerifyLicenseKey.  They
should
> > be in MFC lib, AFAIK.
> >
> > I'm using 8.25 (CD update) - did anyone else encounter this before?
> >
> > Thanks,
> >   Laurentiu
>


December 18, 2001
I would use the snapshot...
I just updated it this morning...
However, for the latest changes, wait until tomorrow...



Laurentiu Pancescu wrote:

> No, I used the MFC from CD, I thought it's complete.  Linking with MFC DLL doesn't change anything, I'll try with CVS version as well.  Do you mean the stable version or the snapshot?
>
> Laurentiu
>
> "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3C1F517E.3D4A6026@smartsoft.cc...
> > OLEFACT.CPP is part of the CVS Repository...
> > I hope you downloaded the .tar.gz file?!
> > Also, I think you have to link with the MFC DLL...
> >
> > HTH
> >
> > Jan
> >
> >
> >
> > Laurentiu Pancescu wrote:
> >
> > > I try to build an OLE server, but I get a link-time error, about missing COleFactory::GetLicenseKey and COleFactory::VerifyLicenseKey.  They
> should
> > > be in MFC lib, AFAIK.
> > >
> > > I'm using 8.25 (CD update) - did anyone else encounter this before?
> > >
> > > Thanks,
> > >   Laurentiu
> >

December 18, 2001
I tried the "stable" version, but it doesn't compile neither as LIB nor as DLL (nafxcw.prj, sc50.prj), due to missing zmouse.h and afx.h.  Until I renamed the original MFC directory, there were no afx.h problems, probably it found a afx.h file there... shouldn't the source be self-contained?

There's no zmouse.h in the archive, as the port readme says:

tar xzvf mfc4.21.tar.gz
find MFC -name 'zmouse.h' -print

Laurentiu

"Jan Knepper" <jan@smartsoft.cc> wrote in message news:3C1F9C8B.A65808B7@smartsoft.cc...
> I would use the snapshot...
> I just updated it this morning...
> However, for the latest changes, wait until tomorrow...
>



December 18, 2001
Err...
STABLE is not quite the snapshot.
Indeed, there are some file missing in the Win32 SDK that comes with Digital
Mars C++.
I will search through my 'Sent' box and see what I sent the other people that
wanted to recompile MFC.

Jan



Laurentiu Pancescu wrote:

> I tried the "stable" version, but it doesn't compile neither as LIB nor as DLL (nafxcw.prj, sc50.prj), due to missing zmouse.h and afx.h.  Until I renamed the original MFC directory, there were no afx.h problems, probably it found a afx.h file there... shouldn't the source be self-contained?
>
> There's no zmouse.h in the archive, as the port readme says:
>
> tar xzvf mfc4.21.tar.gz
> find MFC -name 'zmouse.h' -print
>
> Laurentiu
>
> "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3C1F9C8B.A65808B7@smartsoft.cc...
> > I would use the snapshot...
> > I just updated it this morning...
> > However, for the latest changes, wait until tomorrow...