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 


vdsobj.dll Bug

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Jul 08, 2003 12:51 pm    Post subject: vdsobj.dll Bug Reply with quote

PGWARE, i keep getting an error when using the latest version of the vdsobj02.dll (error 26) in VDS5.

When i am trying to run the following line:

OBJECT ADD,GRAPHIC,IMAGE1,175,18,196,40,RECEIVE.gif

I have added the following:

external @path(%0)vdsobj02.dll,demo
#define command,OBJECT
#define function,OBJECT
DIALOG CREATE,TEST,-1,0,640,480,CLASS AllElement
OBJECT CLASS,AllElement
OBJECT ADD,GRAPHIC,IMAGE1,175,18,196,40,RECEIVE.gif
dialog show

I keep getting a arithmetic error !

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Jul 08, 2003 1:03 pm    Post subject: Reply with quote

I think almost all PGWARE dll get wierd errors on VDS 5. Especially math errors when actually no maths is done by dll ! Probably this needs some fix / update by PGWARE if it has to be fixed. I found that SURFX dll works well with vds 5 - with small workarounds.
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Tue Jul 08, 2003 1:18 pm    Post subject: Reply with quote

You need to check your system for older copies of the dll and remove these, those older versions of the dll are not compatible with vds 5. Search for vdsobj02.dll and remove them from your computer and use the new version found here at vdsworld.com.

codescript exactly which dll's are you having problems with? I've updated all dll's to fix these problems last week with vds 5/dll's so I'd like to know the errors your getting and which dll's. Btw surfx is not one of my dll's.
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Tue Jul 08, 2003 1:45 pm    Post subject: Reply with quote

Here is the problem in your script:

Code:

OBJECT ADD,GRAPHIC,IMAGE1,175,18,196,40,RECEIVE.gif


You can't use IMAGE1 as a name, the vdsobj does not support custom names for controls, you must use the control name appended by a number from 1-9999 like: GRAPHIC1, or GRAPHIC33

use this:

Code:

OBJECT ADD,GRAPHIC,GRAPHIC1,175,18,196,40,RECEIVE.gif



For some reason VDS 5 still continues to return the wrong error number though, its taking the maxpar variable within the dll adding 1 to it and returning error 26 no matter what custom error message the dll is sending back to vds.
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Jul 08, 2003 4:23 pm    Post subject: Reply with quote

Sorry I mistaken there (surfx) Embarassed I will check the get the updated dlls and check.
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Jul 08, 2003 4:45 pm    Post subject: Reply with quote

Quote:
I found that SURFX dll works well with vds 5 - with small workarounds


I am the author of VDSSURFX DLL, just curious here CodeScript, what types of problems are you having to have workarounds?

Thanks Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Jul 08, 2003 4:54 pm    Post subject: Reply with quote

If U insert multiple instances of SURFX windows and give surfx setpos command such that the larger surfx window gets smaller and smaller oocupies that space on the dialog then - If the initial size contains a number like 325 and resized number is 45 it gives 101 - same old error as other vds dlls. Now to prevent that I used 045. Now the headache is for a value 45 at the beginning how to make it 3 digits?
I dont remeber what exactly i did - I think I added a "|" character before the number this causes the surfx to shift a little but works -- why ? I dont know.
I think the problem is realted to some kind of parsing occuring in the vdsrun50 dll may type of variable etc but I dont know beyond this.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Jul 08, 2003 7:40 pm    Post subject: Reply with quote

Thanks CodeScript Wink

Anyway my extensions will soon be updated to work, well possibly, with VDS 5.

Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Hortalonus
Valued Contributor
Valued Contributor


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

PostPosted: Tue Jul 08, 2003 7:59 pm    Post subject: Reply with quote

marty wrote:
...my extensions will soon be updated to work, well possibly, with VDS 5.

Very Happy Woohoo!

_________________
"ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player...
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jul 13, 2003 2:11 am    Post subject: Reply with quote

I agree! Very Happy
_________________
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 -> Bug Reports All times are GMT
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group