| View previous topic :: View next topic |
| Author |
Message |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Mar 27, 2003 11:39 am Post subject: VDS UPGRADE DLL - FREEWARE |
|
|
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.
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
________________________________________________________________________________________________ _________________ 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 |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Mar 27, 2003 12:21 pm Post subject: |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Mar 27, 2003 12:27 pm Post subject: |
|
|
Thanks Dread.
BTW, I don't have a way to check the middle button on the
"mousedown" function. Anybody try it yet?
Cheers, Mac  _________________ 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 |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Thu Mar 27, 2003 1:08 pm Post subject: |
|
|
The middle button was tested on Win98 SE and works fine.  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Mar 27, 2003 1:09 pm Post subject: |
|
|
Thanks Bill.  _________________ 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 |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Thu Mar 27, 2003 1:16 pm Post subject: |
|
|
lol, that's what good guinea pigs are for  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Thu Mar 27, 2003 1:25 pm Post subject: |
|
|
Mac, the mouse button thing works great.
The memory leak still appears
Windows XP 1.2Gh Processor, 292Mb Ram, 30Gb Hard Disk and VDS4.5
Sorry
Nathan |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Mar 27, 2003 1:31 pm Post subject: |
|
|
Look close at the test program again Nathan.
It actually frees up memory on mine and others' systems
occasionally, so the difference ya see may be more free
memory instead of less...
Cheers, Mac  _________________ 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 |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Thu Mar 27, 2003 1:33 pm Post subject: |
|
|
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.  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Thu Mar 27, 2003 1:41 pm Post subject: |
|
|
Oops
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 !!!!
Nathan |
|
| Back to top |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Thu Mar 27, 2003 2:30 pm Post subject: |
|
|
What??? A fix for the listsave memory leak ? 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.
moke |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Mar 27, 2003 2:44 pm Post subject: |
|
|
ROFL - thanks.
Sorry moke - I shoulda started this a lot sooner than yesterday...
Cheers, Mac  _________________ 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 |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Mar 27, 2003 8:01 pm Post subject: |
|
|
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:
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.
Great work Mac.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Mar 27, 2003 10:10 pm Post subject: |
|
|
EDIT - Problem has been fixed - Download current version
at same link above.
Those ARE newline characters FF,
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  _________________ 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 |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Mar 27, 2003 10:30 pm Post subject: |
|
|
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.
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 |
|
 |
|