RSS Forums RSS

Creating Excel DLLs

Please support our Mac Software advertiser: Programming Forums
Reply
Posts: 2
Reputation: gus is an unknown quantity at this point 
Solved Threads: 0
gus gus is offline Offline
Newbie Poster

Creating Excel DLLs

  #1  
Nov 20th, 2004
Hi,

I'm trying to create a DLL for Excel on Mac OS X but any guide or tutorial on the net seems to be completely focussed on Windows. Can anybody help me with how to create DLLs on a mac or direct me to a tutorial.

Thanks
gus
AddThis Social Bookmark Button
Reply With Quote  
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Creating Excel DLLs

  #2  
Nov 22nd, 2004
Hello,

Are you sure that you want to make a DLL, as in the traditional Windoze DLL (Dynamic Linked Library?) I do not believe Mac Excel will support that... then again they may have added new features to Office 2004 that will do that sort of thing.

Are you sure you aren't thinking of Macros? Windoze-developed Macros should work just fine in the equivelant Office program... because they are within the Office program, and can work.

A DLL, to my understanding, is an OS thing, and yes, the Mac uses linked libraries, but I am certain they are structurally different than the Windoze codebase.

Christian
Reply With Quote  
Posts: 2
Reputation: gus is an unknown quantity at this point 
Solved Threads: 0
gus gus is offline Offline
Newbie Poster

Re: Creating Excel DLLs

  #3  
Nov 22nd, 2004
I thought the benefit of DLLs were that they were developed in C and were therefore a lot faster than the use of ordinary Excel macros?

I was also under the impression that in Windows you could either use the ordinary macros or DLLs. If you had something that was processor intensive and you wanted speed, then you would use DLLs. Is there an equivalent for Mac or am a wrong about the purpose of DLLs?

Cheers
Neil
Reply With Quote  
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Creating Excel DLLs

  #4  
Nov 23rd, 2004
Hi,

This topic is beyond me, so I don't want to mislead you. There very well could be a development tool.

DLLs in Windows are written and compiled, whereas Macros are "interpreted" like a script. You would see more speed on a DLL given a proper configuration and programming logic.

I wish I could help you more on this.

I wonder what MS Technet has to say about it. Perhaps you would also do a Google search and dig deeper. If you do find something, please let us know.

Christian
Reply With Quote  
Posts: 156
Reputation: nicentral is an unknown quantity at this point 
Solved Threads: 4
nicentral's Avatar
nicentral nicentral is offline Offline
Junior Poster

Re: Creating Excel DLLs

  #5  
Apr 6th, 2005
Yes and no. One could write a dll in C, C++, C#, J#, or even VB.NET or VB6. They're basically a pre-compiled object or library that when referenced is used with other APIs. The problem with macros is that they are compiled at run-time. So in essence whenever you use a macro for the first time, it needs to be compiled, making it less efficient.

Another advantage of dlls is the ability to share a tool with someone else without revealing the code behind it. I'm completely for open source systems, but for corporate IP issues, this is an advantage.

I hope this helps a bit

Andy

Originally Posted by gus
I thought the benefit of DLLs were that they were developed in C and were therefore a lot faster than the use of ordinary Excel macros?

I was also under the impression that in Windows you could either use the ordinary macros or DLLs. If you had something that was processor intensive and you wanted speed, then you would use DLLs. Is there an equivalent for Mac or am a wrong about the purpose of DLLs?

Cheers
Neil
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Views: 4949 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:24 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC