| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Tue Jan 27, 2004 8:59 am Post subject: Xini.dll |
|
|
Anyone have the source for the Xini.dll or know how to get in touch with:
Ralph.Ludwig@lhsysnet.com (email does not work anymore)
So it can be made compatible with VDS5, the delete function in it is great and simple One Line of code !
Nathan |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Jan 27, 2004 1:52 pm Post subject: |
|
|
I don't know about that but in VDS 5.x it is really simple to delete entire sections and keys I posted on the forum (single line of code) but surpsisingly no one ever seemed interested and suggested alternatives instead. If U want I may post it as a DSU or dll. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Tue Jan 27, 2004 2:15 pm Post subject: |
|
|
Yep i would be interested !
Nathan |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Tue Jan 27, 2004 3:14 pm Post subject: |
|
|
I already have a DLL doing INI file manipulations - read/delete. If CodeScript doesn't make one
I might wrap it up and release it....
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Wed Jan 28, 2004 2:01 pm Post subject: |
|
|
It would be possible to make the XINI DLL and other DLLs that are uncompatible with VDS 5
work with VDS 5 by using the VDSRUN DLL, part of the VDSDLL 3:
http://www.vdsworld.com/vdsdll/vds5/vdsrun.dll
Tommy |
|
| Back to top |
|
 |
DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Thu Jan 29, 2004 11:23 am Post subject: |
|
|
| Tommy wrote: | It would be possible to make the XINI DLL and other DLLs that are uncompatible with VDS 5
work with VDS 5 by using the VDSRUN DLL, part of the VDSDLL 3:
|
Wow I never considered that. I'm still using VDS4 for some stuff because a few old favorite dll's are not compatible with VDS5.
Could you please post a simple example showing how one could do this ?
.........Thanks
David.......... |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Thu Jan 29, 2004 1:17 pm Post subject: |
|
|
This is a simple example of using XINI.DLL with VDSRUN.DLL:
| Code: | %i = @path(%0)test.ini
inifile open,%i
inifile write,test section,test value 1,test value
inifile write,test section,test value 2,test value
directory change,@path(%0)
#define command,rundll
#define function,rundll
external vdsrun.dll
%x = @rundll(load,,xini.dll)
info Before delete:@cr()@rundll(xini,info,%i,test section,@cr())
%x = @rundll(xini,delete,%i,test section,test value 1)
info After delete:@cr()@rundll(xini,info,%i,test section,@cr())
rundll unload,xini |
It does appear to work fairly slow for me, I'm not sure yet whether that's due to XINI.DLL
or VDSRUN.DLL.
Tommy |
|
| Back to top |
|
 |
DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Fri Jan 30, 2004 12:59 pm Post subject: |
|
|
| Tommy wrote: |
It does appear to work fairly slow for me, I'm not sure yet whether that's due to XINI.DLL
or VDSRUN.DLL.
Tommy |
Hmmm. Yes indeed it pegs CPU at 100% for a couple of seconds.
When I get a little time I'll try it with some other dll's.
Thanks............
.............David |
|
| Back to top |
|
 |
|