Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2005
    Posts
    25

    Oops Luacom plugin problem!?

    Hello,

    I'm trying to use luacom plugin in Autoplay Media Studio to use Activex!
    But, nothing happend! Is this plugin work with all Activex.dll?
    I'm trying to use activex control name HideMyFoldersActiveX (www.eltima.com) but it does not work!
    With all others activex which I was try, It work, but here is problem.

    using:
    ----------------
    x = luacom.CreateObject("HMFAx.HideMyFoldersAx.3.5.10" )
    x.setCurrentHidingEngine("Engine");
    x:enableHiding()
    ----------------


    When I change function "setCurrentHidingEngine" to example "xxx"somebody else there is error, which means that
    luacom plugin recognize that there is not function "xxx" in activex.dll..
    What is problem here?

    Thanks!

  2. #2
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    So how do you know it's not working? It looks like what you there just sets it up. You have to use
    Code:
    retval = x:HideFile(strFileName)
    to actually hide a file. Here is the controls typelib info which list all the properties and methods and how to call them with LuaCOM.
    Hide My Folders ActiveX 3.5.10 Type Library Type Library

    --------------------------------------------------------------------------------

    Summary
    Components
    HideMyFoldersAx - HideMyFoldersAx Class
    Enumerations
    Interfaces
    IHideMyFoldersAx - IHideMyFoldersAx Interface
    --------------------------------------------------------------------------------

    Detailed description
    Components Classes
    HideMyFoldersAx
    HideMyFoldersAx Class

    {3184282D-86A0-48B1-8153-B0009D9EBB44}
    IHideMyFoldersAx is the default interface for this component.
    Instances of this component can be created.



    --------------------------------------------------------------------------------

    Enumerations

    --------------------------------------------------------------------------------

    Interfaces
    IHideMyFoldersAx
    {B0FFC6B4-D960-41AC-8897-3626ADDD25C0}

    IsHidingEnabled
    VARIANT_BOOL IsHidingEnabled()
    property IsHidingEnabled
    LuaCOM examples:

    com_obj.IsHidingEnabled
    com_obj:getIsHidingEnabled()

    Count
    long Count()
    property Count
    LuaCOM examples:

    com_obj.Count
    com_obj:getCount()

    EnableHiding
    VARIANT_BOOL EnableHiding()
    method EnableHiding
    LuaCOM examples:

    retval = com_obj:EnableHiding()


    DisableHiding
    VARIANT_BOOL DisableHiding()
    method DisableHiding
    LuaCOM examples:

    retval = com_objisableHiding()


    UnhideAllFiles
    VARIANT_BOOL UnhideAllFiles()
    method UnhideAllFiles
    LuaCOM examples:

    retval = com_obj:UnhideAllFiles()


    HideFile
    VARIANT_BOOL HideFile(BSTR strFileName)
    method HideFile
    LuaCOM examples:

    retval = com_obj:HideFile(strFileName)


    UnhideFile
    VARIANT_BOOL UnhideFile(BSTR strFileName)
    method UnhideFile
    LuaCOM examples:

    retval = com_obj:UnhideFile(strFileName)


    IsFileHidden
    VARIANT_BOOL IsFileHidden(BSTR strFileName)
    method IsFileHidden
    LuaCOM examples:

    retval = com_obj:IsFileHidden(strFileName)


    AddItem
    VARIANT_BOOL AddItem(BSTR strFileName, VARIANT_BOOL bInitialState)
    method AddItem
    LuaCOM examples:

    retval = com_obj:AddItem(strFileName, bInitialState)


    RemoveAt
    VARIANT_BOOL RemoveAt(long lItemIndex)
    method RemoveAt
    LuaCOM examples:

    retval = com_obj:RemoveAt(lItemIndex)


    Clear
    VARIANT_BOOL Clear()
    method Clear
    LuaCOM examples:

    retval = com_obj:Clear()


    GetItemFile
    VARIANT_BOOL GetItemFile(long lItemIndex, BSTR* pstrFileName)
    method GetItemFile
    LuaCOM examples:

    retval, pstrFileName = com_obj:GetItemFile(lItemIndex)


    SetItemFile
    VARIANT_BOOL SetItemFile(long lItemIndex, BSTR strNewFileName)
    method SetItemFile
    LuaCOM examples:

    retval = com_obj:SetItemFile(lItemIndex, strNewFileName)


    GetItemState
    VARIANT_BOOL GetItemState(long lItemIndex, VARIANT_BOOL* pbState)
    method GetItemState
    LuaCOM examples:

    retval, pbState = com_obj:GetItemState(lItemIndex)


    SetItemState
    VARIANT_BOOL SetItemState(long lItemIndex, VARIANT_BOOL bNewState)
    method SetItemState
    LuaCOM examples:

    retval = com_obj:SetItemState(lItemIndex, bNewState)


    Find
    long Find(BSTR strFileName)
    method Find
    LuaCOM examples:

    retval = com_obj:Find(strFileName)


    SetCurrentHidingEngine
    VARIANT_BOOL SetCurrentHidingEngine(BSTR strApplicationId)
    method SetCurrentHidingEngine
    LuaCOM examples:

    retval = com_obj:SetCurrentHidingEngine(strApplicationId)


    GetWhiteAppListCount
    long GetWhiteAppListCount()
    method GetWhiteAppListCount
    LuaCOM examples:

    retval = com_obj:GetWhiteAppListCount()


    GetWhiteAppListItem
    VARIANT_BOOL GetWhiteAppListItem(long lItemIndex, BSTR* strFullPathToApplicationFile)
    method GetWhiteAppListItem
    LuaCOM examples:

    retval, strFullPathToApplicationFile = com_obj:GetWhiteAppListItem(lItemIndex)


    ClearWhiteAppList
    VARIANT_BOOL ClearWhiteAppList()
    method ClearWhiteAppList
    LuaCOM examples:

    retval = com_obj:ClearWhiteAppList()


    AddWhiteAppListItem
    VARIANT_BOOL AddWhiteAppListItem(BSTR strFullPathToApplicationFile)
    method AddWhiteAppListItem
    LuaCOM examples:

    retval = com_obj:AddWhiteAppListItem(strFullPathToApplicati onFile)


    RemoveWhiteAppListItem
    VARIANT_BOOL RemoveWhiteAppListItem(long lItemIndex)
    method RemoveWhiteAppListItem
    LuaCOM examples:

    retval = com_obj:RemoveWhiteAppListItem(lItemIndex)


    AddCurProcessToWhiteAppList
    VARIANT_BOOL AddCurProcessToWhiteAppList()
    method AddCurProcessToWhiteAppList
    LuaCOM examples:

    retval = com_obj:AddCurProcessToWhiteAppList()


    RemoveCurProcessFromWhiteAppList
    VARIANT_BOOL RemoveCurProcessFromWhiteAppList()
    method RemoveCurProcessFromWhiteAppList
    LuaCOM examples:

    retval = com_obj:RemoveCurProcessFromWhiteAppList()


    AddWhiteAppPID
    VARIANT_BOOL AddWhiteAppPID(long nProcessID)
    method AddWhiteAppPID
    LuaCOM examples:

    retval = com_obj:AddWhiteAppPID(nProcessID)


    RemoveWhiteAppPID
    VARIANT_BOOL RemoveWhiteAppPID(long nProcessID)
    method RemoveWhiteAppPID
    LuaCOM examples:

    retval = com_obj:RemoveWhiteAppPID(nProcessID)


    ClearWhiteAppPIDList
    void ClearWhiteAppPIDList()
    method ClearWhiteAppPIDList
    LuaCOM examples:

    com_obj:ClearWhiteAppPIDList()


    EnableWhiteAppExtendedCheck
    void EnableWhiteAppExtendedCheck()
    method EnableWhiteAppExtendedCheck
    LuaCOM examples:

    com_obj:EnableWhiteAppExtendedCheck()


    DisableWhiteAppExtendedCheck
    void DisableWhiteAppExtendedCheck()
    method DisableWhiteAppExtendedCheck
    LuaCOM examples:

    com_objisableWhiteAppExtendedCheck()
    Dermot

    I am so out of here

  3. #3
    Join Date
    Jun 2005
    Posts
    25
    OK, thanks I wil try it!

Similar Threads

  1. SQLite plugin problem
    By swilk in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 11-10-2009, 05:22 PM
  2. FTP Plugin Problem with large files (2gb+)
    By christhomas in forum AutoPlay Media Studio 7.5
    Replies: 1
    Last Post: 09-02-2008, 04:23 PM
  3. Problem with LuaCOM plugin
    By columbo in forum AutoPlay Media Studio 7.5
    Replies: 2
    Last Post: 12-10-2007, 05:39 AM
  4. Plugin: LuaCOM
    By Brett in forum Setup Factory 8.0 Examples
    Replies: 1
    Last Post: 08-04-2005, 09:18 AM
  5. Action Plugin: LuaCOM
    By Brett in forum AutoPlay Media Studio 5.0
    Replies: 19
    Last Post: 01-31-2005, 10:58 PM

Tags for this Thread

Posting Permissions

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