Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Utils my start dll with functions for dbp :)

Author
Message
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 9th Oct 2004 07:57 Edited at: 14th Oct 2004 13:48
Hello! this is my first working dll with functions for dbp.
All in assembly language thats make it very small and faster.
Actually theres only two functions, but i plans begins add functions to this and other dlls.
Actually the named stringutils.dll have two functions to handle enviroment variables.

result$ = Environ$(Varname As String)
* Gets and enviroment variable.

SetEnv$ VarName As String, Value As String
* Creates a new enviroment variable.

I have included the dll, an example, and the asm source code if you like to improve or see how it work.
As ussual, just copy the dll to the dbp compiler plugins-user folder and thats all.

http://www.zonauy.com/darkbasic/consoleutils.zip

Cheers.

Roberto A. Berrospe Machin, Zona Servicios.
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 11th Oct 2004 13:45
Hello again. this is my second dll, 100% assembler with console functions Give the posibility to use the windows console, open it, write on it, read from it, and close it.

These are the supported commands actually.

OPEN CONSOLE
* Opens the console-
CLOSE CONSOLE
* CLOSES the console-
PRINT CONSOLE <TEXT AS STRING>
* Prints an specified text to the console
INPUT CONSOLE() AS STRING
* Read a typed text waiting for return key. Returns the string.

The fasm assembler source code file is inclucded.

http://www.zonauy.com/darkbasic/consoleutils.zip

Cheers!!!!

Roberto A. Berrospe Machin, Zona Servicios.
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 12th Oct 2004 04:21
for keyword highlighting for the console utils, copy this into a file

ConsoleUtils.ini


Used to Phoenix_insane
PC - amd athlon 2ghz, 512mb, geforce fx5200 128mb, 200gb, xp pro sp2
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 12th Oct 2004 04:21
forgot to say - great work, i love the console util it is very usseful - great for debugging

Used to Phoenix_insane
PC - amd athlon 2ghz, 512mb, geforce fx5200 128mb, 200gb, xp pro sp2
Torrey
20
Years of Service
User Offline
Joined: 20th Aug 2004
Location: New Jersey
Posted: 12th Oct 2004 05:24
Good job on these dll's! Maybe in time we'll have to team up and work on something together since you use the same asm compiler that I do.

That email you sent me ended up going to binary heaven, the one day I was deleting junk mail, I guess that I didn't highlight the message right, and went through the process of shift + delete, then hit enter...it wiped out that entire folder in outlook.
DarkPhear
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Brazil
Posted: 12th Oct 2004 07:03
What a great tool for debugging!!!!

Cleber de Mattos Casali, game programmer.
Author of DarkPhear (full freeware RPG), Retro River Raid and others. Download free games and demos at my page: http://darkphear.cjb.net
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 12th Oct 2004 13:35
Hey everybody!
I was fishing today and now i saw the messages...
Thanks for the words!!
I hope my tools can help every body!
Im implenting tools that i consider usefull to me, and as good for me, i think is good for every one.. ill continue releasing everything as gpl...
Torrey, i have not so much time, but i really like this and can spend some of my time to develop utilities. So, if you have a project and like to work together with me, just dropme an email; ill do the same with you

Cheers!!

Roberto A. Berrospe Machin, Zona Servicios.
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 14th Oct 2004 01:36 Edited at: 14th Oct 2004 01:37
Hey!
Updated Console Functions...
Actually support:
OPEN CONSOLE
* Opens the console-
CLOSE CONSOLE
* CLOSES the console-
PRINT CONSOLE <TEXT AS STRING>
* Prints an specified text to the console
INPUT CONSOLE() AS STRING
* Read an user typed text and wait for return key. Return the string.
SET CONSOLE COLOR <COLOR AS INTEGER>
* Changes the text and background colors for the console, wheres COLOR
is an integer value specifing the color.. these values are:
0 = White on Black
1 = Red on Black
2 = Green on Black
3 = Yellow on Black
4 = Blue on Black
5 = Magenta on Black
6 = Cyan on Black
7 = Black on Gray
8 = Black on White
9 = Red on White
10 = Green on White
11 = Yellow on White
12 = Blue on White
13 = Magenta on White
14 = Cyan on White
15 = White on White
GET CONSOLE COLOR() AS INTEGER
* Return the actual color value, 0 to 15
IS CONSOLE OPENED() AS BYTE
* Return 1 if the console is opened or 0 if its closed.


Ill add clear and locate maybe tomorrow...
The fasm source code is in the zip (GPL)

Enjoy!

http://www.zonauy.com/darkbasic/consoleutils.zip

