Accessing files which are in JAR
-
Hi, I have couple of text files in JAR. I want to access them in my C++ application. Basically I want to get the FILE pointer to those file. Please let me know how would we do it. thanks in advance Umrahi...
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.
-
Hi, I have couple of text files in JAR. I want to access them in my C++ application. Basically I want to get the FILE pointer to those file. Please let me know how would we do it. thanks in advance Umrahi...
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.
See here for ideas.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Hi, I have couple of text files in JAR. I want to access them in my C++ application. Basically I want to get the FILE pointer to those file. Please let me know how would we do it. thanks in advance Umrahi...
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.
Why don't you use the
jar
tool to decompress the files? :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hi, I have couple of text files in JAR. I want to access them in my C++ application. Basically I want to get the FILE pointer to those file. Please let me know how would we do it. thanks in advance Umrahi...
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.
Judging from the header, they are simple ZIP files. Try one of the ZIP/UNZIP classes here on CP to access them.