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 


VDS UPGRADE DLL - FREEWARE
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Mar 27, 2003 11:39 am    Post subject: VDS UPGRADE DLL - FREEWARE Reply with quote

FREEWARE - unzipped DLL size: 7k

SAVEFILE memory leak fix ("DIALOG ADD" lists only) for versions thru
VDS4. There's also a "mousedown" function that VDS2/3 users should
find useful.

This is a beta version, and there's no help file yet - just a couple of
simple DSC files (one is to demonstrate the memory leak fix). There
may be other additions later (FILE IO routines of some kind may be the
next project). The unzipped DLL file is only 7k so far. Any feedback is
appreciated.

This is a BETA version, so let me know how it works on your OS
and if ya have any problems. Tested on Win95 (2 button mouse)
and Win98 (2 button touchpad).

NOTE: you can hide a "DIALOG ADD" list and use it as a hidden list
if needed. Wink

The SAVEFILE command:
Code:

rem -- command, list handle, filename --
UG SAVEFILE, @winexists(~List1), %f

The "mousedown" function:
Code:

rem -- Use any (or combination) of LMR (left middle right) - returns 1
rem -- if down, NULL if up. Any combinations are always returned in
rem -- the order LMR separated by "|".
PARSE "%l;%m;%r", @ug(mousedown, LMR)


EDIT: Newer version of VDSug.dll with many more features:
http://www.trinex.net/users/mac/vdsug/

Cheers, Mac Smile
________________________________________________________________________________________________

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Sat Nov 15, 2003 7:06 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Mar 27, 2003 12:21 pm    Post subject: Reply with quote

Good job, Mac!

Checked it out here. No problemos in Win98SE + W2K

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Mar 27, 2003 12:27 pm    Post subject: Reply with quote

Thanks Dread. Smile

BTW, I don't have a way to check the middle button on the
"mousedown" function. Anybody try it yet?

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Thu Mar 27, 2003 1:08 pm    Post subject: Reply with quote

The middle button was tested on Win98 SE and works fine. Smile Mr. Green
_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Mar 27, 2003 1:09 pm    Post subject: Reply with quote

Thanks Bill. Smile Wink
_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Thu Mar 27, 2003 1:16 pm    Post subject: Reply with quote

lol, that's what good guinea pigs are for Mr. Green
_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Rubes_sw
Valued Contributor
Valued Contributor


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

PostPosted: Thu Mar 27, 2003 1:25 pm    Post subject: Reply with quote

Mac, the mouse button thing works great.

The memory leak still appears Sad

Windows XP 1.2Gh Processor, 292Mb Ram, 30Gb Hard Disk and VDS4.5

Sorry

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Mar 27, 2003 1:31 pm    Post subject: Reply with quote

Look close at the test program again Nathan. Wink

It actually frees up memory on mine and others' systems
occasionally, so the difference ya see may be more free
memory instead of less... Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Thu Mar 27, 2003 1:33 pm    Post subject: Reply with quote

Windows 98SE
950 mhz (overclocked to 1.15 ghz)
15gb HD
128 mb ram

I ran the memory leak test for 2 minutes and ended up with a little over
300 kb more free memory that I had when I started the test. Mr. Green

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Rubes_sw
Valued Contributor
Valued Contributor


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

PostPosted: Thu Mar 27, 2003 1:41 pm    Post subject: Reply with quote

Oops Embarassed

Sorry, I did not notice that !

Very Cool, this is going to be a great fix for me until VDS5 comes out !.... I can soon release soon awaited programs....

Cheers Mac !!!!
Very Happy Very Happy


Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Thu Mar 27, 2003 2:30 pm    Post subject: Reply with quote

What??? A fix for the listsave memory leak Shocked ? Where have you been all my life? (or at least the last 4 years)

Good work Mac! You should put this on a floppy and hang it on your refrigerator. Smile

moke
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Mar 27, 2003 2:44 pm    Post subject: Reply with quote

ROFL - thanks. Laughing

Sorry moke - I shoulda started this a lot sooner than yesterday... Embarassed

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Mar 27, 2003 8:01 pm    Post subject: Reply with quote

It looks really good, but I have one simple suggestion: would it be possible
to change it to include a carriage return or a line feed or what ever is
missing so that I don't get results similiar to these below:

Code:
Test1Test2Test3


It's not a major problem but what if you want to use the UG SAVEFILE
command to make a text file etc. which a user views. Wink

Great work Mac. Very Happy

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


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Mar 27, 2003 10:10 pm    Post subject: Reply with quote

EDIT - Problem has been fixed - Download current version
at same link above.


Those ARE newline characters FF, Wink

Not sure how you're getting results like that...

DOS FC (file compare - text) shows no difference between an
original file and the same file saved with UG SAVEFILE. It does
however show a slight difference with binary compare, so I'll
look into it.

The files display normally in notepad, text elements and lists.
What did you do to display the newline chars as you did above?

Thanks, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Fri Mar 28, 2003 12:47 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Mar 27, 2003 10:30 pm    Post subject: Reply with quote

When I said "similar" I meant I replaced the characters with another box
character for illustration purposes.

I'll upload for you a screenshot and a sample file to see the real thing. Wink

Sample File:
Right-click HERE and choose "save target as" or you won't get the right results.

ScreenShot:

_________________
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 -> Other Product Support/Announcements 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