Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64Bit version of XLL add in #6

Open
davidfsmith opened this issue Jun 26, 2012 · 34 comments
Open

64Bit version of XLL add in #6

davidfsmith opened this issue Jun 26, 2012 · 34 comments

Comments

@davidfsmith
Copy link

As per the thread regarding the testing on Excel 2010 do you know when there will be a 64bit version of the XLLoop Excel plugin available to test / use ?

@poidasmith
Copy link
Owner

Sorry, I don't have an ETA on this since I don't currently have access to a version of Excel 2010.

@davidfsmith
Copy link
Author

Out of interest couldn't you use the 30 day trial to do a build ?

I tried doing it myself but ran out of skill / knowledge as it was complaining about some deprecated code and also a missing include (JDK related I think)

@poidasmith
Copy link
Owner

That might help for the initial version but for any bugs or future versions it would be tricky. So not really an option.

@davidfsmith
Copy link
Author

BTW - is there any chance you can do a quick document on how to compile the addin from the source code, hopefully I can then compile a 64bit version and push it back into the project for you (assuming no major issues)

@poidasmith
Copy link
Owner

There should be no special setup. Just visual studio (2005 and above). Open the solution file and build.

@davidfsmith
Copy link
Author

Will give it a try in the next couple of days and report back, thanks again.

@davidfsmith
Copy link
Author

Ok I'm stuck on an issue with the build

Error   132 error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'   \xlloop\xlloop-addin\build\msvcrt.lib(chkstk.obj)   XLLoop

After some googling around I didn't get any further but look to have setup my build correctly to Release and x64.

There are also 131 additional warnings to do with deprecated functions (sprintf, strdup, strcpy)

Again any help or thoughts appreciated, I love the XLLoop project and have some handy PHP code talking to a Mongo DB which works great on 32Bit, but I do need 64Bit support. ;-)

@poidasmith
Copy link
Owner

You'll have to use the visual studio runtime library for 64bit. Same for the other libs here as they are all 32 bit.

Take a look at my other project's build file. It has 32 and 64 bit support: https://github.com/poidasmith/winrun4j/blob/master/WinRun4J/build/WinRun4J.vcproj

@mostbit
Copy link

mostbit commented Oct 28, 2014

I managed to compile XLLoop for x64 use under Windows 8.
I am happy to share the result/upload it if someone's interested in....

@poidasmith
Copy link
Owner

Yeah, would be interesting to see what code/project/build changes were required to get this working. Perhaps as a patch?

@mostbit
Copy link

mostbit commented Oct 29, 2014

Great - but how?
I am new to this github.
should I upload the whole VS2012 project to some place?
I have a little list of steps to enhance the former VS2008 (version 0.3.2) project.

@petefarmer
Copy link

Hey mostbit, well done for building a 64bit version! I'll be happy to help you test it. I'm stuck on a 64bit machine at the moment which breaks the xlloop add-in. Sadness. It was working brilliantly on the 32bit machine I was using last week. Unfortunately I don't have build enviornment (Visual Studio) on this machine, but I would be so happy to get it running again. Thanks!

@zenchanhk
Copy link

Hi mostbit, would you like to send whole project to me via my email: [email protected]? Thanks a lot!

@mostbit
Copy link

mostbit commented Feb 13, 2015

Hi,
need to find it in my archives... will respond asap.

Am 13.02.2015 um 01:30 schrieb zenchanhk [email protected]:

Hi mostbit, would you like to send whole project to me via my email: [email protected]? Thanks a lot!


Reply to this email directly or view it on GitHub.

@zenchanhk
Copy link

Hi Kay, many thanks for your kind help.
Best wishes,
Cho Ho
2015/2/13 下午7:17 於 "mostbit" [email protected] 寫道:

Hi,
need to find it in my archives... will respond asap.

rg
km


Kay Moritzen

Am 13.02.2015 um 01:30 schrieb zenchanhk [email protected]:

Hi mostbit, would you like to send whole project to me via my email:
[email protected]? Thanks a lot!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#6 (comment).

@realkenlee
Copy link

I would love to have a copy as well, why don't you share it on github.


Sent from Mailbox

On Fri, Feb 13, 2015 at 6:21 AM, zenchanhk [email protected]
wrote:

Hi Kay, many thanks for your kind help.
Best wishes,
Cho Ho
2015/2/13 下午7:17 於 "mostbit" [email protected] 寫道:

Hi,
need to find it in my archives... will respond asap.

