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 


Serious problem with VDSZIP

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Sep 16, 2004 6:05 pm    Post subject: Serious problem with VDSZIP Reply with quote

I've found a serious problem with VDSZIP. Under Windows XP SP2 if you turn on Data Execution Prevention (you can do this from Control Panel, System, Advanced, Performance Settings) it gives an error "The instruction .... referenced memory at 0x00000000, The memory could not be written."

I think newer systems have this enabled in hardware.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Sep 16, 2004 8:22 pm    Post subject: Reply with quote

What is "data execution prevention"? Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Fri Sep 17, 2004 6:11 am    Post subject: Reply with quote

I think this is the new buffer underun prevention feature in xp sp2.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Sep 17, 2004 7:37 am    Post subject: Reply with quote

Well, I'm still burning coasters! Wink

I think you mean buffer overrun.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Fri Sep 17, 2004 9:04 am    Post subject: Reply with quote

I use VDSZIP.DLL quite extensively to zip up files before encryption prior to sending by SMTP. I have found that it is becoming error prone in the wild, with error 407's

Can anyone recommend an alternative tool for zipping up files that can be used by VDS? In the office I use the winzip command line tool, but this requires a licence for each machine it is used on.

Thanks in advance

_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Sep 17, 2004 11:00 am    Post subject: Reply with quote

You could use the InfoZip 32-bit command line tool (www.info-zip.org). I used that all the time for my internal applications. I only got VDSZIP because I didn't feel that bundling InfoZip in a shareware or freeware application was very professional, even though (subject to various conditions) the license does allow you to. Actually I still used it for my personal backup script as it is quicker than VDSZIP and also (as you have discovered) more stable.

For a long time I considered making a VDS ZIP DLL, but whenever I looked at any Zip libraries they all looked rather complicated to use and it seemed like a lot of work. Most of the DLL's I've done, even the CD burning one I did for Emmanuel, were about half a day's work, as they basically consisted of putting a VDS interface to ready-to-use functions. Using the code I've seen, a ZIP DLL would take a lot longer

I may be forced to develop one, because I have released products that require unzip and in one case zip functionality. But because of the disappointing experiences of others who have released extension DLLs, I doubt if the sales would even cover the cost of adding the features others want but my own software doesn't need, and documenting it, so I don't plan on making it generally available. There is also the matter of an agreement I have with Emmanuel, that prevents me from releasing VDS-related tools in my own right. (That wouldn't prevent any private contractual arrangements for developing a DLL, though. Wink )

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Sep 17, 2004 11:46 am    Post subject: Reply with quote

I remember working on a freeware win32 dll to add zip functionality that FreezingFire didn't get to work. However AFAIR the dll didn't come with a license agreement etc. Sad
Don't remember if I had posted info bou it on this forum.

_________________
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
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Fri Sep 17, 2004 12:58 pm    Post subject: Reply with quote

Well I thought about building a VDS Zip DLL as well but I never did pretty much for the same reasons that Jules is talking about. So I did the next best thing. My Guardian.dll uses the same compression that most Zip products use. It uses the free zlib library. It only de/compresses single files. I have not added archiving abilities yet. I will probably add that later but it will never be a Zip file since the header and tables used in Zip files are very complex and IMHO are not needed for an archive file. I built compression into Guardian because I built a program in VDS that UUEncodes files but I wanted to offer Compressed UUEncoding which is the new craze in this area. Anyway FF did submit a DLL that could build cab files I don't think its a VDS DLL. CAB actually has a better compression ratio for binary data than Zip but it too is pretty complicating.
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Sep 17, 2004 1:26 pm    Post subject: Reply with quote

CodeScript wrote:
I remember working on a freeware win32 dll to add zip functionality that FreezingFire didn't get to work. However AFAIR the dll didn't come with a license agreement etc. Sad
Don't remember if I had posted info bou it on this forum.


Yes, I downloaded it and played about with it but I couldn't get it to do what I want. And the license status of the DLL was unclear, as you say.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


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

PostPosted: Fri Sep 17, 2004 2:35 pm    Post subject: Reply with quote

And the author of the VDSZIP.DLL is not available to do any work on the
dll anymore.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Sep 18, 2004 1:51 am    Post subject: Reply with quote

I produced a example that used a non-VDS DLL that acted as a wrapper
around Microsoft's CAB10.DLL and the free ZLIB.DLL.

This has support for both CAB and ZIP compression/decompression.

You might want to take a look at it - you can download it at:
http://freezingfire.vdsworld.com/files/cab10.zip

(Contains all required DLLs, example scripts, and documentation links)

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


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sat Sep 18, 2004 9:50 am    Post subject: Reply with quote

That was the one I played with and had trouble with. I forget what it was I couldn't get it to do. I think this is the same one CodeScript referred to a couple of messages back.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Sep 19, 2004 4:13 pm    Post subject: Reply with quote

jules wrote:
I think this is the same one CodeScript referred to a couple of messages back.


Yes Julian

_________________
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
ShinobiSoft
Professional Member
Professional Member


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

PostPosted: Sun Oct 17, 2004 3:07 pm    Post subject: Reply with quote

For those who'd like to know, I'm having minor success writing a dll for
VDS for working with zip files. Cool As Jules posted previously, it is extremely
tricky dealing with the zip APIs. However, I feel that I may eventually get
this problem solved. As soon as I do, I'll let everyone know! Wink

_________________
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
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Oct 18, 2004 9:58 am    Post subject: Reply with quote

sounds good - i could use a zip dll Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements 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