How do I ensure when I distribute a JAR-file that the proper SWT-library (either the windows, the linux or mac version) is loaded an ready to use?
It would be very helpful because then you can do one export and your application can run on any platform like Swing apps usually do.
Thanks a lot
Is there a query I can write against an INFORMATION_SCHEMA or against the system tables to determine if a column is an identity column in SQL CE version 3.5?
The only way to install windows-service I know is using "Visual Studio 2008 Command Prompt", Is there a way to install windows-service on a machine which isn't having Visual Studio installed (assume that .Net version 2.X is installed.)
My debugger does not work when I start project in debug mode.
But when I set checkbox
Allow the source code to different from the original version.
Debugger works. But solution not wokrs properly. For example for files with build action "Content" and Copy to outputDirectory to "Copy if newer" does not copy to bin/Debug
Is anybody know the solution?
In some library I'm using (written in C) its
StorePGM(image, width, height, filename)
char *image;
int width, height;
char *filename;
{
// something something
}
All functions are defined this way. I never seen such function definitions in my life. They seem to be valid to MSVC but when I compile it as C++ it gives errors.
What is it? some kind of old version C?
Is there an established or unofficial way of finding out if my application is running on a Windows Mobile 6.5.3 device or if it's a previous version? Managed or native doesn't matter and I don't mind interop-ing.
At one point in my app, I would like to redirect the user to the official Settings app. If possible, I also want go straight to the Location service section within the Settings app.
i see
Call the official *Settings* app from my app on iPhone
but
In iPhone4 the following code does not respond(my ios version 5.1.1):
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]];//1 call Location service
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]];//2 //call wifi
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General&path=Network"]];//3
The option to target another version of the .Net Framework is disabled on a particular test system we are using on a current project.
I have tried the following without success:
Killing all W3WP.EXE processesRestarting the IIS serviceRemote Debugging has been removed from the box.
Just hoping for some pointers.
I'm using PMEase QuickBuild to perform automated builds of our Maven2 projects and a nightly sanity test to ensure nothing is broken.
The test needs to untar packages which are created by the automated Maven2 projects. The problem is that the package names change frequently due to project versions being incremented all the time.
Does anyone know how I can configure QuickBuild to pick up the version (ideally from the POM file of the individual components), if this is possible at all?
I'm having a hard time installing zend_debugger, somehow the installed version doesn't match with my php.
Is there a repository for all versions of zend_debugger?
What could be the reason I am getting a SharpDX NotImplemented Exception?
SharpDX.SharpDXException: HRESULT: [0x80004001], Module: [General], ApiCode: [E_NOTIMPL/Not implemented], Message: Not implemented
at SharpDX.Result.CheckError()
at SharpDX.MediaFoundation.MediaFactory.Startup(Int32 version, Int32 dwFlags)
at SharpDX.MediaFoundation.MediaManager.Startup(Boolean useLightVersion)
this is on windows 8 desktop. the same code runs fine on windows 7.
I am trying to compile jar file to exe using mingw- gcj version 4.4 under windows 7, but it always throws error saying
I am using following command
C:\libs>gcj --classpath . --main=<main class> -o test.exe <my jar file>
Where I am going wrong ?
I am going to be developing a web version of a website in .NET and would like to test it out as it would appear on a Blackberry. Is there an emulator for Windows that I can use to do this?
Hey all, this is my first post. I recently upgraded a wordpress site, all things load but on the top of the page and bottom of the page I get this error.
Warning: session_start() [function.session-start]: open(/tmp/sess_6v2kul3t823ah9074g3cl2lrt6, O_RDWR) failed: Permission denied (13) in /home/admin_m3/incommunion.org/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121
How can I remove it from the page? I believe the server automatically upgraded the version of Wordpress.
Any idea?
Newbie A
I've tried before some Eclipse plugin (I don't remember its name) but it was lacking a lot of features (generics, for example). Is there anything easy to set up that would run on the last version of Java?
Thanks
I am building a C# windows application.
I want it so whenever I click the update button in my form the application will Start looking for whether there is a new version avaliable on my Server.
If there is then proceed to update the Software.
How is this usually handled?
I need to setup NACHOS java version in Linux and run some simple sample . How to setup and run simple sample ? [need some tutorials and some computer assignment with solution with NACHOS]
I would like to use an XML database like eXist to store and query editable form submissions, with a changelog storing prior versions of each document.
How should I structure the database to easily query the latest version of each document?
First up, I should let you know that I am learning C, so my apologies if this question seems stupid to a more advanced developer.
I know you can print with printf() and puts(). I can also see that printf() allows you to embed variables inside and do some stuff like formatting.
Is puts() merely a primitive version of printf(). Should it be used for every possible printf() without string interpolation?
Thanks
Our existing compile-time assert implementation is based on negative array index, and it provides poor diagnostic output on GCC. C++0x's static_assert is a very nice feature, and the diagnostic output it provides is much better. I know GCC has already implemented some C++0x features. Does anyone know if static_assert is among them and if it is then since what GCC version?
We have two installations of DB2.
When defining a foreign key with a long name, it works fine on one instance, but not on the other (we get a SQL0107N Name too long - max length is 18).
What is causing this different behaviour? Is there a parameter we can change or is it version dependant?
When I run some php code I've written, I get the following message:
You have an error in your SQL syntax;
check the manual that corresponds to
your MySQL server version for the
right syntax to use near 'condition,
price, name, email) VALUES('Fake
Title', 'Fake Subhead', 'Fake Author'
at line 1
I do not see anything wrong with my syntax, however, which is like:
mysql_query("INSERT INTO table (x1, x2, x3) VALUES('$y1', '$y2', '$y3')");
Any ideas?
I would like to obtain all the versions of a given file in my SVN repository. For instance, let's say that the file ThirdPartyAssembly.dll was checked 3 times, is there a command that will get me all the version on my HD (e.g. ThirdPartyAssembly.dll.v1, ThirdPartyAssembly.dll.v2, ThirdPartyAssembly.dll.v3, etc.)?
Thanks!
Getting very confused by PHP_AUTH_USER. Within my web pages I have .htaccess files in every directory, controlling who can (and cant) see certain folders. In order to further customise the pages I was hoping to use PHP_AUTH_USER within the PHP code, i.e. tailor page contents based on the user.
This only seems to work partially. The code snippets below hopefully demonstrate my problems.
The main index.php creates a framed page with a menu structure in the top left hand corners, some irrelvant stuff in top right and then the tailor made contents in bottom frame. In top left the user is correctly shown, but in the bottom frame PHP_AUTH_USER doesnt seem to be set anymore (it returns empty and when printing all $HTTP_SERVER_VARS its not listed).
Script.php is in a different path, but they all have .htaccess files in them and all other contents is displayed correctly. Why does it not know about PHP_AUTH_USER there?
Running version php version 5.2.12 on chrome.
index.php
<FRAMESET ROWS="35%, *">
<FRAMESET COLS="25%, *">
<FRAME SRC="Menu.php">
<FRAME SRC="Something.php">
</FRAMESET>
<FRAME SRC="../OtherPath/Script.php?large=1" name="outputlisting">
</FRAMESET>
</FRAMESET>
Menu.php
<ul>
<li>Reporting
<ul>
<li>Link1 <a href="../OtherPath/Script.php" target="outputlisting">All</a>, <a href="../OtherPath/Script.php?large=1" target="outputlisting">Big</a>
</ul>
<?php
echo 'IP Address: ' . $_SERVER['REMOTE_ADDR'] . '<br />';
echo 'User: ' . $_SERVER['PHP_AUTH_USER'];
?>
Script.php
<?php
echo 'User: ' . $_SERVER['PHP_AUTH_USER'];
?>