Jump to content
uniGUI Discussion Forums
d.bernaert

Flexcel

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×