| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Sep 01, 2003 5:58 pm Post subject: API calls that should work but don't |
|
|
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.
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. ) _________________ 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 |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Sep 01, 2003 6:32 pm Post subject: |
|
|
| Quote: | | I think this could be a bug in VDS. |
No 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 .
Let me know if it works for others too.
Regards _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Sep 01, 2003 8:37 pm Post subject: |
|
|
Nice!
Thanks a lot CodeScript. 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.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|
|
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
|
|