FB skeleton code for making generic XLL files for use with Excel 32 Bit

Windows specific questions.
Post Reply
E Dingsor
Posts: 24
Joined: Nov 15, 2017 9:53
Location: Norway

FB skeleton code for making generic XLL files for use with Excel 32 Bit

Post by E Dingsor »

Translated C code to FB for making generic add-ins(XLL files) for use with Excel 32 bit

see link:
http://www.planetsquires.com/protect/fo ... pic=4152.0
HIGH-Zen
Posts: 2
Joined: Feb 23, 2021 7:56

Re: FB skeleton code for making generic XLL files for use with Excel 32 Bit

Post by HIGH-Zen »

Can't get it to work
Windows XP Professional SP3, MS Office 2003
FreeBasic 1.07.2 win32
>fbc -s gui -dll -export -Wl --subsystem,windows,--kill-at,-e_XLLMAIN
compile, load, but no functions imported
-----------------------------------------------------------------------
Windows 7 Home Premium, MS Office Professional Plus 2016
FreeBasic 1.07.2 win32
>fbc -s gui -dll -export -Wl --subsystem,windows,--kill-at,-e_XLLMAIN
compile, load, but no functions imported
-----------------------------------------------------------------------
Windows 7 Home Premium, MS Office Professional Plus 2016
FreeBasic 1.07.3 win64
>fbc -s gui -dll -export -Wl --subsystem,windows,--kill-at,-e_XLLMAIN
does not compile

what's wrong?
HIGH-Zen
Posts: 2
Joined: Feb 23, 2021 7:56

Re: FB skeleton code for making generic XLL files for use with Excel 32 Bit

Post by HIGH-Zen »

I tested carefully again. Now it works on
-------------------------------------------------------------------
Windows XP Professional SP3, MS Office Enterprise 2007
FreeBasic 1.07.2 win32
>fbc -s gui -dll -export -Wl --subsystem,windows,--kill-at,-e_XLLMAIN
compile, load, and working
-------------------------------------------------------------------
Windows 7 Home Premium, MS Office Professional Plus 2016
FreeBasic 1.07.2 win32
>fbc -s gui -dll -export -Wl --subsystem,windows,--kill-at,-e_XLLMAIN
compile, load, now it works

So it does not work on Office 2003. Seems working on Office 2007 and up.
Thank You E Dingsor!
Post Reply