forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 1:59 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: how to register AL_matrix.dll as excel addin?
PostPosted: Mon Aug 22, 2011 11:10 pm 
Offline

Joined: Mon Aug 22, 2011 11:46 am
Posts: 4
Hi.

I'm trying to call the AL_matrix.dll addin from excel VBA, using C++ code from AlgLib and, VBA interface code along with excel example sheet, from Doug of newtonexcelbach (http://newtonexcelbach.wordpress.com/20 ... for-excel/).

The instructions work for win7 running 32bit excel, but now i'm trying to implement with 64bit excel (running windows server 2008R2) and having problems. I changed the 'declare' statements in the vba code to include 'ptrsafe' (and ‘long’ to ‘longlong’) as outlined here; http://msdn.microsoft.com/en-us/library/ee691831.aspx, but not managing to get the alglib addin appear in excel (from tab developer/addins).

Is it that AL_matrix.dll won't work on 64bit excel, or is there some registration or something else i need to do? I saved the AL_matrix.dll file in c:\windows\system32\, which my googling suggests should be the correct place for it.

Thanks for any advice.

Yug


Top
 Profile  
 
 Post subject: Re: how to register AL_matrix.dll as excel addin?
PostPosted: Wed Aug 31, 2011 12:56 am 
Offline

Joined: Mon Aug 22, 2011 11:46 am
Posts: 4
Hi. Anyone have some suggestions about how to add C++ Alglib library to excel2010 (64bit)? I do the same process as when loading on excel2010 (32bit) but it doesn't appear. Probably i miss something obvious. Sorry my background isn't in IT and maybe i miss something obvious in terms of registration or directory placement for the file. Any pointers greatly appreciated.

Much thanks Sergei for making this wonderful library available.


Top
 Profile  
 
 Post subject: Re: how to register AL_matrix.dll as excel addin?
PostPosted: Fri Sep 09, 2011 12:31 am 
Offline

Joined: Sun May 16, 2010 11:42 pm
Posts: 63
Yug - I see you haven't got any response here yet, I guess there aren't too many people linking 64 bit Excel to C++ dlls! Since it's a fairly generic question maybe you might have more luck at a C++ forum.

_________________
Doug Jenkins
http://newtonexcelbach.wordpress.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group