Jump to content

Recommended Posts


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.



Link to post
Share on other sites


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 post
Share on other sites
  • 11 months later...

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.

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...