Jump to content

Flexcel


d.bernaert

Recommended Posts

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

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

  • 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 comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...