Seems to me (I could be wrong, it happens) that some of the old UDF's were 
replaced with newer functions like ADDDAY and such.

 


-----Original Message-----
From: "Mike Byerley" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Fri, 10 Sep 2010 13:27:10 -0400
Subject: [RBASE-L] - Re: Calling a UDF from 7.6


I did a side by side comparison of UDF vs DLCall in 2007 conference:

UPDATE mccontact SET contlname =  (UDF('@RProperCase.dll', contlname))
UPDATE mccontact SET contlname = (dlcall('RPrpCase.dll', 'RPropCase', 
contlname))

Both DLLs, the UDF version and the Win32 version (a convesion of the UDF 
version) were written by me.

So, I'm pretty sure if the UDF is written properly, it will work in 76.

If the UDF is ever used in-line like the example above, the performance hit 
is terrific since LoadLibrary gets called every time there is a call to the 
UDF, so to keep up with the times, I recommend you make the changes to adapt 

to DLCall.




----- Original Message ----- 
From: "A. Razzak Memon" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Friday, September 10, 2010 12:41 PM
Subject: [RBASE-L] - Re: Calling a UDF from 7.6


> At 12:33 PM 9/10/2010, Dennis McGrath wrote:
>
>>I have a UDF that works great in RBDOS.
>>
>>When I try to run the same code in RBWIN 7.6 I get
>>ERROR Invalid configuration file (2004)
>>
>>Any ideas?
>
> Dennis,
>
> In R:BASE 7.6 for Windows, you will have to use the
> "WINUDF" function to achieve you goal.
>
> Syntax:
>
> (WINUDF('exe-name','parameter-list'))
> (WINUDF('-exe-name','parameter-list'))
> (WINUDF('+exe-name','parameter-list'))
> (WINUDF('@dll-name','parameter-list'))
>
> For complete details and examples:
>
> HELP | Index | WINUDF
>
> You may also visit the latest online help:
>
> http://www.RSyntax.com
>
> Very Best R:egards,
>
> Razzak.
>
> 

Reply via email to