logo

Macro Expert

Save your TIME!

Site Map About us
Home Overview Downloads Purchase Support Contact Us
 
 

Call an External DLL


This instruction is only for the advanced user who has experience in programing.

Call the function contained inside the external DLLs.

Click here to show the figure

Parameters

  • DLL file name Specifies the file name of the DLL.

  • Function name/ordinal Specifies the function name or ordinal number of the function.

  • Retrieve function by ordinal number Specifies how to retrieve the address of the function.

  • Function arguments Specifies the arguments list of calling function.

  • Store return value into Specifies a variable for storing the return value of calling the function.

  • Release DLL module after calling Specifies whether to release the DLL after calling. With the option unchecked, the DLL module will be released at the end of playback.

The arguments in a function call have the below form:

<Parameter-type code>:<Parameter value 1>;
<Parameter-type code>:<Parameter value 2>;
...
<Parameter-type code>:<Parameter value n>;

Parameter-type CodeShort CodeDataDescription
IntegerIInteger2 bytes, the hexadecimal notation 0x is supported.
LongLLong4 bytes, the hexadecimal notation 0x is supported.
ByteBByte1 bytes, the hexadecimal notation 0x is supported.
StringSText in DBCS If the character space is included in the text, the text must be quoted by the single or double quotation marks. In this case, the quotation marks could be represented by \' or \".
WStringWText in Unicode
DateDDate and time16 bytes (same as SYSTEMTIME in Windows API), the content should be quoted by the number sign '#'.
PointerPPointer4 bytes, a pointer to the buffer of a variable. The content must be a variable name. You can use the instruction "Advanced Set Variable Value" to pre-allocate the memory for the variable, or use the instruction to fill the variable by a structural data.

Example A:
Integer:10; Long:200; Date:#2007-09-20#; Pointer:v_size;

Example B:(using short code form)
S:Hello; L:0x200; S:"Jack Lee";

  • Introduction
  • Compare Editions
  • Installation and Uninstall
    • Minimum system requirements
    • Installnation
    • Uninstalling
  • Work environment
    • Getting familiar with Macro Manager
    • Folder panel
    • The tool bar of the macro list
    • Working with the progress window
    • Working with Macro Player Manager
  • Using Macro Expert
    • Basic concept of Macro Expert
    • Creating a new macro
    • Playing a macro manually
    • Recording/Editing TemporaryMacro
    • Playing TemporaryMacro
    • Stop Macro Service
    • Disabling all triggers of macro
  • Changing the properties of a macro
    • General
    • Scope
    • Triggers
    • Schedule
    • Play back
    • Advance
  • Triggering macro
    • Triggering macro overview
    • Idle trigger
    • Startup trigger
    • System event trigger
    • Resource event trigger
    • Driver trigger
    • Dial trigger
    • Hotkey
    • Window Trigger
    • File Trigger
  • Scheduling macro
    • Scheduling macro overview
    • Minute
    • Daily
    • Weekly
    • Monthly
    • Once
    • At a time
  • Changing Options
    • General
    • Hot keys
    • TemporaryMacro
    • Play back
    • Record
    • Macro list
    • Auto-logon
    • Appearance
  • Script Editor
    • Looking at the work area
    • Inserting an action
    • Editing an action
    • Removing one or more actions
    • Working with the variables
  • Macro Commands
    • General settings and Error Handling Options
    • Keyboard and mouse
      • Key action
      • Mouse action
      • Put a Text
      • Mouse Move Activity
      • Mouse Action on Object
    • Dialog
      • Display Message Dialog
      • Select a Folder
      • File-selection Dialog
      • Input Dialog
      • Show Tip Text
      • Hide tip text
    • Wait
      • Delay
      • Wait for a window
      • Wait for color
      • Wait for keystroke
      • Wait for mouse motion
      • Wait for file
      • Wait for process
    • Play Control
      • On Error
      • Pause
      • Stop
      • End
      • Play speed
      • Play a macro
      • Set emulation level
    • System
      • Run
      • Image search
      • Text earch based on image
      • Generate random number
      • Log off
      • Start Screen-Saver
      • Lock workstation
      • Shut down computer
      • Registry Operation
      • Call an External DLL
      • Send Message to Window
      • Get Text from Object
    • Flow
      • Comments
      • Separator line
      • Label
      • Goto
      • If variable
      • If color
      • If File Exists
      • If Window Exists
    • Loop
      • Loop
      • Loop Windows
      • Loop Files
      • Loop Processes
      • Loop Control
    • Window
      • Window action
    • Clipboard
      • Copy, Cut, Paste and Clear
      • Put a text to the clipboard
      • Get the text from the clipboard
    • Multimedia
      • Play an audio
      • Increase/Decrease Volume
      • Adjust volume
      • Sound Switch
      • Sound on/off
      • CD Player
    • Network
      • Make remote access connection
      • Disconnect remote access connection
      • Connect network resource
      • Disonnect network resource
      • Clear Internet Explorer History
      • Delete Internet Explorer Cookies
      • Delete Tempoary Internet Files
      • Internet Explorer Navigation Actions
    • Webpage
      • On Popup Window on Webpage
      • Open a Web page
      • Connect a Opened Webpage
      • Close Webpage
      • Read Field on Webpage
      • Fill Field on Webpage
      • Submit Form on Webpage
      • Click Element on Webpage
      • Find Element on Webpage
    • File
      • Copy files
      • Move files
      • Delete files
      • Create a folder
      • Delete a folder
      • Rename files
      • Set file attributes
      • Change file time
      • Synchronize Folders
      • Compress files
      • Extract a zipped file
      • Read text file
      • Write text file
    • Document
      • Open Document
      • Close Document
      • Save Document
      • Read Excel Cell
      • Write Excel Cell
      • Find Excel Cell
      • Add Worksheet
      • Remove Worksheet
      • Activate Worksheet
    • Variable
      • Increase/Decrease value
      • Set value
      • Advanced Set Variable Value
      • Advanced Get Variable Value
    • Database
      • Execute SQL Statement
      • Close Dataset
      • Set Field Value
      • Get Field Value
      • Change Current Record Position
  • Command Line Usage
  • Variables and Expressions
  • Frequent Question and Answer
  • Purchasing Macro Expert
  • Contact Grass Software
  • License Agreement
  • Help & Support
    Support
    Online Manual
    Online Bug Report
    Suggestion & Comments
    Downloads
    Macro Expert
    Advanced Key and Mouse Recorder
    GS Typing Tutor
    GS Typing Test
    GS Typing Network
    Websites
    GS Typing Tutor
    One-hand typing tutor
    Macro Expert
    Advanced Key and Mouse Recorder
    Company
    About Us
    Press Room
    Privacy Policy
    Links
    Copyright © 2002-2009 GrassSoftware. All Rights Reserved.