LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2005, 09:05 AM   #1
montylee
Member
 
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168

Rep: Reputation: 30
Question problem with NS_NewNativeLocalFile on enterprise Linux3.0


Hi,


I am using API NS_NewNativeLocalFile
which contaiins following lines of code. Also I build source of firefox in my Linux with gcc -3.3.3 and using firefox (libraries -0.9.3)
Also VSTR_GetStr(envPath)) returns path /home/oie/mozilla/dist/lib path
Here is my code:

[B]
nsresult my;
nsCOMPtr<nsILocalFile> binDir;

my=NS_NewNativeLocalFile(nsDependentCString(VSTR_GetStr(envPath)), BOOL_TRUE, getter_AddRefs(binDir));

if(NS_SUCCEEDED(my))
printf("\n Sucessfully Excute 111:");
else
printf("\n NoSucessfully Excute 111:");
[/B}

Out put always returns "NoSucessfully Excute 111"

What's wrong in my code.

Waiting for your reply!!!!!!!

HELP HELp help hELP!!!!!!!!!!!!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Enterprise 9.0 Authentication Problem cruel72 SUSE / openSUSE 4 10-21-2006 11:17 AM
RedHat Enterprise installation problem alek-redhat Red Hat 0 10-22-2005 06:51 AM
enterprise 4 boot problem mid_nightslover Linux - Enterprise 1 09-26-2005 08:49 PM
Installation Problem with Redhat Enterprise WS 4 esuresh Red Hat 4 05-07-2005 11:52 PM
vncserver problem on RH Enterprise AS 3 mali Linux - Enterprise 3 03-31-2005 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration