Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Location
    Missouri, United States
    Posts
    476

    PB DLL and LUA Table????

    Ok I was fine until I got to this point lol.

    Im creating another dll in purebasic which is using a linked list, my question is dont i need someway of returning my linked list as a lua table for use in ams??? and how dwould i do that im lost any ideas suggestions would be helpful

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    only way is to pass the lua_state into the DLL which means your dll has to have a lua lib.

  3. #3
    Join Date
    May 2006
    Posts
    1,443
    and,it seems, you can access it with only C/C++ (at least i know so)
    because there is no Lua API for other than C language

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Actually, I've ported the Action portion of the SDK from C++ to PB with a Lua Library. My Timer Action Plugin is written in PB.

    BUT for some reason, it doesn't play nice with VISTA

  5. #5
    Join Date
    Dec 2007
    Location
    Missouri, United States
    Posts
    476
    k thanks guys now I just need to figure out how to implement it lol, theres a the lua static lib has been ported to pb its a lil outdated I think but should work... on aother note what are you guys using for c/c++ as far as coding n compiling.. notepad?

  6. #6
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

  7. #7
    Join Date
    Dec 2007
    Location
    Missouri, United States
    Posts
    476
    Quote Originally Posted by Worm View Post
    great stuff worm...thanks m8

Similar Threads

  1. Example: Using MySQL and AMS
    By Jonas DK in forum AutoPlay Media Studio 7.5 Examples
    Replies: 35
    Last Post: 12-26-2009, 06:13 AM
  2. FREE DLL: xqRecycleBin
    By CyberRBT in forum AutoPlay Media Studio 7.5 Examples
    Replies: 10
    Last Post: 03-26-2008, 07:29 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