similar to: One on the issue of the return win32api

Displaying 20 results from an estimated 100000 matches similar to: "One on the issue of the return win32api"

2006 Mar 23
0
Win32API patch?
Hi all, Passing a Fixnum when you should have passed a String (pointer) causes a segfault in Win32API. I''ve already reported this on RubyForge (Bug #3904): require ''Win32API'' RegFormat = Win32API.new(''user32'', ''RegisterClipboardFormat'', ''P'', ''I'') RegFormat.call(1) # Boom! I''ve traced the
2011 Jun 23
1
make and coompiling win32api in linux platform
Hi, we study Win32API in University and would like to know what is required to make and compile codes in linux platform and then start them in Wine.
1998 Mar 26
0
S programming style & "missing(.)" [was "regarding bugs in barplot" on R-core]
[The part about S (S-plus and R being dialects of S) programming (at the end) makes me cc'ing this to R-devel. MM] On R-core, >>>>> "Paul" == Paul Murrell <paul@stat.auckland.ac.nz> writes: Paul> hi (i) the problem with the positioning of the legend in your Paul> barplot example: Paul>
2007 Mar 22
3
assign events on creation of a new user
Hello everyone, I am developing a web app that is being used to track users and their associated events. Events could be like ''getting married'', ''having a baby'', ''buying a car'', etc. and each event has a median age associated with it. For instance the getting married median age is 25. I have the application working with checkboxes where you
2013 Mar 05
2
Function completely locks up my computer if the input is too big
Dear r-help, Somewhere in my innocuous function to rotate an object in Cartesian space I've created a monster that completely locks up my computer (requires a hard reset every time). I don't know if this is useful description to anyone - the mouse still responds, but not the keyboard and not windows explorer. The script only does this when the input matrix is large, and so my initial
2007 Jun 30
2
Determining whether a function's return value is assigned
Dear all, Does R offer a means by which a function can determine whether its return value is assigned? I am using R 2.4.1 for Windows. Suppose what I am looking for is called "return.value.assigned". Then one might use it like this myfunction <- function () { # Create bigobject here if (return.value.assigned()) { bigobject } else {
2007 Sep 09
0
windows-api command decision
Hi all, Ok folks, here''s how it is. The windows-api project will, from now on, consist of two parts. The first part is "win32-api". This is a replacement for ''Win32API''. This is a refactored version of the Win32API that currently ships with Ruby''s stdlib. It is a C extension. Changes include: * Name change - it''s now
2008 Oct 14
1
Starting Server gives an error
Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initialized constant OPTIONS E:/demo/vendor/rails/activesupport/lib/active_suppo rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2008 Jun 05
2
win32api call NetFileEnum against samba
Hi, I'm trying to list open files on a samba server with the win32 api call NetFileEnum(). I have successfully done this against samba 3.0.30-1. I have another samba server (debian version: 3.0.14a-3sarge2) which the call doesn't seem to work properly against. I get one result for username \PIPE\samr even when I have open files on the server. I can list open files fine with smbstatus, so
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R, which calls myfunction.c via .C("myfunction", ...). I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c in the terminal. Then, in the R console: dyn.load("myfunction.so") source("myfunction.R") test <- myfunction() # works fine So everything is in order, myfunction works
2007 Aug 09
3
method_missing error......need some eyes for this one
Working through the tutorials in the RailsSpace book, and cannot figure out what I am doing wrong here. Full code for the edit function which is tossing the error as well as appropriate code from the model the actual error are pasted below. Thank you for your help. Dave ____________________________________________________________________ NoMethodError in UserController#edit private method
2010 Apr 25
0
S4 generic and method arguments -- "expanded signature"
Hello R-List, ** This e-mail was initially bounced. Please forgive any duplicates.** I'm creating a new generic function and 3 associated methods, in which each of the methods only needs a subset of the arguments specified in the generic. So, I create the generic like so (with the signature defaulting to all of the args) ... setGeneric( name="myFunction", def =
2012 Mar 13
2
beginner's loop issue
Dear All, I hope you don't mind helping me with this small issue. I haven't been using R in years and I'm trying to fill in a matrix with the output of a function (I'm probably using the Matlab logic here and it's not working). Here is my code: for (i in 1:length(input)){ out[i,1:3] <- MyFunction(input[i,1],input[i,2], input[i,3]) out[i,4:6] <-
2008 Oct 24
4
AR object return nil on save
Hi! I''m upgrading existing app from Rails 1.2.6 to 2.1.2. I have encountered following problem with AR objects. Model definition did not change and with 1.2.6: params={} params[:flight] = "1111" params[:airline] = "Air France" params[:luggage] = 0 r=Reservation.new params r.save is working code, new Reservation. With the same dataset, changing only
2006 May 23
0
return value from collection_select
Hi everyone I am trying to get the return value from collection_select helper method. Here is what I did collection_select(''product'', ''product_id'', @products, ''id'', ''name'', {}, {:onchange => remote_function(:url => {:action => :myFunction}, :with => "this[this.selectedIndex].value")}) then in my
2007 Jul 25
5
editing multiple models in one form
Very new to this but would appreciate a hand as this is driving me mad, I''m trying to update both degree and assigned from a single form, the degree section updates fine but assigned just retains the same values, any help much appreciated! my edit.rhtml file looks like: <h1>Editing degree</h1> <%= error_messages_for :degree %> <%= start_form_tag :action =>
2020 Apr 03
1
Mailfiles gets duplicated
Hello, With my configuration Dovecot creates multiple duplicates (sometimes 2, sometimes 3, sometimes a plenty) of mailfiles when moving them into the Sent or the Trash folders. This does not affect the Inbox folder. I observed this while using Thunderbird on Ubuntu as a client as well as K9-Mail on Android, therefore I expect this comes from the Dovecot server and not from the client
2004 Nov 01
5
make apply() return a list
Hi, I have a dataframe (say myData) and want to get a list (say myList) that contains a matrix for each row of the dataframe myData. These matrices are calculated based on the corresponding row of myData. Using a for()-loop to do this is very slow. Thus, I tried to use apply(). However, afaik apply() does only return a list if the matrices have different dimensions, while my matrices have
2008 Jan 07
0
can we use date_select as one observe_field.
hi all, i want to find out the age of a person in the simple registration form without submitting the form. we can use link_to_remote or submit_to_remote(....), but i don''t want to use any link or button to link to the controller. Can we use date_select as one observe_field or any other possibility to do this.. plz guide me to do this... -- Posted via http://www.ruby-forum.com/.
2007 Jun 20
1
one item in a return list
I have a find_by_sql that returns a list of only one object. What is the best way to get that object out of the list? Is there a way other than a for loop? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send