d.bernaert Posted December 23, 2018 Share Posted December 23, 2018 Hi, I'm trying to use Flexcel to export data to Excel. Everything works fine when compiling as a standalone executable. When trying to distribute as an ISAPI dll, the dll won't even start in IIS. Does anybody have experience with this. There are 2 procedures to be called because Flexcel uses GDI+ but I don't know where to call them. Thx, Dominique Link to comment Share on other sites More sharing options...
d.bernaert Posted December 23, 2018 Author Share Posted December 23, 2018 Solved.. sorry. Dominique Link to comment Share on other sites More sharing options...
alfr Posted December 27, 2018 Share Posted December 27, 2018 Hi when running flexcel from a dll there is a procedure you first need to load. Don’t remember the name and is away from computer but ive Done a post here some time ago so you should be able to find it here or also more info at flexcel website Link to comment Share on other sites More sharing options...
Skepsis IT Posted December 10, 2019 Share Posted December 10, 2019 Hi, I am facing the same problem, do you remember the procedure????? Link to comment Share on other sites More sharing options...
alfr Posted December 10, 2019 Share Posted December 10, 2019 Sure. during/before first use - FlexCelDllInit when done/to release - FlexCelDllShutdown FlexCelDllInit Method Use this method to initialize FlexCel when encapsulating it in a dll. Note that you don't normally need to call this method, as FlexCel is initialized automatically. But when you are hosting FlexCel inside a dll instead of the main application you need to call this method before calling the methods in the dll. Currently, this method will just initialize GDI+ when running in Windows, because GDI+ can't be initialized from the dll itself. When you use this method, always call FlexCelDllShutdown before closing your app. 1 Link to comment Share on other sites More sharing options...
Skepsis IT Posted December 10, 2019 Share Posted December 10, 2019 Works great! I appreciate it! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now