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 


API calls that should work but don't

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Sep 01, 2003 5:58 pm    Post subject: API calls that should work but don't Reply with quote

Hi All,

I've been working with a wrapper for some CAB libraries and my
script doesn't work, it just creates corrupted CAB files. Confused

I think I've programmed everything correctly. I think this could be
a bug in VDS.

(I took out the link for now, I will post a separate link when it's all done. Smile )

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Mon Sep 01, 2003 8:39 pm; edited 1 time in total
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: Mon Sep 01, 2003 6:32 pm    Post subject: Reply with quote

Quote:
I think this could be a bug in VDS.

No Twisted Evil I don't think it is a bug.
These are the two errors that I think are likely :

Original
Code:
%%HCabFile = @lib(cab10,CABCREATE,INT:,STR:%%CabFile)
%A = @lib(cab10,CABADDFILE,INT:,INT:%%HCabFile,STR:%%item)


Modified:
Code:
%%HCabFile = @lib(cab10,CABCREATE,INT:,STR:%%CabFile.cab)
%A = @lib(cab10,CABADDFILE,INT:,INT:%%HCabFile,STR:%%item,STR:%%item)

__________________________________________________________________________________
Modified code works well for me.
FF let me know your result.
FF. It' s a nice dll you have interfaced for vds Smile .
Let me know if it works for others too.
Regards

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


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Sep 01, 2003 8:37 pm    Post subject: Reply with quote

Nice! Very Happy

Thanks a lot CodeScript. Very Happy I must have missed one of the parameters.
Also for the extension .cab, it adds it on a different way you'll see
when I am done with the code. I'm also planning on adding in the
ZIP support. Smile

_________________
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 -> Advanced Help for VDS 5 & Up 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