cderx'' might possibly provide additional error information. You will get the 1 0 error if: 1. file doesn't exist 2. file is not really a dll 3. file is 32bit and called from 64 bit (or vice versa) 4. file requires other dlls that are not found - Bill suggested how to see if this is the case
On Fri, Jul 20, 2012 at 5:39 PM, Kim Kuen Tang <kuent...@vodafone.de> wrote: > > Hi everyone, > > thanks for the help. I reduced the command to call libcurl to the > following: > > 'C:\curl_DLL_ONLY\nossl\**libcurl.dll curl_easy_init * ' cd '' > |domain error: cd > | 'C:\curl_DLL_ONLY\nossl\**libcurl.dll curl_easy_init * ' cd'' > cder '' > 1 0 > > But still J was not able to find the dll file. I double checked the > folder containing the libcurl file. > As you can see from the picture. It is really there. So what and where is > the error ? > > Thx for any comments or suggestions. > > Kim > > > > > Am 20.07.2012 19:19, schrieb bill lam: > >> J should have no problem calling libcurl, libcurl is prefered >> >> especially for security connection and .netrc. However it may also >> depends on additional resources. Use depend.exe to test if any >> other dll are missing. >> >> >> Птн, 20 Июл 2012, Devon McCormick писал(а): >> >>> I usually just use "wget" with a shell to the command line for "curl" >>> sorts of things (under Windows). >>> >>> On Fri, Jul 20, 2012 at 9:18 AM, Eric >>> Iverson<eric.b.iverson@gmail.**com<eric.b.iver...@gmail.com>> >>> wrote: >>> >>>> The 1 error (according to USR manual section of cd) means file not >>>> found. >>>> >>>> So the file >>>> C:\archive\curl_DLL_ONLY\******nossl\libcurl.dll >>>> was not found. >>>> >>>> The ** in the name looks wrong. Also the name seems a funny mix of >>>> windows, >>>> linux, and mac. >>>> >>>> On Fri, Jul 20, 2012 at 8:56 AM, Kim Kuen Tang<kuent...@vodafone.de> >>>> wrote: >>>> >>>> Hi Eric, >>>>> >>>>> thx for your help. I got >>>>> cder'' >>>>> 1 0 >>>>> >>>>> Does it mean the dll can be found, but the argument type is wrong ? >>>>> >>>>> Kim >>>>> >>>>> Am 20.07.2012 14:21, schrieb Eric Iverson: >>>>> >>>>> After a cd domain error you should check the result of cder'' to get >>>>>> additional information. >>>>>> >>>>>> On Fri, Jul 20, 2012 at 4:19 AM, Kim Kuen Tang<kuent...@vodafone.de> >>>>>> wrote: >>>>>> >>>>>> Hi everyone, >>>>>> >>>>>>> i am trying to load the libcurl.dll into J. But unfortunately it >>>>>>> returns >>>>>>> the error message: >>>>>>> >>>>>>> domain error : cd. >>>>>>> >>>>>>> The command to call is like this: >>>>>>> >>>>>>> 'C:\archive\curl_DLL_ONLY\******nossl\libcurl.dll curl_easy_init * >>>>>>> ' cd '' >>>>>>> >>>>>>> >>>>>>> I checked the function curl_easy_init . The signature is the >>>>>>> following: >>>>>>> CURL *curl_easy_init( ); >>>>>>> It accepts nothing and returns a pointer. >>>>>>> >>>>>>> What can i do next ? >>>>>>> I believed that J does not have the correct credentials to run the >>>>>>> dll. >>>>>>> How can i checked this ? >>>>>>> >>>>>>> Thx for any hints or comments, >>>>>>> Kim >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------******--------------------------**--** >>>>>>> --**---------- >>>>>>> For information about J forums see http://www.jsoftware.com/**** >>>>>>> forums.htm<http://www.**jsoftware.com/**forums.htm<http://www.jsoftware.com/**forums.htm> >>>>>>> ><ht**tp://www. <http://www.>** >>>>>>> jsoftware.com/forums.htm<http:**//www.jsoftware.com/forums.htm<http://www.jsoftware.com/forums.htm> >>>>>>> **>> >>>>>>> >>>>>>> ------------------------------****----------------------------** >>>>>>> --** >>>>>>> >>>>>> ---------- >>>>>> For information about J forums see http://www.jsoftware.com/**** >>>>>> forums.htm <http://www.jsoftware.com/**forums.htm><http://www.** >>>>>> jsoftware.com/forums.htm <http://www.jsoftware.com/forums.htm>> >>>>>> >>>>>> >>>>>> ------------------------------****----------------------------** >>>>> --**---------- >>>>> For information about J forums see http://www.jsoftware.com/**** >>>>> forums.htm <http://www.jsoftware.com/**forums.htm><http://www.** >>>>> jsoftware.com/forums.htm <http://www.jsoftware.com/forums.htm>> >>>>> >>>>> ------------------------------**------------------------------** >>>> ---------- >>>> For information about J forums see http://www.jsoftware.com/** >>>> forums.htm <http://www.jsoftware.com/forums.htm> >>>> >>> >>> >>> -- >>> Devon McCormick, CFA >>> ^me^ at acm. >>> org is my >>> preferred e-mail >>> ------------------------------**------------------------------** >>> ---------- >>> For information about J forums see >>> http://www.jsoftware.com/**forums.htm<http://www.jsoftware.com/forums.htm> >>> >> > ------------------------------**------------------------------**---------- > For information about J forums see > http://www.jsoftware.com/**forums.htm<http://www.jsoftware.com/forums.htm> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm