Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Posts
    3

    problem with DLL.CallFunction

    Hi,

    I need to use LL.CallFunction with a SessionVar as argument which is a string.

    I try this with no success :
    DLL.CallFunction(_TempLaunchFolder .. "\\mydll.dll", "myfunc", "\"SessionVar.Expand(\"%MyVar%\")\"", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL)

    MyFync receive the string "SessionVar.Expand(\"%MyVar%\")" and not the value of the SessionVar.

    I also try this :
    DLL.CallFunction(_TempLaunchFolder .. "\\mydll.dll", "myfunc", SessionVar.Expand("%MyVar%"), DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL)

    MyFunc receive a NULL string ;(

    Please help

    thanks

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    TRY THIS:
    Code:
    DLL.CallFunction(_TempLaunchFolder .. "\\mydll.dll", "myfunc", "\""..SessionVar.Expand("%MyVar%").."\"", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL)

Similar Threads

  1. Problem installing fonts
    By ByronFS in forum Setup Factory 7.0
    Replies: 5
    Last Post: 05-08-2006, 12:23 PM
  2. Video Problem
    By ScottDuncan in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 07-10-2004, 01:38 PM
  3. PROBLEM: Setup Starts and then Crashes
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-15-2002, 03:02 PM
  4. PROBLEM: Setup Requests Disk 2 in a Single File Setup
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-09-2002, 02:04 PM
  5. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 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