Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > SDK ( DLL or ActiveX)

SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 27th, 2007, 04:13 AM
Razvan's Avatar
Razvan Razvan is offline
Junior Member
 
Join Date: Jun 2006
Location: coders camp
Posts: 8
Razvan is an unknown quantity at this point
Default App failed to init properly (0xc0000005): Linking my app with GDIPlus and PDF SDK (DL

Hello,

I'm a registered user of your PDF Sdk (Win DLL) fpdfview.dll version 1.4.0.1916, and fpdftext.dll version 2.0.0.0. Whenever I link my application with GDIPlus and with your sdk it fails to start giving me the error “the application failed to initialize properly (0xc0000005). click on OK to terminate the application.". My application is compiled in C++ Builder BDS (Borland Developer 2006 )


We really need to use gdiplus in our application but it looks like gdiplus and foxit sdk doesn’t get along for some reason… I get access violation when I try to init gdiplus. If I remove your sdk from my project (if it doesn’t get linked with my app) all works fine, gdiplus will init and work as expected. If I don’t use GDIplis in my app foxit sdk works without problems (but we need gdiplus) .
Please advice, I will send you by mail a copy of my test project (source code included) .


Thank you,
Razvan
Reply With Quote
  #2  
Old September 28th, 2007, 12:47 AM
Razvan's Avatar
Razvan Razvan is offline
Junior Member
 
Join Date: Jun 2006
Location: coders camp
Posts: 8
Razvan is an unknown quantity at this point
Default

My test application was sent to your support address. I've done some further tests on my system (XP SP2 , gdiplus.dll v5.1.3102.2180) and I get access violations whenever I try to startup gdi+ with GdiplusStartup:
Code:
Gdiplus::GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR  gdiplusToken;
GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
All works fine and I don't get any access violations if I don't link with your sdk and gdiplus.dll in the same application...

Thanks,
Razvan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.