Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel User Defined function calling RTD

Hi,
I have an Excel user defined function (UDF) lets say udf1 implemented
in an
XLL.

udf1(X) // Excel UDF defined in an XLL taking 1 argument

This UDF calls a RTD server using the RTD function with 3 arguments

RTD("RTDServerName", "", int X, int arg2, int arg3)

I have an Excel sheet saved with this UDF.

Now lets say the implementation of the RTD server has changed and the
type
of arg2 changed incompatibly.

Eg: RTD("RTDServerName", "", int X, String arg2, int arg3) // Arg 2
changed
from int - String

I also changed the XLL so that the UDF calls the new RTD function
correctly.
But somehow the Excel sheet that was originally saved seems to
remember that
the RTD was called with an int argument and the RTD server seems to
be
getting called with the integer argument. The new RTD server does not
like
the argument and it fails the request.

Is this normal? Is this RTD call caching some feature of Excel that
can be
disabled?

Thanks
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel User Defined function calling RTD Siva Excel Programming 1 March 31st 08 04:03 PM
Which cell is calling a user-defined function? Randy in Calgary Excel Programming 1 February 11th 08 04:04 PM
calling a user defined add-in mike allen[_2_] Excel Programming 5 January 28th 07 11:23 PM
Calling Excel user defined function from C# Stanley Excel Programming 0 June 26th 06 02:16 PM
Calling user defined function from C/C++ Ravil Excel Programming 0 April 24th 06 06:05 PM


All times are GMT +1. The time now is 01:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"