PC Review


Reply
Thread Tools Rate Thread

C Add-In clashes with VBA?

 
 
Anton Kryukov
Guest
Posts: n/a
 
      8th Jul 2003
I am trying to write an Add-In XLL in C that calls functions from the
Analysis ToolPack as user-defined functions, for example

Excel(xlUDF, &xRes, 5, TempStr("COUPPCD"),
TempNum(settle), TempNum(maturity), TempNum(freq),
TempNum(basis));

When macros are disabled, things seem to work fine. However if the
spreadsheet contains enabled VBA functions using the Analysis
ToolPack, things go wild. The first invocation of a ToolPack function
from the C Add-In works fine, but the second time the xRes XLOPER has
the xltype field set to xltypeBool instead of xltypeNum, even though
the Exel function itself returns xlretSuccess.
Any ideas about what's happening?
Thanks

Anton Kryukov
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP update and hardware clashes =?Utf-8?B?QW9E?= Windows XP Performance 4 27th Apr 2005 08:34 AM
Writing to table: code clashes with form =?Utf-8?B?cGVwZW5hY2hv?= Microsoft Access Form Coding 2 15th Feb 2005 10:55 PM
REQ: My Norton Antivirus 2003 clashes with XP SP2? young@and.restless Windows XP General 12 14th Dec 2004 01:11 AM
find date clashes =?Utf-8?B?bHlubiBhdGtpbnNvbg==?= Microsoft Access Queries 2 4th Nov 2004 05:34 PM
XP update clashes with Video driver, low res now jim Windows XP Hardware 0 15th Sep 2003 10:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:40 AM.