Re: I can't see a functions between classes
From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 07/21/04
- Next message: AndiV: "Need help improving authorization"
- Previous message: John Saunders: "Re: Translate Custom UserAgent String"
- In reply to: Bryant Hankins: "Re: I can't see a functions between classes"
- Next in thread: Pepehammer: "Re: I can't see a functions between classes"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Jul 2004 14:10:47 -0400
"Bryant Hankins" <bryanthankins@_NO_SPAM_hotmail.com> wrote in message
news:OVV6Z20bEHA.1000@TK2MSFTNGP12.phx.gbl...
> This is most likely a scope issue:
>
> Is class1 in a namespace? If so ensure you fully qualify class1 with the
> namespace like: mynamespace.class1
>
> Are class 1 and class 2 in different assemblies? If so, make sure one is
> referencing the other.
>
> Is the method static? if not, make sure you have created an instance of
the
> object.
>
> Does class 1 compile? If not, you won't be able to "see" it's method.
>
> If none of these help can you post some sample code?
Also, is the method (function) declared as Public? If not, is it both
declared Friend and are both classes in the same assembly?
-- John Saunders johnwsaundersiii at hotmail > -- > Bryant Hankins > Numinet Systems Inc. > http://www.numinet.com > > > > "Pepehammer" <pepehammer@hotmail.com> wrote in message > news:%23m5VLs0bEHA.368@TK2MSFTNGP10.phx.gbl... > > Hi guys! > > > > I got two classes, class1 and class2. > > > > I'm trying to call a function defined in class1 from class2, but I get the > > following error: > > > > BC30451: Name 'WriteString' is not declared > > > > How I can solve this issue? > > > > Thanks a lot! > > > > > >
- Next message: AndiV: "Need help improving authorization"
- Previous message: John Saunders: "Re: Translate Custom UserAgent String"
- In reply to: Bryant Hankins: "Re: I can't see a functions between classes"
- Next in thread: Pepehammer: "Re: I can't see a functions between classes"
- Messages sorted by: [ date ] [ thread ]