logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
SetPersistentString error

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
Raine



Joined: 28 Jul 2006
Posts: 23

PostPosted: Thu Apr 12, 2007 14:32    Post subject: SetPersistentString error Reply with quote

I'm just now trying to set up a database for persistent reasons. I have no database experience, so I'm sure this will be fun....

Anyway, one step at a time.

I'm adding the aps_onload script to my current onload script. I'm getting an error in the aps_include file. The error is on line 268 for me and is "function implementation and definition differ". Here's the line:

Code:

void SetPersistentString( object oObject, string sVarName, string sValue, int iExpiration = 0, string sTable = SQL_DEFAULT_TABLENAME);


It duplicates what is shown in the definition window when I click on the SetPersistentString function, so I'm at a loss.
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Thu Apr 12, 2007 21:05    Post subject: Reply with quote

Check to make sure you didn't accientally add a space before the first paren. Other than that I'd need to see the full script of your onload and the aps include you are using, in case it was altered.
Funky
Back to top
View user's profile Send private message
Raine



Joined: 28 Jul 2006
Posts: 23

PostPosted: Tue Apr 17, 2007 14:42    Post subject: Reply with quote

No space, but perhaps a good call on the onmodload script. It looks like I've got some old code that tries to set persistent ints. Geez.. it's from 2002 and has a bazillion include files. Well this will take some time to isolate without trashing everything...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group