This site is no longer active and is available for archival purposes only. Registration and login is disabled.

strange for a nioubie...


strange for a nioubie...

Postby Lewil » Jul 3, 2002 @ 5:46pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Rhino123 » Jul 4, 2002 @ 10:23am

try typing this:

g_Tools->IntegerToString( m_myint, m_mystring );


that should work!
You forgot to specify out of which class the memberfunction should be used. FullPath worked because it is probably also a global function of some sort, and IntegerToString only exists in the Tools class.

R
User avatar
Rhino123
pm Member
 
Posts: 66
Joined: Jul 2, 2002 @ 2:58pm
Location: Amsterdam


Postby Phantom » Jul 4, 2002 @ 1:42pm

That's completely correct. To clarify: The tools class has a member 'FullPath', and the overloaded.h file has a inline function FullPath. That one is used when the DLL's are not loaded yet, for example, for loading the DLL's themselves from a relative path. Of course, you don't want to use a medium sized inline function all over the place, so we have TWO FullPath thingy's.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby Lewil » Jul 4, 2002 @ 5:14pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Lewil » Jul 10, 2002 @ 4:42pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron