Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*C\s+call\s+\-\s+memory\s+problem\s*$/: 8 ]

Total 8 documents matching your query.

1. C call - memory problem (score: 1)
Author: <Agin.Patrick@hydro.qc.ca>
Date: Wed, 24 May 2006 15:03:40 -0400
Dear all,<o:p></o:p> <o:p> </o:p> I built a DLL (under VC++) and loaded it in S-Plus (version 4.5, Windows XP) with dll.load(). When I do the call to my C function, S-Plus crashes and the following m
/archives/html/s-news/2006-05/msg00085.html (10,038 bytes)

2. Re: C call - memory problem (score: 1)
Author: <david.jessop@ubs.com>
Date: Thu, 25 May 2006 11:27:15 +0100
I think you've come up against the famous "not quite accurate documentation" problem. I'm running with a later version than you, but my version of S needs three parameters, e.g.: char *pcName = (cha
/archives/html/s-news/2006-05/msg00088.html (13,832 bytes)

3. Re: C call - memory problem (score: 1)
Author: <Agin.Patrick@hydro.qc.ca>
Date: Thu, 25 May 2006 09:23:52 -0400
Thank you David for your answer. I did the same thing before and found in <S.h> the following:<o:p></o:p> extern char *S_alloc(), *S_realloc(), *S_ok_calloc(), *S_ok_realloc();<o:p></o:p> This is why
/archives/html/s-news/2006-05/msg00090.html (16,032 bytes)

4. Re: C call - memory problem (score: 1)
Author: <Agin.Patrick@hydro.qc.ca>
Date: Thu, 25 May 2006 09:31:51 -0400
Excuse me David, I forgot to mention in my last message one thing. When I say that S_alloc has two arguments, it&#8217;s because I found a topic on that function in the help of the <st1:PersonName is
/archives/html/s-news/2006-05/msg00091.html (15,515 bytes)

5. Re: C call - memory problem (score: 1)
Author: <david.jessop@ubs.com>
Date: Thu, 25 May 2006 14:56:47 +0100
Try looking in S_extern.h and S_define.h where in my version (6.2) I find S_define.h(28): #define Salloc(n, t) (t *)S_alloc(n, sizeof(t),S_evaluator) S_extern.h(66): LibExtern void * S_STDCALL S_all
/archives/html/s-news/2006-05/msg00092.html (19,746 bytes)

6. Re: C call - memory problem (score: 1)
Author: <Agin.Patrick@hydro.qc.ca>
Date: Thu, 25 May 2006 10:41:56 -0400
Sorry Dave... but I have no such files under my C:\Program Files\splus45\include directory. When I grep for S_alloc, only one result is found and it is the one I mentionned in my last email (file S.h
/archives/html/s-news/2006-05/msg00093.html (23,017 bytes)

7. Re: C call - memory problem (score: 1)
Author: "Horace Tso" <Horace.Tso@pgn.com>
Date: Thu, 25 May 2006 10:05:00 -0700
Patrick, in my S.h, which really just points to 'S_define.h', I found two macros defined in terms of two different functions, 1. #define Calloc(n,t) (t *)S_ok_calloc((n),sizeof(t), S_evaluator) 2. #d
/archives/html/s-news/2006-05/msg00094.html (12,615 bytes)

8. Re: C call - memory problem (score: 1)
Author: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Wed, 31 May 2006 22:13:16 +0100 (BST)
First, S-PLUS 4.5 is a very different system from current versions, built from a different codebase with a different compiler (Watcom). People have been talking at cross-purposes here. Second, it is
/archives/html/s-news/2006-05/msg00106.html (14,085 bytes)


This search system is powered by Namazu