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: 119
Default Wrapping a XLL as if it were a DLL

I have a XLL mathematical library that I call though Application.Run
in Excel. This is a MAJOR performance bottleneck, and I am trying to
see if I can call it directly though a wrapper instead. I found a
discussion of how to call a XLL as if it were a DLL using xlcall32.dll
on the net, and have compiled this up and put the resulting dll into
the same directory as the XLL.

I then tried to wrap the XLL's function using Private Declare Function
inside Excel. However, this returns an error 53, File Not Found. I
tried adding the complete path to the XLL, but this had no effect.
This leads me to believe the error is misleading, and that it may mean
"dll not registered"?

Question1: Should I be able to use a complete path to find any dll no
matter if they are reged or not?

So then I tried registering the XLL, but this returns "LoadLibrary
failed. GetLastError returns 0x000036b1. According to the very few
hits on the 'net, this too is a completely generic message of dubious
value.

Question 2: Can an XLL be registered? As I understand it, XLL's are a
strict superset of DLLs.

Maury
 
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
Cell Wrapping John Excel Discussion (Misc queries) 3 December 1st 06 12:06 AM
column wrapping susanculbertson Excel Discussion (Misc queries) 2 August 14th 06 08:26 PM
wrapping text Jerry Excel Worksheet Functions 10 July 3rd 06 03:12 PM
Text Wrapping RhondaRoo Excel Worksheet Functions 0 February 18th 06 02:36 AM
wrapping Nascent Excel Programming 1 May 14th 04 04:15 PM


All times are GMT +1. The time now is 06:15 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"