I am not sure if this belongs on serverfault or superuser.
I would like to override SetThreadExecutionState(ES_DISPLAY_REQUIRED) to be a no-op. How is this accomplished?
Is there some registry setting that can be altered instead of API hooking?
Blocking ES_DISPLAY_REQUIRED will prevent apps from keeping the monitor powered on. I have an application (likely the antivirus) that is preventing some monitors from entering power-save and I think this function is the culprit.
Hi folks,
currently i'm working on exposing some solr queries via web services .
The behavior should be the following:
Client makes a request: http://api.mysite.com/hottestNews?apiKey=XXX
The ws tier validates apiKey ... some aditional stuff
ws tier redirects the request to : someFinder:8080/solr/select/qt=hottestNews
The response is brought to client
Can restlet framework help me?
Thx
I'm developing a native app for Android and I'm trying to use functions such as glIsEnabled which appear to be only available in OpenGL ES 1.1. Google's docs claim that NDK 1.6R1 supports OpenGL ES v1.1 but the function call fails with "unimplemented Open GL ES API" and if i do a glGetString(GL_VERSION) it returns "OpenGL ES 1.0 CM" as the version.
So if 1.1 is available, what do I have to link against to get it or what else do i need to change to get it?
Hi All.
I'm using windows XP , hebrew version.
I am trying to save an AVI file using the Video For Windows API in C++, when I run the AviSaveOptions() function, the dialog opens as a thin unclickable strip at the corner of the screen.
Would it have anything to do with the language (Hebrew)? maybe with the vfw driver itself? what might cause a windows dialog window to be distorted/invisible?
thanks
Roey
Why does ZeroMemory, and similar calls exist in the Windows API when there are memset and related calls in the C standard library already? Which ones should I call? I can guess the answer is "depends". On what?
I wonder whether there's a way to program a resource DLL for Windows Clusters in Delphi. I want to write a program that observes cluster state changes.
Judging from the MSDN API reference, all relevant functions are located in the ClusAPI.h and ResAPI.h headers, but unfortunately it seems as if they haven't been ported yet and HeaderConv seems to fail on them.
Does anyone has experience in doing such a thing?
I'm working on an API library and I'd like to add a few warnings that would appear when another developers builds the app if an optional apikey is not included. It should be buildable w/o the key (since it's optional) so I can't just add a syntax error to force a build error.
I know Xcode supports TODO and FIXME but those aren't really highlighted anywhere major.
Any other thoughts on how to approach this?
How do I parse an xml document as a stream using Scala?
I've used the Stax API in java to accomplish this, but I'd like to know if there is a "scala" way to do this.
Hello,
Is it possible to access voice recognition in an iphone app,similar to voice dialing available in iphone 3gs...when the user says something that related information needs to be fetched... Is there any particular api for the same? I have seen apps on itunes..but how to go about it?
Thanks in advance.
4 tables. table 1 mapped to table 2 mapped to table 3 mapped to table 4.
I want to get a column data from table 4, in my search criteria for table 1 object. Is it possible using Alias. Is there any way using any API of Hibernate Criteria to get table 4 data in table 1 object using search criteria.
I am running Symfony 1.3.2 on Ubuntu. I need to write a batch script that can:
Access the database using the ORM
Send email(s)
IIRC, this was in a previous cookback, but I thing that was for an earlier version of Symfony (the API may have changed since).
Does anyone know how I may access the database via the ORM layer in a batch script and also how to send out email(s) in a batch script?
Is there a way to reuse SSL socket connections on the iPhone. I'm seeing an extra 3-4 second overhead in doing SSL handshaking. I'm using NSURLconnection currently to do the API calls and each one of them is taking 4-5 seconds on Wifi. Any suggestions would be greatly appreciated.
I installed a local version of Laconica microblogging in my env. Then I downlowaded SPAZ (an AIR client) to try and talk to the Laconica app. I get an authenitcation error. I have put in the appropriate credentials - I think :)
But I think that I have to alter the API and base URL for connecting.
Ayone have any thoughts on how to make these two apps talk ?
Thanks in advance,
Linley
I intend to have multiple Rails apps each for site.com, api.site.com, admin.site.com. All apps will access the same tables from one single MySQL database. Apps and database runs in the same server.
Is there any settings in Rails, ActiveRecord or MySQL that I need to be concerned about for above access scenerio? Thanks
Running: Rails 2.3.5, MySQL 5.0, Nginx, Passenger, RubyEE
I'm writing an Apache module and want to get a string with the Apache name version and other details. Much like what gets added to outgoing headers, e.g.:
Server: Apache/2.2.13 (Win32)
I've tried code like this:
apr_table_get(request_rec->headers_out,"Server")
But that doesn't seem to work. Is there an API call I haven't found or am I doomed to get version resource data from httpd.exe?
HI
I want to track the country of the visitors and then redirect them to appropriate subdomains of my site like what google does...
And upto what extent i can rely on the data of the api if i should use any?..
I'm using php..
Hi, I'd like to get the name of the song that iTunes is currently playing.
What API should I refer to?
I'd like to use that both for a dashboard widget or a Java/python application depending on what it is easier to use.
Do you have some references for me?
Thanks in advance,
Mario
I'm attempting to turn on the bluetooth network of a Janam (wince5.0)
I understand it involves ndisuio, but I'm not sure how to invoke it. I assume it will involve the use of a standard DLL or api call, how can I find out what that call would be?
according to my code when my device are use in Landscape
when i pushViewController it will
automatic show in UIDeviceOrientationPortrait.
i need to rotate my device to Portrait and then rotate to Landscape,
then it will present in Landscape mode.
how can i rotate to current of Orientation with out use of private API(setOrientation)?
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return ((interfaceOrientation == UIInterfaceOrientationLandscapeLeft) || (interfaceOrientation == UIDeviceOrientationPortrait) ||
(interfaceOrientation == UIInterfaceOrientationLandscapeRight));
}
I've noticed that in c/c++ a lot of Win32 API structs need to be told how big they are.
i.e someStruct.pbFormat = sizeof(SomeStruct)
Why is this the case? Is it just for legacy reasons? Also any idea what "pb" stands for too?
Is there a way to determine if the current user is a fan (now: likes the page) using facebook connect?
I know this is possible in the REST api, but I would like to be able to just use connect instead.