ScriptBasic
February 09, 2012, 08:47:07 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration Disabled Send an e-mail to support @ scriptbasic.org to request a membership to this forum. (include desired forum name)
 
   Home   Wiki Help Search Login Register  
Pages: [1]
  Print  
Author Topic: What is inside a DLL  (Read 621 times)
Techecho
Newbie
*
Posts: 1


« on: May 08, 2010, 12:32:39 PM »

I have not worked with DLL's directly before
What I was wanting is to find out what is in any DLL
Lets pick cio.dll as an example
how can I find what commands / functions are inside

Logged
support
Administrator
*****
Posts: 369


« Reply #1 on: May 08, 2010, 02:45:43 PM »

The ScriptBasic extension module DLLs are API and 3rd party interfaces with a tight integration with the ScriptBasic API. This gives ScriptBasic users a high level or Basic like interface to external functionality. ScriptBasic is well documented and the source is free to explore.

CIO Documentation

Code: (CIO.BAS)
module cio

declare sub ::gotoxy        alias "gotoxy"     lib "cio"
declare sub ::kbhit         alias "sbkbhit"    lib "cio"
declare sub ::getch         alias "sbgetch"    lib "cio"
declare sub ::getche        alias "sbgetche"   lib "cio"
declare sub ::detach        alias "sbdetach"   lib "cio"
declare sub ::GetTitle      alias "sbgettitle" lib "cio"
declare sub ::SetTitle      alias "sbsettitle" lib "cio"
declare sub ::break         alias "sbbreak"    lib "cio"
declare sub ::nobreak       alias "sbnobreak"  lib "cio"

declare sub ::SizeX         alias "sbscrx"     lib "cio"
declare sub ::SizeY         alias "sbscry"     lib "cio"
declare sub ::CursorX       alias "sbcurzx"     lib "cio"
declare sub ::CursorY       alias "sbcury"     lib "cio"
declare sub ::BufferSizeX   alias "sbsizx"     lib "cio"
declare sub ::BufferSizeY   alias "sbsizy"     lib "cio"
declare sub ::PossibleMaxX  alias "sbmaxx"     lib "cio"
declare sub ::PossibleMaxY  alias "sbmaxy"     lib "cio"

declare sub ::SetWindow     alias "sbsetcw"    lib "cio"
declare sub ::SetCursor     alias "sbsetcur"   lib "cio"
declare sub ::SetColor      alias "sbsetcol"   lib "cio"

global Const FBlue      = 0x0001
global Const FGreen     = 0x0002
global Const FRed       = 0x0004
global Const FIntense   = 0x0008
global Const BBlue      = 0x0010
global Const BGreen     = 0x0020
global Const BRed       = 0x0040
global Const BIntense   = 0x0080
global Const FGrey      = 0x0007
global Const FWhite     = 0x000F
global Const BGrey      = 0x0070
global Const BWhite     = 0x00F0

declare sub ::Cls           alias "sbcls"      lib "cio"

end module
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!