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 


VDSUG.DLL
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Sep 25, 2003 5:03 am    Post subject: Reply with quote

you've done a great job on your dll, mac, can't believe the small size for such a lot of features Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Sep 25, 2003 12:45 pm    Post subject: VDSug.dll BUG FIX Reply with quote

...

Thanks guys.

Fixed a bug in "!clipboard!" option that was adding extra chars in
a loop.

http://www.trinex.net/users/mac/vdsug/

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Tue Oct 07, 2003 6:06 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Sep 25, 2003 7:59 pm    Post subject: Reply with quote

Is the VDSUG.DLL able to load any non-VDS DLL and use functions?
_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Mon Oct 20, 2003 8:49 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


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

PostPosted: Thu Sep 25, 2003 9:39 pm    Post subject: Reply with quote

FreezingFire wrote:
Is the VDSUG.DLL able to load any non-VDS DLL and use functions?


Indeed:

You may use non-VDS DLL functions with VDSUG. DLL functions accept up to 20 parameters.

Return types are INT and STR only at this time.

Greetz
Dr. 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: Fri Sep 26, 2003 5:21 am    Post subject: Reply with quote

Yeah I used that for an example in a API call that takes more than 8 parameters that makes a bitmap pixels transparent. The dll doesnot suport structures though.
http://codescript.vdsworld.com/VDS5src/TransparentBlt.zip
It is on the source code section of my site.

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


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Sep 27, 2003 1:47 pm    Post subject: VDSUG.DLL BUG FIX Reply with quote

...

Fixed bug that did not trim percent symbol from VDS handle used
with the EXTERNAL command (thanks CodeScript).

http://www.trinex.net/users/mac/vdsug/

Many thanks to all who are testing/using VDSug.dll.

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Tue Oct 07, 2003 6:09 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Tue Sep 30, 2003 7:20 pm    Post subject: Reply with quote

Hey Mac! you old fart...

Good to see ya out and about! Smile I guess I need to stop lurking and check in more often now.

BTW - not to open up a can of worms but binary supprt would be great Smile

moke
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Sep 30, 2003 8:28 pm    Post subject: MORE FEATURES Reply with quote

...

For those who may be unaware, VDSUG.DLL is freeware, and is
compatible with VDS 3 and later.


http://www.trinex.net/users/mac/vdsug/

Features added for use in calling external DLLs:

Added two API structs ("RECT" and "POINT"), internal number and
string buffers, and commands/functions to set and retrieve them.
These are arrays of 20, so there's always one available for each
parameter. See the "DLL Commands, Functions, and Structures"
section in vdsug.txt.

NOTE:
I can add more structs if anyone wants to post or email me a list of
API structs that you would like to use in VDS.


Parameters that take no other values (STRBUF, STRADDR, STRSIZE,
INTBUF, INTADDR) no longer require a ":" with them.

Fixed bug that did not trim leading percent symbol from VDS handle
when used with external DLL function "HANDLE:" parameter.

moke - the direct FILE IO routines will most likely remain "as is"
(TEXT and HEX), unless I find bugs (or a faster HEX routine). Wink

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Tue Oct 07, 2003 6:10 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Sep 30, 2003 11:56 pm    Post subject: Reply with quote

thanks for the offer mac...will keep it in mind Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Oct 02, 2003 2:52 am    Post subject: CREATEMENU Reply with quote

...

Added a CREATEMENU command to VDSug.dll.

Create up to 100 total menus and submenus. Submenu clicks generate
"menu name" events (does NOT add "MENU" to event). These use your
standard menu fonts like normal VDS menus. No "check" or "bitmap"
support (yet).

Syntax:
UG CREATEMENU, control number (1-100), control type (menu,submenu),
menu name (returns this as event on submenus),
parent menu number (0-100)

Example (File -> Open menu, with 2 submenus on Open):
UG CREATEMENU, 1, MENU, &File, 0
UG CREATEMENU, 2, MENU, &Open, 1
UG CREATEMENU, 3, SUBMENU, &MyFile, 2
UG CREATEMENU, 4, SUBMENU, &YourFile, 2

See the vdsug.txt file for details.

http://www.trinex.net/users/mac/vdsug/

The DLL size is approx 26k...

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Tue Oct 07, 2003 6:10 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Thu Oct 02, 2003 11:23 am    Post subject: Reply with quote

Thanks Mac! Great extension. Very good to see you back!

- Mark
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Thu Oct 02, 2003 11:46 am    Post subject: Reply with quote

Excellent extension Mac. Very Happy

Impressive size also Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Oct 02, 2003 2:55 pm    Post subject: CREATMENU "BAR" parameter Reply with quote

...

Thanks guys. Smile

Added a "BAR" parameter to the VDSug.dll CREATEMENU command
to separate menu items. Also added a CREATEMENU example to
ug_sample.zip (thanks to Sheep).

Syntax:
UG CREATEMENU, NULL, BAR, NULL, parent menu number

Example:
UG CREATEMENU, NULL, BAR, NULL, 1

All other parameters are ignored except the parent. Menu bars are
not included in the 100 menus/submenus limit.

http://www.trinex.net/users/mac/vdsug/

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Tue Oct 07, 2003 6:11 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Oct 03, 2003 12:31 pm    Post subject: VDSUG.DLL NEWS Reply with quote

...

I am re-working the structure routines, so be aware that the
current RECT and POINT structs will be changed to something
more generic. I apologize for changing syntax, but the DLL is still
in the testing phase and things like this may happen occasionally.
Thanks for your indulgence.

Also, you may have noticed the BUFSIZE param was changed to
STRSIZE in the vdsug.txt file. The BUFSIZE param still works in
the current version, but in the next update it will be removed.
You should modify any existing BUFSIZE code to STRSIZE.

There will also be a RAW parameter added to file IO routines
(hopefully in the next update), as well as a !BUFFER! param that
will allow direct file read/write without returning the data to VDS.

http://www.trinex.net/users/mac/vdsug/

EDIT - looks like the parameter will be "RAWDATA" instead
of "RAW", which caused some conflicts.

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361


Last edited by Mac on Tue Oct 07, 2003 6:04 pm; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Fri Oct 03, 2003 4:16 pm    Post subject: Re: VDSUG.DLL NEWS Reply with quote

Mac wrote:
...
There will also be a RAW parameter added to file IO routines
(hopefully in the next update), as well as a !BUFFER! param that
will allow direct file read/write without returning the data to VDS.
...


Wave

Hooorayyyyy!!!

Now maybe Santa can write that shinny new program (or at least the update of the old one) by Christmas time.


Happy Holidays Smile
moke
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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