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

Add-ins fail on 32 bit Excel #3

Open
S1nus opened this issue Oct 12, 2018 · 3 comments
Open

Add-ins fail on 32 bit Excel #3

S1nus opened this issue Oct 12, 2018 · 3 comments

Comments

@S1nus
Copy link

S1nus commented Oct 12, 2018

.DLL add-ins get opened as garbage-text when opened in 32-bit Excel, and succeed in 64-bit Excel.

Have only tried on Excel 2016

Do you think this is a quick fix? I might look into the source code of Excel-DNA to see how they succesfully wrapped the Excel C API for 32 and 64 bit versions.

Currently looking at this particular file

@S1nus
Copy link
Author

S1nus commented Oct 12, 2018

I see a lot of 64 bit variables in xlcall.rs, perhaps changing all of those to 32 would suffice? I'll play around with it next chance I get

@S1nus
Copy link
Author

S1nus commented Oct 12, 2018

Oh, the problem could also be that I compiled it from a 64 bit environment, and tried to run it on 32 bit Excel. I'll try and cross-compile it first

@ronniec95
Copy link

Hi, old comment but if you've not fixed this

cargo build --release --target=i686-pc-windows-msvc

should build a 32bit version

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

2 participants