Alaska Software Inc. - Stringof
Username: Password:
AuthorTopic: Stringof
Donald R. KeatingStringof
on Wed, 18 Jun 2008 13:16:54 -0400
Hi Y'all,

Where might this linker error be coming from?

ALK2102 unresolved external symbol STRINGOF

There's no such function/procedure in my code.  Sounds like maybe something
in BAP.LIB but, I'm not using that either.

Thanks.


    >don<
Pablo BotellaRe: Stringof
on Wed, 18 Jun 2008 21:11:16 +0200
Hi,

> There's no such function/procedure in my code.  Sounds like maybe something
> in BAP.LIB but, I'm not using that either.
Yes you can found it in BAP. If you are using ot4xb instead you can use the following compatibility statement

#xtranslate StringOf( <p> [,<n>] ) => PeekStr(<p>,0,iif(<.n.>,<n>,-1))

Regards,
Pablo Botella
Donald R. KeatingRe: Stringof
on Wed, 18 Jun 2008 15:47:33 -0400
Thanks Pablo,

Haven't tried your ot4xb yet.

I'm not using BAP in my code.  But, think its used in the aSocks.LIB which
I am using.  And, suspect it was compiled with older version of BAP that
was created with debug in it.

   >don<

On Wed, 18 Jun 2008 21:11:16 +0200, Pablo Botella wrote:

> Hi,
> 
> > There's no such function/procedure in my code.  Sounds like maybe
something
> > in BAP.LIB but, I'm not using that either.
> Yes you can found it in BAP. If you are using ot4xb instead you can use
the following compatibility statement
> 
> #xtranslate StringOf( <p> [,<n>] ) => PeekStr(<p>,0,iif(<.n.>,<n>,-1))
> 
> Regards,
> Pablo Botella
Donald R. KeatingRe: Stringof (Solved) (was: Stringof)
on Wed, 18 Jun 2008 16:17:59 -0400
Talk about shooting yourself in the foot.

I forgot about removing 

#pragma library("BAP.LIB")

for some testing.

Put it back in and the stringof trouble is gone!

BTW, found stringof in the AparLib1.LIB which confirms for me it uses the
BAP.LIB

Til next time,

  >don<



On Wed, 18 Jun 2008 15:47:33 -0400, Donald R. Keating wrote:

> Thanks Pablo,
> 
> Haven't tried your ot4xb yet.
> 
> I'm not using BAP in my code.  But, think its used in the aSocks.LIB
which
> I am using.  And, suspect it was compiled with older version of BAP that
> was created with debug in it.
> 
>    >don<
> 
> On Wed, 18 Jun 2008 21:11:16 +0200, Pablo Botella wrote:
> 
> > Hi,
> > 
> > > There's no such function/procedure in my code.  Sounds like maybe
> something
> > > in BAP.LIB but, I'm not using that either.
> > Yes you can found it in BAP. If you are using ot4xb instead you can use
> the following compatibility statement
> > 
> > #xtranslate StringOf( <p> [,<n>] ) => PeekStr(<p>,0,iif(<.n.>,<n>,-1))
> > 
> > Regards,
> > Pablo Botella