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 


Xini.dll

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Jan 27, 2004 8:59 am    Post subject: Xini.dll Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Jan 27, 2004 1:52 pm    Post subject: Reply with quote

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 Sad and suggested alternatives instead. If U want I may post it as a DSU or dll.
_________________
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
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Jan 27, 2004 2:15 pm    Post subject: Reply with quote

Yep i would be interested !

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Tue Jan 27, 2004 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Jan 27, 2004 6:25 pm    Post subject: Reply with quote

Hi Nathan
Here you go
Deletes entire sections/keys using API - very fast!
I think allother functions are already in VDS

http://codescript.vdsworld.com/VDS5src/IniDSU.zip

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


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Wed Jan 28, 2004 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Thu Jan 29, 2004 11:23 am    Post subject: Reply with quote

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:

Question
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
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Thu Jan 29, 2004 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Fri Jan 30, 2004 12:59 pm    Post subject: Reply with quote

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

Sad
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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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