Author Topic: What is inside a DLL  (Read 12830 times)

Techecho

  • Guest
What is inside a DLL
« on: May 08, 2010, 07: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


Support

  • Administrator
  • *****
  • Posts: 1
    • View Profile
Re: What is inside a DLL
« Reply #1 on: May 08, 2010, 09: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

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