Can't get dll to work

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
xentrica
Posts: 18
Joined: 2011-02-13T21:30:57-07:00
Authentication code: 8675308

Can't get dll to work

Post by xentrica »

I have created a C++ dll module that I just can not get to run properly. It compiles fine, but will not do the simplest things. I initialize Magick, create an Image 50x50 white, and try to display or write it and nothing happens??

Using Visual Studio 2005 with sp1 patch.
The project worked in Windows XP. Now on Windows 7 it does not??
xentrica
Posts: 18
Joined: 2011-02-13T21:30:57-07:00
Authentication code: 8675308

Re: Can't get dll to work

Post by xentrica »

In my windows event panel I am getting event error:

Faulting application name: splitter.exe, version: 3.0.0.0, time stamp: 0x49888502
Faulting module name: CORE_RL_Magick++_.dll, version: 0.0.0.0, time stamp: 0x4ecefd3f
Exception code: 0xc0000005
Fault offset: 0x000246ca
Faulting process id: 0x250
Faulting application start time: 0x01ccb08f217787b0
Report Id: 5fdd2614-1c82-11e1-a758-0011d8929cce
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can't get dll to work

Post by magick »

Build one of the Magick++ demos in c:\Program Files\ImageMagick-Q16\Magick++_demos. Click on the Button project, build, and run. We assume it works. Now use this project as a template for your own custom code.
Post Reply