Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3

Thread: VB dll

  1. #1
    Join Date
    Nov 2005
    Posts
    98

    VB dll

    Is there any way to AMS6 to understand a dll made with VisualBasic or it understand only C++?

    I really don't understand C++ and I don't want to pass hours on a little project! My dll is already done but I'm unable to run it.

    Thanks

    Eliminator

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Help file, Dll Action:

    Example 1
    DLLResult = DLL.CallFunction("winmm.dll", "mciSendStringA", "\"Set CDAudio Door Open\",0,0,0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);

    Calls the mciSendStringA function in the Windows winmm.dll file to send a "Set CD Audio Door Open" command to the MCI driver (along with two parameters, both 0). This causes the CD-ROM drive tray to open (i.e. it ejects the CD).

    Example 2
    DLL.CallFunction ( _SystemFolder .. "\\User32.dll", "SetCursorPos", "0,0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);

    Calls the SetCursorPos function in the "Windows\System32\User32.dll" file to move the mouse cursor to the upper left corner of the screen (i.e. to coordinates "0,0"). Since no variable is provided to store the return value, if the DLL function returns anything it will just be ignored.

    Good luck

    Yossi

  3. #3
    Join Date
    Nov 2005
    Posts
    98
    Thank you

    Eliminator

Similar Threads

  1. Calling a VB DLL
    By lascoff in forum Setup Factory 7.0
    Replies: 7
    Last Post: 02-11-2005, 07:11 AM
  2. Official Release Of SetMask DLL
    By Worm in forum AutoPlay Media Studio 5.0
    Replies: 23
    Last Post: 01-24-2005, 09:00 PM
  3. My first VB DLL for AMS, or what am I doing wrong?
    By itamar in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 07-25-2004, 01:56 PM
  4. Calling DLL problem
    By Willis in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 05-11-2004, 03:57 PM
  5. SUF6 - Call DLL action
    By Romahe in forum Setup Factory 5.0
    Replies: 1
    Last Post: 11-27-2001, 06:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts