Hi All,

 Thank you for replying.

> >   I am trying to open a file in the usual way, (fopen)
> >   However, fopen returns the an unusual NULL. At first
> >   I thought I probably did not have permissions.
> >   I am sure its not that.
> 
> Check the errno after the fopen(). At least, you'll
> no longer have to speculate.

 Thank you, I found the problem, I was not using
 fopen like I should have I corrected that. I can open
 the file. But now I have a different problem, no matter
 what I print with fprintf to the newly opened file 
 nothing seems to be going to the file??

 I have a stand-alone program which does the same thing,
 but fellas, it works, the file gets filled with DEBUGS
 for the same Input. It just does not work the same Under
 JNI.

> BTW, what's the Linux connection?

 I am doing all my testing On Linux, naturally I thought
 someone here must have come across this one before, besides
 it is the 'Native' Interface, right ? But Honestly, I am
 frustrated .. I made sure I got everything right before 
 posting here, unlike the last time round. Sorry for that.

 If the moderator feels this should not belong here, I'll
 try somewhere else. But fellas, Help!

Regards,
Santosh.

> 
> Stefaan
> --
> How's it supposed to get the respect of management if you've got just
> one guy working on the project?  It's much more impressive to have a
> battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to