Posts

c# - How do I pinvoke to GetWindowLongPtr and SetWindowLongPtr on 32-bit platforms? -

I want to apologize and, and I'm looking at the information about them. Some sources say that, on 32-bit platforms, GetWindowLongPtr is just a preprocessor macro that calls GetWindowLong, and for example user32.dll the GetWindowLongPtr does not exist as a user's login : There is a static method, which checks IntPtr.Size and then with either set either SetWindowLong or SetWindowLongPtr, "Legacy OSes do not support SetWindowLongPtr" "Legacy OS "means no explanation for what it means. GetWindowLongPtr on a state "32 bit system is just a Mac that indicates GetWindowLong". These sources indicate that * PTR entry points are not just in the user 32.dll version, which says, with 32-bit Windows 7. But I do not get any indication of this in accordance with the MSDN documentation MSDN, plain and simple, instead of Setwondo Long. And according to the requirements section, it appears that SetWindowLongPtr is from user32.dll since Windows 2000 (b...

datagrid - Flex AdavcedDatagrid Sorting is case-sensitive -

itemprop = "text"> I have several datagridges changing the column. The text function of the datagrid for the text field is making the case vulnerable. e.g. The list below will look like apple strawberry auto auto must be with apples, but Capital A is counted separately because all Capital letters come after letters. I have got a lot of information about setting up a CASEINSENSITIVE flag, but I can not know where it is to be done. Could you please help? The best solution would be that I can override the default behavior to be insensitive to all my datagread and compare all my work.

javascript - sIFR 3 showing on my Home Pge but not on any other pages -

I've integrated sIFR3 and show it completely with me, but not on any other pages. I have never changed the name of anything. Here is my CIFR-config.js: sIFR.replace (Helventica, {Selector: 'H3', Wmode: "Transparent", CSS: '. SIFR-root {color: #ffffff; font-size: 18px; margin: 0; padding: 0;} '}); SIFR.replace (Hollvantika, {Selector: 'H2', Wimode: "Transparent", CSS: '.sIFR- Root {Color: # 5b2e13; font-size: 31px; margin: 0; padding: 0;}'} ); OK I have found it in my sifr-config.js I P> var helvetica = {src: 'wp-content / themes / default / sifr3 / helveticathin.swf'}; Then it works perfectly in the home page because it is still the right path, but as soon as I go to another page it will not appear anymore because the font.swf The URL path is continuous so I have been given the full URL for this.

continuous integration - Hudson context url -

How can I change the Hudson context URL and access it in some way instead? I am using the Hudson standalone and running as a service on the Fidoola virtual machine. The standalone version uses Hudson's embedded container. You can find some Hudson-specific config notes, but I think (section :) is the best place. Edit: The actual solution can be found at: Java-Ger Hudson .war - prefix = / Hudson

sql server - Is it possible to specify the data source during execution of an SSRS report via the web service? -

I have only one server that hosts our production and development database SQL Server 2008 with SQL Server Reporting Services ( No R2) is running. I am deploying a VS 2008 Reporting Services Project on the server to provide reports. All reports use a single shared data source, which currently indicates the production database. Somewhere else the background service creates PDF reports via the SSRS web service interface. My question is, has been given to this environment, is it possible that it is possible to programmatically change the data source used during the web service Is either a report using Dev or Production database? I do not want to modify the definition of shared data sources or reports, I want to be able to set the name of the database before running the report and I can not see how this is possible. I can see that the only "simple" solution is to establish another report server instance, which seems like overkill for what I want, as long as I'm...

jquery - Display dropdown list with options in multiple columns -

Is there a way to display an HTML dropdown list with options in many columns? I do not want multiple columns with a single line of data, I should have 3 rows of selectable options Is this possibly possible through .NET or jQuery? There is no way to do this with plain vanilla form fields, you must use javascript Make your own form input type or whatever.

language agnostic - Best practices for avoiding hardcoded values IRL -

In principle, the hardcoded values ​​in source code should not be beyond 0, 1 and empty string. In practice, I find it very difficult to avoid all hardcoded values ​​at very rigorous delivery, And I feel a little guilty. How can you avoid the hard work values ​​over time of tight delivery? The assumption behind the question seems to be invalid. For most software, configuration files are very difficult to replace that source code, for widely-installed software, this can easily be a hundred times more difficult to factor: There may be many files hanging on user installation which you have little knowledge and no control. Librarian functional or algorithm in numeric software is not different from verbatim: it is just source code; it is the responsibility of any software that can be useful to correct those values. Angered that they should be able to maintain at least: well-named and organized. It is configurable that it is the last ditch agreement you can be forced if yo...