rg
km


Kay Moritzen

Am 13.02.2015 um 01:30 schrieb zenchanhk [email protected]:

Hi mostbit, would you like to send whole project to me via my email:
[email protected]? Thanks a lot!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#6 (comment).


Reply to this email directly or view it on GitHub:
#6 (comment)

@mostbit
Copy link

mostbit commented Feb 13, 2015

You are right - I was about to share it on github but I failed,
maybe rare, but I am new to github...
Given that people are interested in the results, I will give it another try...

Am 13.02.2015 um 16:34 schrieb realkenlee [email protected]:

I would love to have a copy as well, why don't you share it on github.


Sent from Mailbox

On Fri, Feb 13, 2015 at 6:21 AM, zenchanhk [email protected]
wrote:

Hi Kay, many thanks for your kind help.
Best wishes,
Cho Ho
2015/2/13 下午7:17 於 "mostbit" [email protected] 寫道:

Hi,
need to find it in my archives... will respond asap.

rg


Am 13.02.2015 um 01:30 schrieb zenchanhk [email protected]:

Hi mostbit, would you like to send whole project to me via my email:
[email protected]? Thanks a lot!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#6 (comment).


Reply to this email directly or view it on GitHub:
#6 (comment)

Reply to this email directly or view it on GitHub.

@mostbit
Copy link

mostbit commented Feb 13, 2015

Ok,
Sitting in a hotel and my visual studio is not running.
For know I cannot do a lot but here at least the adjustments in the win32 project to compile for x64bit.

First create yajl for x64. You get the source package lloyd-yajl-1.0.12-0-g17b1790.zip from sourceforge
For the compilation take the following options:

  • /D "_CRT_SECURE_NO_WARNINGS"
  • set Include directory for yajl
  • Do not use precompiled headers

updating the XLLoop x64:
take the win32 project and make the following changes:

  • set Multithreaded (/MT)
  • set pre-processor-def: NO_JAVA;%(PreprocessorDefinitions)
  • switch off Windows Runtime Extensions (!? in german "Erweiterungen")
  • add java (1.7) x64 include dir (right before jni.h/jni_md.h)
  • set inclue Dir XLLoop_x64\src

get the following LIBs from the internet:
--../lib/xlcall32.lib -> get the Excel-SDK from Microsoft (excelxllsdk.msi) for x64bit. After installed copy from the dir "Excel2013XLLSDK/Excel2013XLLSDK/lib/x64"
--../lib/msvcrt.lib -> choose option /MT for multithreaded and enter "msvcrt.lib"
--../lib/yajl.lib -> compiled new (as mentioned above)

I will follow up with the x64bit-project files once I get my Visual Studio running again.

@zenchanhk
Copy link

Hi Kay,

Many thanks again for your so prompt response. But I don't have Visual
Studio installed in my computer. I usually use Sharp Developer to develop
some programs in C# or IntelliJ for Java programming. It would be better to
send me the compiled files at your convenient time. Or the source files
will be Ok, I think I can intall the express version of VS to compile it.
Thanks again.
Have a nice weekend.
Cheers, Cho Ho

2015-02-14 3:08 GMT+08:00 mostbit [email protected]:

Ok,
Sitting in a hotel and my visual studio is not running.
For know I cannot do a lot but here at least the adjustments in the win32
project to compile for x64bit.

First create yajl for x64. You get the source package
lloyd-yajl-1.0.12-0-g17b1790.zip from sourceforge
For the compilation take the following options:

  • /D "_CRT_SECURE_NO_WARNINGS"
  • set Include directory for yajl
  • Do not use precompiled headers

updating the XLLoop x64:
take the win32 project and make the following changes:

  • set Multithreaded (/MT)
  • set pre-processor-def: NO_JAVA;%(PreprocessorDefinitions)
  • switch off Windows Runtime Extensions (!? in german "Erweiterungen")
  • add java (1.7) x64 include dir (right before jni.h/jni_md.h)
  • set inclue Dir XLLoop_x64\src get the following LIBs from the
    internet:
  • ../lib/xlcall32.lib -> get from
    "Excel2013XLLSDK/Excel2013XLLSDK/lib/x64" ../lib/msvcrt.lib -> choose
    option /MT for multithreaded and enter "msvcrt.lib" ../lib/yajl.lib ->
    compiled new (as mentioned above)

I will follow up with the x64bit-project files once I get my Visual Studio
running again.


Reply to this email directly or view it on GitHub
#6 (comment).

