alfr Posted September 4, 2018 Share Posted September 4, 2018 Hi, I use a 3rd part tool from TMS Software - called Flexcel for creating excel files. It in general works well. However a part of it is also for creating a pdf-file out of the excel-file. This works well as long as I run the application as an exe-file on my development pc, but when instead run it as an dll on iis, I get an access violation in ntdll.dll. Anybody having any clue what might causing this kind of exception in IIS/ntdll.dll but not as an exe? Access violation at address 77EADE33 in module 'ntdll.dll'. Write of address 00000014 Quote Link to comment Share on other sites More sharing options...
Tokay Posted September 4, 2018 Share Posted September 4, 2018 You can use EurekaLog or such app for finding place of an issue. Quote Link to comment Share on other sites More sharing options...
alfr Posted September 5, 2018 Author Share Posted September 5, 2018 Found the solution - so post it here as well if somebody else is getting the same problem.... A special init is necessary if calling the 3rd part from a dll. Simplest is just to call the DllInit before using it and DllShutDown whe done. procedure CreateReport; begin FlexCelDllInit; try //Code that uses FlexCel finally FlexCelDllShutDown; end; end; Quote Link to comment Share on other sites More sharing options...
sertatar76 Posted February 9, 2022 Share Posted February 9, 2022 Thanks, it really helped!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.