forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


External dll problems
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Sep 19, 2002 4:01 pm    Post subject: External dll problems Reply with quote

hello all

I have a problem whe using a External dll. when i uses it on a system that uses 2 hard drive i get eorrors meanig if the system has windows on c drive BUT the system folders are like on G drive.. i get eorros Sad... if i uses a system that is "normal" then it works fine Smile

any ideas how to fix this?

NOTE: in the system that uses 2 drives it don't mater if i run the vds program on C drive or G drive i still get the same error Sad

thanks
Back to top
View user's profile Send private message
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Thu Sep 19, 2002 6:52 pm    Post subject: Reply with quote

Hi Tim,
If i understand the problem correctly i think this will help. Try either hardcoding the paths to the dlls into your EXE or keep them in your program folder and locate them @path(%0).

Like this:

External @path(%0)vdsipp.dll

moke
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Thu Sep 19, 2002 8:37 pm    Post subject: Reply with quote

I also normally use:

External @path(%0)vdsipp.dll

I don't think it's ever failed for me.

-Garrett
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Thu Sep 19, 2002 9:47 pm    Post subject: Reply with quote

Strange... are they just general VDS errors or specific to the DLL?
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Thu Sep 19, 2002 11:14 pm    Post subject: hummm Reply with quote

if i recall i got eorror 5 line 128 which in my case line 128 is where the External dll is on..so its a vds eorror Sad
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Fri Sep 20, 2002 5:30 am    Post subject: Reply with quote

Which dll are you refering to? Or is this happening to all dll's?
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Fri Sep 20, 2002 5:44 am    Post subject: vdsipp.dll Reply with quote

it seems to be just this one vdsipp.dll that is causing the problems Sad


thanks
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Fri Sep 20, 2002 12:40 pm    Post subject: Reply with quote

From the vds help file under the Error Messages section:

Quote:

5 Invalid variable name

Valid variable names are %1 .. %9 and %A .. %Z.



Take a look at you're variable, it's not valid. The error message is not from the dll but rather you're script.
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Fri Sep 20, 2002 12:50 pm    Post subject: Reply with quote

Sometimes the error line number VDS returns is one off from the actual line number...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Fri Sep 20, 2002 1:46 pm    Post subject: Reply with quote

Don't know if this helps... but the trickiest variable problem I have found is when parsing data. The IDE doesn't highlight the variables you're parsing to since they're enclosed in quotes. I always manage to substitute a colon for a semicolon between variables or leave out the comma between the set of variables I'm parsing to and the one I'm parsing from. Both of these will give you an error 5.
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Sep 20, 2002 2:38 pm    Post subject: Reply with quote

Tommy wrote:
Sometimes the error line number VDS returns is one
off from the actual line number...


Sometimes!? More like 99.9% of the time! Wink

-Garrett
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Fri Sep 20, 2002 8:32 pm    Post subject: hummmm Reply with quote

hummmm

i see what you guys are saying... i'am going to check it out some more

thanks
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Sep 21, 2002 12:39 pm    Post subject: Reply with quote

Garrett wrote:
Tommy wrote:
Sometimes the error line number VDS returns is one
off from the actual line number...


Sometimes!? More like 99.9% of the time! Wink

-Garrett


The reason the error number is off is that the interpreter/compiler does not read lines that do not do anything...for example, it does not compile REM comments, blank spaces, etc.

Quote:
Note that, because the compiler does not include in the EXE lines that do nothing, the line number reported may not be the same as the line number in the original script.

Copyright 1995 - 2002 S.A.D.E. s.a.r.l. / All rights are reserved.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sat Sep 21, 2002 3:02 pm    Post subject: Reply with quote

FreezingFire wrote:
The reason the error number is off is that the interpreter/compiler does not read lines that do not do anything...for example, it does not compile REM comments, blank spaces, etc.

Quote:
Note that, because the compiler does not include in the EXE lines that do nothing, the line number reported may not be the same as the line number in the original script.

Copyright 1995 - 2002 S.A.D.E. s.a.r.l. / All rights are reserved.


I don't think this is true as it doesn't ever seem to be more than one off...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Sep 21, 2002 3:07 pm    Post subject: Reply with quote

Odd...now it isn't even off! Tried it both in the IDE and in compiled version:

Code:
rem comment 1

rem blank line above / comment 2
make an error!

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group