
ruby、api、programming
iteye_12646
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
如何透過Ruby呼叫Win32API
研究了一下.. 寫出來當Memo..我先以一個簡單的例子來解說,就用大家最愛的MessageBox吧!require 'win32api'msgbox = Win32API.new('user32', 'MessageBox', %w(p p p i), 'i')msgbox.call(0, "Message body", "Messagebox title", 1) # hwnd, lpText...2007-02-20 08:30:11 · 225 阅读 · 0 评论 -
如何透過Ruby呼叫Win32API
研究了一下.. 寫出來當Memo..我先以一個簡單的例子來解說,就用大家最愛的MessageBox吧!require 'win32api'msgbox = Win32API.new('user32', 'MessageBox', %w(p p p i), 'i')msgbox.call(0, "Message body", "Messagebox title", 1) # hwnd, lpText...2007-02-20 08:30:11 · 118 阅读 · 0 评论 -
Win32API Sample: MessageBox
require 'Win32API'=begin Message Box: Coded by CFC <at> Zuso Security CFC <zusocfc@gmail.com> 2007/2/16=endclass Msgbox def initialize(lpText="", lpCaption="", wType = 0) Win32API....2007-02-20 08:32:25 · 251 阅读 · 0 评论 -
Win32API Sample: MessageBox
require 'Win32API'=begin Message Box: Coded by CFC2007-02-20 08:32:25 · 227 阅读 · 0 评论