Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用内联汇编器调用带有资源字符串消息的异常?
我尝试了各种方法,但似乎没有任何效果。我得到诸如内联汇编器语法错误或操作数大小不匹配之类的东西。
resourcestring sMessage = 'Test 123'; procedure foo; asm mov eax, @sMessage push eax call Exception.CreateRes end;