Project

General

Profile

Bug #2358 ยป main.rb

Script que genera la excepcion - chavista (Luis Adolfo Hernandez Lara), 11/12/2009 06:08 AM

 
1
require 'dl/import'
2

    
3
module LIBC  extend DL::Importer
4
	dlload 'zkemsdk'
5

    
6
	extern 'short Z_Connect_NET(void *,long)'
7
	extern "short Z_GetTime()"
8
end
9

    
10
puts LIBC.Z_Connect_NET("192.168.1.201",4370).to_s
11

    
12
puts LIBC.Z_GetTime().to_s