<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting the file owner in Java using JNI</title>
	<atom:link href="http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/</link>
	<description>&#34;Du choc des idées jaillit la lumière&#34;</description>
	<lastBuildDate>Fri, 04 Dec 2009 01:03:19 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Guillermo Delgado</title>
		<link>http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/comment-page-1/#comment-133</link>
		<dc:creator>Guillermo Delgado</dc:creator>
		<pubDate>Fri, 31 Aug 2007 10:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/#comment-133</guid>
		<description>Hi to everyone,

First of all I want to say thanks to Pierre-Alexandre for the help. It was very useful for me.

My problem is that I need the getowner.dll to be inside the MyProyect.jar file. This means that I can´t use the absolute route you are using in getowner.java.

does anyone have any idea??

thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi to everyone,</p>
<p>First of all I want to say thanks to Pierre-Alexandre for the help. It was very useful for me.</p>
<p>My problem is that I need the getowner.dll to be inside the MyProyect.jar file. This means that I can´t use the absolute route you are using in getowner.java.</p>
<p>does anyone have any idea??</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre-Alexandre Losson</title>
		<link>http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/comment-page-1/#comment-135</link>
		<dc:creator>Pierre-Alexandre Losson</dc:creator>
		<pubDate>Sat, 28 Jul 2007 10:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/#comment-135</guid>
		<description>Hi Gert,

I did not post an update but I quickly noticed the file close issue so this has already been added.

But thanks for the GlobalFree hint, I will add it right away :-)

I&#039;ll try to post an update of the code when it is ready

P.</description>
		<content:encoded><![CDATA[<p>Hi Gert,</p>
<p>I did not post an update but I quickly noticed the file close issue so this has already been added.</p>
<p>But thanks for the GlobalFree hint, I will add it right away <img src='http://www.telio.be/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I&#8217;ll try to post an update of the code when it is ready</p>
<p>P.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gert</title>
		<link>http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/comment-page-1/#comment-134</link>
		<dc:creator>Gert</dc:creator>
		<pubDate>Sat, 28 Jul 2007 08:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/#comment-134</guid>
		<description>Hi,

I needed the same C++ code for a program I am writing. Note that the MS sample code will leak memory and file handles if you don&#039;t make some changes:
The HANDLE returned by the CreateFile call needs to be closed (CloseHandle) before the function returns. Also, all memory allocated by GlobalAlloc needs to be freed with GlobalFree.

Gert</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I needed the same C++ code for a program I am writing. Note that the MS sample code will leak memory and file handles if you don&#8217;t make some changes:<br />
The HANDLE returned by the CreateFile call needs to be closed (CloseHandle) before the function returns. Also, all memory allocated by GlobalAlloc needs to be freed with GlobalFree.</p>
<p>Gert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicne</title>
		<link>http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/comment-page-1/#comment-132</link>
		<dc:creator>Vicne</dc:creator>
		<pubDate>Fri, 29 Jun 2007 07:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.telio.be/blog/2007/06/26/getting-the-file-owner-in-java-using-jni/#comment-132</guid>
		<description>Yes, not that complicated in the end. My first cup of JNI also tasted surprisingly good.
If you ever need to pass Windows Messages to applications from Java, check out the Java Desktop Integration Components, and in particular the Media Control API, at
https://jdic.dev.java.net/incubator/mpcontrol/index.html
(see org.jdesktop.jdic.mpcontrol.winamp package)</description>
		<content:encoded><![CDATA[<p>Yes, not that complicated in the end. My first cup of JNI also tasted surprisingly good.<br />
If you ever need to pass Windows Messages to applications from Java, check out the Java Desktop Integration Components, and in particular the Media Control API, at<br />
<a href="https://jdic.dev.java.net/incubator/mpcontrol/index.html" rel="nofollow">https://jdic.dev.java.net/incubator/mpcontrol/index.html</a><br />
(see org.jdesktop.jdic.mpcontrol.winamp package)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
