Giter VIP home page Giter VIP logo

Comments (10)

chenxuuu avatar chenxuuu commented on June 9, 2024

from llcom.

Layty avatar Layty commented on June 9, 2024

还是会崩溃,大佬又没试过导入自己用c或者cpp写的dll, 我用5.3.6编译的lua 以及动态库可以导入,在llcom上无法导入

from llcom.

chenxuuu avatar chenxuuu commented on June 9, 2024
  1. 你可以直接把你的dll贴在这里,看看到底是什么编译参数
  2. 之前测试过该类功能,可用:#22 (comment) (当时使用的是x86目标架构,需要配合当时的llcom版本运行测试)

from llcom.

Layty avatar Layty commented on June 9, 2024

我是绑定到C++上
代码放在这里 https://github.com/Layty/LuaLib/tree/main/lua

image

from llcom.

chenxuuu avatar chenxuuu commented on June 9, 2024

直接把你测试用的dll贴在这里

from llcom.

Layty avatar Layty commented on June 9, 2024

https://cowtransfer.com/s/d836c236668c4b 点击链接查看 [ mylib.rar ] ,或访问奶牛快传 cowtransfer.com 输入传输口令 ahkd8v 查看; 奶牛快传的连接

from llcom.

chenxuuu avatar chenxuuu commented on June 9, 2024

请直接提供能让我直接复现你说的问题的测试脚本与DLL文件

from llcom.

chenxuuu avatar chenxuuu commented on June 9, 2024

issue模板里的复现步骤你觉得能让我复现出来吗

from llcom.

Layty avatar Layty commented on June 9, 2024

重新传了,压缩包如下,里面log为空
image

压缩包在这里
https://cowtransfer.com/s/e0b785f4136540 点击链接查看 [ mytest.rar ] ,或访问奶牛快传 cowtransfer.com 输入传输口令 f2nnl4 查看;

脚本如下
require "libEasy"
vv=LuaGetVec("11223344")
print(LuaVecToString(vv))

lua直接运行hello.lua 可以 成功
image

llcom 有时候运行直接崩溃,退出程序

image

有时候提示
image

from llcom.

chenxuuu avatar chenxuuu commented on June 9, 2024

根据截图,报错信息是死在了lua\LuaBridge\Source\LuaBridge\detail\Namespace.h文件的断言里,并不是死在llcom中:
图片

软件调用的dll崩溃,也会导致软件闪退,这很正常

建议先排查一下为何在此处崩溃

from llcom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.