search for: api_call

Displaying 3 results from an estimated 3 matches for "api_call".

Did you mean: acpi_call
2007 Sep 25
2
Bug in win32-api with void prototypes?
Hi all, It seems that a void prototype requires an explicit argument in our version of win32/api: C:\>irb irb(main):001:0> require ''win32/api'' => true irb(main):002:0> include Win32 => Object irb(main):003:0> require ''Win32API'' => true # Our version irb(main):004:0> GetLastErrorA = API.new(''GetLastError'',
2012 Mar 28
0
Performance for SOAP and HTTP
.../excelsoap.local.com/" response = client.request :wsdl, "validate" do soap.version = 2 soap.body ={ "code" => "some data as value" } end requires about 1000 ms to execute. So I switched to http and tried the Restclient. But the following code api_call = RestClient.get ''http://localhost:3000/purchases'' requires about 1000 ms to execute as well. My last try was a simple http request net= Net::HTTP.new("127.0.0.1", 3000) http = net.start res=http.request(Net::HTTP::Get.new("/purchases")) which itself...
2008 Jun 10
7
Unraveling a FAR*
Hi all, Just looking over fole_s_connect() in win32ole.c and I noticed this bit: hr = CLSIDFromProgID(pBuf, &clsid); ... hr = GetActiveObject(&clsid, 0, &pUnknown); ... hr = pUnknown->lpVtbl->QueryInterface( pUnknown, &IID_IDispatch, (void **)&pDispatch ); Using win32-api, that would be something like: IID_IUnknown =