Roberto A. Berrospe Machin, Zona Servicios.
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 14th Oct 2004 13:55
Hey again!
Wow, today i have worked some of my nigh time to finish my work
The console utils dll now support most used functions...
These are the functions:
OPEN CONSOLE
* Opens the console-
CLOSE CONSOLE
* CLOSES the console-
PRINT CONSOLE <TEXT AS STRING>
* Prints an specified text to the console
INPUT CONSOLE() AS STRING
* Read an user typed text and wait for return key.
Return the string.
SET CONSOLE COLOR <COLOR AS INTEGER>
* Changes the text and background colors for the console,
wheres COLOR is an integer value specifing the color..
these values are:
0 = White on Black
1 = Red on Black
2 = Green on Black
3 = Yellow on Black
4 = Blue on Black
5 = Magenta on Black
6 = Cyan on Black
7 = Black on Gray
8 = Black on White
9 = Red on White
10 = Green on White
11 = Yellow on White
12 = Blue on White
13 = Magenta on White
14 = Cyan on White
15 = White on White
GET CONSOLE COLOR() AS INTEGER
* Return the actual color value, 0 to 15
IS CONSOLE OPENED() AS BYTE
* Return 1 if the console is opened or 0 if its closed.
CLEAR CONSOLE
* Clears the console window to white on black and put the
cursor on the begining.
CLEAR CONSOLE COLOR <COLOR AS INTEGER>
* Clears the console window, but to the specified
combination of colors based on the set console
colors parameters.
LOCATE CONSOLE <XPOS AS INTEGER>,<YPOS AS INTEGER>
* Locates the cursor to the specified position and start
printing on this position.
ENVIRON$(VARNAME AS STRING) AS STRING
* Returns the specified enviroment variable string value
SETENV VARNAME AS STRING,VALUE AS STRING
* Sets a new enviroment variable value.

I have moved Environ$ and Setenv functions to console functions because are more (adecueted)

I need clear a little my code and do some things dinamically to make the dll smaller.. i think the dll can be 3kb instead 6.. but i need do some changes in the variables...

The source code (GPL'ed) and examples are still on the zip.

Maybe later ill make an installer with everything needed to install and start work with console functions under darkbasic

Well, i hope this can help every body to debug and, i dont know, maybe do some console thing before run your 3d apps games

http://www.zonauy.com/darkbasic/consoleutils.zip

Enjoy!

Roberto A. Berrospe Machin, Zona Servicios.
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 15th Oct 2004 02:46
this is getting better and better

Used to Phoenix_insane
PC - amd athlon 2ghz, 512mb, geforce fx5200 128mb, 200gb, xp pro sp2
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 16th Oct 2004 18:40 Edited at: 16th Oct 2004 18:42
Hello every one....

Well, for the insterested in my dll, here's the updated console functions dll file for DarkBasic.

I have added the extra function to complete the standart needed functions for the console. Can imagine which one? ...


The function needed to set the console window caption
SET CONSOLE TITLE <VALUE AS STRING>
* Sets the console Title...



Enjoy!

http://www.zonauy.com/darkbasic/consoleutils.zip

Roberto A. Berrospe Machin, Zona Servicios.
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 17th Oct 2004 13:20
Hello forum!
Im working on a dll that will give scripting utilities to dbp!
Actually the dll can execute Visual Basic Script code and you only need 3 lines!
The problem actually is that you can only pass parameters but not receive result still. This is the first release... (still ill not release the source code too)
The functions actually are:

VBS INITIALIZE
* Opens the library
VBS RELEASE
* Closes the library
VBS EXECUTE <CODE AS STRING>
* Executes the specified VBScript code

As usually i have added an example, and the dll is inside the zip.

http://www.zonauy.com/darkbasic/scripting.zip

Just giveme the report

Enjoy!

Roberto A. Berrospe Machin, Zona Servicios.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 19th Oct 2004 05:46
I take it the dll that you just posted can read activeX controls?


Join the group
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 19th Oct 2004 09:10
No, this one just execute vbscritpt code, but still dont return any value, you can just write values to the script..
But as you can see im trying to find the way to make a dll that can call activex "com/ole" functions.


Roberto A. Berrospe Machin, Zona Servicios.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 19th Oct 2004 09:13
Quote: "But as you can see im trying to find the way to make a dll that can call activex "com/ole" functions."


So you don't have that dll posted on this thread yet?


Join the group
Zona Servicios
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Florida - Uruguay
Posted: 20th Oct 2004 01:12
Not already.. be pacient

Roberto A. Berrospe Machin, Zona Servicios.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 20th Oct 2004 08:24
Do I have too?



OK


Join the group
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 16th Nov 2004 00:26
sorry to dig up an old topic - but what is happening at the moment with the asm dlls?

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2

Login to post a reply

Server time is: 2024-11-23 10:07:50
Your offset time is: 2024-11-23 10:07:50