Re: Unable to find an API by Rick
Rick
Thu Jan 06 14:54:21 CST 2005
Joaquin,
Yes, you should add any librarys you use, so the PM can resolve these =
kind of references (it'll assume you've done the SET LIBRARY).
As stated before these are marked Excluded, so they are really part of =
your application's code file.
Rick
"Joaquin" <jlopezh@earthlink.net> wrote in message =
news:uorLsLC9EHA.2032@tk2msftngp13.phx.gbl...
> Okay, I'll go ahead and add the EXTERNAL declaration and no I do not =
have=20
> the FOXTOOLS.FLLS in my proejct. Do I need to add it?
>=20
> Thanks
>=20
> No I don't have the FoxTools.fll in my project bu
> "Rick Bean" <rgbean@unrealmelange-inc.com> wrote in message=20
> news:OrdgjuB9EHA.3320@TK2MSFTNGP10.phx.gbl...
> Joaquin,
> Interesting - if you compile that procedure separate, VFP doesn't =
complain.=20
> As long as it can find these references at runtime, you can make the=20
> compiler happy by using the EXTERNAL declaration. Do you have =
FoxTools.FLL=20
> in your project? (Note: All Library's are automatically marked =
excluded, so=20
> you will still have to distribute it.)
>=20
> Rick
>=20
> "Joaquin" <jlopezh@earthlink.net> wrote in message=20
> news:uDHNVVB9EHA.1296@TK2MSFTNGP10.phx.gbl...
>> Can anyone tell me why I'm getting the following error when I try to=20
>> compile
>> my program?
>>
>> Program c:\source\vbpf\prgs\procedures.prg has the following errors:
>> Unknown _WFINDTITL - Undefined
>> Unknown _WHTOHWND - Undefined
>>
>>
>> I have this line of code in my main program
>>
>> SET LIBRARY TO SYS(2004) + "FOXTOOLS.FLL" ADDITIVE
>>
>>
>> I have this procedure in a different program
>>
>> PROCEDURE TileVertically
>> LOCAL lnhWnd
>>
>> * Get the Active Form's window handle
>> lnhWnd =3D _WhTohWnd(_WFindTitl(_SCREEN.ActiveForm.Caption))
>>
>> * Get the form's parent window
>> lnhWnd =3D otile.GetParentWindow(lnhWnd)
>>
>> otile.TileVertical(lnhWnd)
>> ENDPROC
>>
>>
>>
>>=20
>=20
>