Actions
Backport #3263
closeddl/cparser.rb error trying to use Windows COM method of "IApplication::Login"
Status:
Closed
Assignee:
Description
=begin
Try to call a com entry point in dll FComApi.dll and ruby dl parser generated the following error:
C:/Ruby19/lib/ruby/1.9.1/dl/cparser.rb:55:in parse_signature': undefined local variable or method
proto' for FComApi:Module (NameError)
from C:/Ruby19/lib/ruby/1.9.1/dl/import.rb:116:in extern' from E:/DSxxxxxx/xxxxxx/fortislogin.rb:33:in
module:FComApi'
from E:/DSxxxxxx/xxxxxx/fortislogin.rb:30:in `'
Here is the relevant code from fortislogin.rb, showing lines 30 through 34.
module FComApi
extend DL::Importer
dlload 'FComApi'
extern 'long IApplication::Login(char*, char*, long)'
end
I get the same error with the one click rubyinstaller and the zip file containing the windows ruby files for 1.9.1-p376
=end
Updated by nobu (Nobuyoshi Nakada) almost 14 years ago
- Category set to lib
- Status changed from Open to Assigned
- Assignee set to yugui (Yuki Sonoda)
=begin
r22720
=end
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Description updated (diff)
- Status changed from Assigned to Closed
Actions
Like0
Like0Like0