similar to: Bug in win32-api with void prototypes?

Displaying 20 results from an estimated 400 matches similar to: "Bug in win32-api with void prototypes?"

2011 Sep 04
1
[LLVMdev] correct types for ArgumentList?
I'm trying to create and insert a anonymous function that will make a assignment on a GlobalVariable, based on a existing StoreInst. Once I find this StoreInst(which provides me with 2 Value* objects for me to use) I need to pass it to my anonymous function so it can carry out the assignment. I can not get the correct types, at runtime I get a bad signature error. So basically the function is
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a window) and save to a file. I have this, but I have no idea where it came from, but it gives a corrupted image Paul # -*- ruby -*- # screen capture -- # This script runs with a Ruby/DL which is included in ruby-1.7. require ''dl/import'' module ScreenCapture extend DL::Importable dlload
2005 May 18
2
Networking functionality?
Is there (if not, can we get) the functionality to query for workstations in the local workgroup or domain? Zach
2006 May 26
13
win32-dir, unicode
Hi, I''ve got a preliminary version of the pure Ruby version of win32-dir in CVS. However, I was hoping to work out the Unicode issue. Run this: from = "C:\\test" to = "?????" Dir.mkdir(from) unless File.exists?(from) Dir.create_junction(to, from) It works, but my explorer (and dos) window shows the name garbled. I don''t think it''s a font
2007 Feb 28
3
[ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 23:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85 Category: windows-pr Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Katsuyuki MIYAMUKO (miyamuko) Assigned to: Nobody (None) Summary: several typo in windows-pr. Initial Comment: I found typo in windows-pr. Attached
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 =
2004 Dec 10
1
Modification for mkmf
Hi all, I came across this page today: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog /winprog/using_the_windows_headers.asp Based on that, I think we need a patch for mkmf when on Windows that sets _WIN32_WINNT automatically based on platform. This is the basic code I''ve come up with: require "mkmf" require "win32ole" require
2007 Sep 28
1
Help with win32/api, windows-api
Hi all, I must have been testing windows-pr with an old version of windows-api, because now when I run ''rake test'' for windows-pr I get this: C:\Documents and Settings\djberge\workspace\windows-pr>rake test C:0:Warning: require_gem is obsolete. Use gem instead. (in C:/Documents and Settings/djberge/workspace/windows-pr) C:/ruby/lib/ruby/site_ruby/1.8/windows/api.rb:288:
2005 Feb 07
7
win32-driveinfo in CVS
Hi all, I committed win32-driveinfo 0.1.0 to CVS. What is it? =========== A class for getting information of drives Synopsis ======== include Win32::DriveInfo (sectorsPerCluster, bytesPerSector, numberOfFreeClusters, totalNumberOfClusters, freeBytesAvailableToCaller, totalNumberOfBytes, totalNumberOfFreeBytes) = getDriveSpace(''c'').to_a
2006 Nov 06
4
Errno::EBADF (Bad file descriptor)
I posted this to the discussion forum on rubyforge.org, but it appears that it would have been better to post here. Does anyone have any advice on how to resolve the problem reported at http://rubyforge.org/tracker/index.php?func=detail&aid=6284&group_id=1306&atid=5145? Thanks, Justin -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 May 26
9
App#process_message
how can rewrite the App # process_message to treat the messages of the system? wxruby -- Posted via http://www.ruby-forum.com/.
2006 Mar 25
1
Help with File.set_permissions port
I''ve got a (broken) version of File.set_permissions in CVS, and I need some help finishing it off please. Heesob, can you take a look? Thanks, Dan
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users. This is an addition which implement wrapper for overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was impossible to make it correctly without ugly hack to wxpp.rb, but i`m hope it does not broke it. Please look at attachment for a patch for htmlwindow.t and wxpp.rb and additional file htmllinkinfo.t (need to be added to $objs array in extconf.rb). Sample
2006 Feb 08
10
Writing activex controls and dlls in ruby.
Is it possible to write activex controls and windows DLLs in ruby? I would like to have some of my logic be usable from VB (don''t ask why). Thanks.
2006 Aug 21
1
[ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
Bugs item #5479, was opened at 2006-08-21 07:43 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Incorrect SetLastError declarations Initial Comment: windows-pr-0.5.3 lib\windows\error.rb
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85 Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error while trying to update my gem collection Initial Comment: C:\ruby>gem update Updating
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all, If you take a look at the service.rb file in the win32-service repository (the new one in the toplevel repository path), I''ve got this bit of code, which succeeds, but I can''t seem to unpack the data structure properly. Did I pack it wrong to begin with? I should know this but I''m spacing out. proc_status =
2008 Sep 28
2
App Hangs on a Long Running Operation
I am reasonably confident that my app is doing something wrong that violates the letter of the Win32API, however performing one long-running command the program does work as expected on Windows but under Wine it hangs. This is the sort of function in which the app presumably forks off a thread to perform the long running operation, and the new fork periodically sends messages back to the Windows
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all, I decided to check the responsiveness of the pure Ruby vs C extension versions of win32-changenotify. I setup this little file generator program: a = [] 10.times{ |n| a << Thread.new{ File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" } } } a.each{ |t| t.join } The pure Ruby version did not do so well. In some cases it
2007 Mar 26
16
mongrel_service fails to get "service.exe" from ppid?
Konnichiwa Mongrel users, mongrel_service cannot run as a windows service under my environment, with the windows message : "error 1053 : The service did not respond to the start or control request in a timely fashion." >From a part of "ServiceFB.log" at c:/ruby/bin, mongrel_service failed to get the process name of "service.exe".