LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DDE link cache in DDEML library - is it so?

Hi,

I am facing a strange error. I have a dde server running
continously at the background. Users, by establishing a
dde link on Excel, can view latest market data. The
string passed as topic and item are case sensitive in
this application.

Let me describe the problem with an example (I have changed
the original strings which we are using):

1. User types =appname|abcd!EFGH in an excel cell.
User sees N/A on cell because the topic should have
been in capital lettters.

2. So user deletes that link and types =appname|ABCD!EFGH
User should have got the value returned by dde server,
but instead sees N/A.

3. I see the server log file and find that both the times,
the server received topic with small letters. That made
me think - is Excel caching the links ? Even if I close
and open Excel and type =appname|ABCD!EFGH, I get abcd
(with small letters instead of capital) as topic in my
dde server.

4. Then I thought of stopping and starting the dde server.
This time I got the value! Does that mean that the
DDEML library is caching the link and not Excel ? So
that when i stop the DDE server, the resource associated
with that instance is flushed by DDEML library (and that
includes any cache of dde links used earlier by the user)

Can someone validate this ? How do I overcome this problem ?
Any hint/pointers will be helpful.

saha
--
 
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
cache Tom1 Excel Discussion (Misc queries) 5 February 11th 09 08:41 PM
how do i create an import library to link to a dll for use in exc. Ashley Excel Programming 0 February 26th 05 10:25 AM
Reference Library - Missing Library in a lower version. luvgreen Excel Programming 1 October 7th 04 02:08 AM
how to write dynamic link library for excel to use? Desmond Leung Excel Programming 0 July 30th 03 07:47 AM
how to write dynamic link library for excel to use? Desmond[_2_] Excel Programming 0 July 28th 03 05:35 AM


All times are GMT +1. The time now is 08:52 PM.

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"