View previous topic :: View next topic |
Author |
Message |
Rubes_sw Valued Contributor
Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Tue Jul 08, 2003 12:51 pm Post subject: vdsobj.dll Bug |
|
|
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 |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Jul 08, 2003 1:03 pm Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Tue Jul 08, 2003 1:18 pm Post subject: |
|
|
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 |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Tue Jul 08, 2003 1:45 pm Post subject: |
|
|
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 |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Jul 08, 2003 4:23 pm Post subject: |
|
|
Sorry I mistaken there (surfx) I will check the get the updated dlls and check. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Tue Jul 08, 2003 4:45 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Jul 08, 2003 4:54 pm Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Tue Jul 08, 2003 7:40 pm Post subject: |
|
|
Thanks CodeScript
Anyway my extensions will soon be updated to work, well possibly, with VDS 5.
|
|
Back to top |
|
|
Hortalonus Valued Contributor
Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Tue Jul 08, 2003 7:59 pm Post subject: |
|
|
marty wrote: | ...my extensions will soon be updated to work, well possibly, with VDS 5. |
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 |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Jul 13, 2003 2:11 am Post subject: |
|
|
I agree! _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
|