@coderofsalvation
Copy link

can anybody put the 64bit up for download please?

Possibilities for people not familiar with github:

  • dropbox, upload a zip, rightclick->share, copy url here
  • dropsend.com etc

@herste
Copy link

herste commented Sep 21, 2015

Would you be so kind to share the 64bit project files? Probably open up a fork on github to share patches, etc.

Thanks alot!

@mostbit
Copy link

mostbit commented Sep 21, 2015

I generated now a x64 Xlloop and started a "pull request" to commit to github. Please check if my commit was succesfull. As I mentioned above: I am new to github and I tried my very best...
Please give me advice if you want me to do any changes.

@herste
Copy link

herste commented Sep 29, 2015

Thanks alot for your help, mostbit. Unfortunately it seems that your repo is even with the master of poidasmith, I cannot see any changes to the project you have made in your master repo. Can you please verify that you have committed all changes to your master branch on github?

btw. - i have seen that you created your pull request against the V0_3_3_BRANCH branch. was that intended or did you do this by accident?

Cheers!

@mostbit
Copy link

mostbit commented Sep 29, 2015

Yes, my commit to V0_3_3_BRANCH was by accident.
My second commit was to master branch. for this I simply cloned the folder "xlloop-addin" and committed it as new folder "xlloop-addin-x64" (not a good way - I know). You should see it in the repository.

@herste
Copy link

herste commented Sep 30, 2015

Hello mostbit,

it seems that you removed your xlloop repo, can you please re-add?

Cheers!

@mostbit
Copy link

mostbit commented Sep 30, 2015

How is it possible to contact user privately in github?
Would it be ok if we first discuss several issues I see offsite?
As I mentioned - I am new to github and I do not want to share all my github problems here in public...

@herste
Copy link

herste commented Sep 30, 2015

sure, drop me an email to [email protected] ....

@mnar53
Copy link

mnar53 commented Jan 18, 2016

I've found a package with a subfolder called xlloop-addin-x64. It compiled under Visual Studio 2013, and the 64 bits xll works well with Excel 2013 64bits. Only flaw: a message error when Excel exits, but probably it depends from the python server, and it was already mentioned. Luckily, the server doesn't stop.
Unfortunately, I'm not able to track from where I found the package, I suspect it it the one mostbit was working. If it can help to find it, package name when downloaded is xlloop-05d0662f6f5c00586075b6ad91098cce67861c4b.

@bernardorusso
Copy link

@mostbit Do you have the 64bit add-in available?

@asndev
Copy link

asndev commented Jun 28, 2016

@bernardorusso we've done it and published it here: https://github.com/PATRONAS/xlloop
(We've also built a more high level solution which works similar to xlloop but doesn't use low-level C code. You can find it over here: https://github.com/PATRONAS/xlloop )

@mnar53
Copy link

mnar53 commented Jun 28, 2016

Here is the dll, compiled to 64 bit and with a function table allowing 10000 exposed functions, plus some files

using the python server (with, more or less, the usual packages: numpy, scipy, alglib). Also included an Excel

test workbook (requires the server started before).

Let me know if it works for you: to pass the .sln file and the source tree requires some cleanup that I can't do right now.


Da: Bernardo Russo Guedes [email protected]
Inviato: lunedì 27 giugno 2016 23.34
A: poidasmith/xlloop
Cc: mnar53; Comment
Oggetto: Re: [poidasmith/xlloop] 64Bit version of XLL add in (#6)

@mostbithttps://github.com/mostbit Do you have the 64bit add-in available?

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/6#issuecomment-228882751, or mute the threadhttps://github.com/notifications/unsubscribe/AH7JoDYVBg6FjgJ5bMhjNO3cvjWRkrOvks5qQEH2gaJpZM4AC3W7.

@rpseng
Copy link

rpseng commented Jun 17, 2018

Anybody has a compiled 64bit version working? Apparently this guy https://github.com/PATRONAS/xlloop has the project configured for 64 bit but do not provide compiled releases. I'm really trying to avoid MS Visual Studio...

Thank you in advance.

@ivanooi
Copy link

ivanooi commented Dec 1, 2018

Same here. I'm looking for 64bit as well. Thanks. I will try put that into github if anyone can send me the 64 bit compiled version. Thanks

@GijsHu
Copy link

GijsHu commented Nov 5, 2020

Hi all, I'm also looking for a 64bit compiled file aswell. Is there someone who has it available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests