| View previous topic :: View next topic |
| Author |
Message |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Sep 25, 2003 5:03 am Post subject: |
|
|
you've done a great job on your dll, mac, can't believe the small size for such a lot of features
serge _________________
|
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Sep 25, 2003 12:45 pm Post subject: VDSug.dll BUG FIX |
|
|
...
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 |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Sep 25, 2003 7:59 pm Post subject: |
|
|
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 |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Sep 25, 2003 9:39 pm Post subject: |
|
|
| 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 |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Sep 26, 2003 5:21 am Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sat Sep 27, 2003 1:47 pm Post subject: VDSUG.DLL BUG FIX |
|
|
...
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 |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Tue Sep 30, 2003 7:20 pm Post subject: |
|
|
Hey Mac! you old fart...
Good to see ya out and about! 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
moke |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Sep 30, 2003 8:28 pm Post subject: MORE FEATURES |
|
|
...
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).  _________________ 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 |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Sep 30, 2003 11:56 pm Post subject: |
|
|
thanks for the offer mac...will keep it in mind
serge _________________
|
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Oct 02, 2003 2:52 am Post subject: CREATEMENU |
|
|
...
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 |
|
 |
LOBO Valued Contributor


Joined: 14 Mar 2002 Posts: 241 Location: Wilmington, Delaware, USA
|
Posted: Thu Oct 02, 2003 11:23 am Post subject: |
|
|
Thanks Mac! Great extension. Very good to see you back!
- Mark |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Thu Oct 02, 2003 11:46 am Post subject: |
|
|
Excellent extension Mac.
Impressive size also  |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Oct 02, 2003 2:55 pm Post subject: CREATMENU "BAR" parameter |
|
|
...
Thanks guys.
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Oct 03, 2003 12:31 pm Post subject: VDSUG.DLL NEWS |
|
|
...
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 |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Fri Oct 03, 2003 4:16 pm Post subject: Re: VDSUG.DLL NEWS |
|
|
| 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.
... |
Hooorayyyyy!!!
Now maybe Santa can write that shinny new program (or at least the update of the old one) by Christmas time.
Happy Holidays
moke |
|
| 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
|
|