Reputation: 173
I'm having the issue running any of the Magick++ program, the programs linked and compiled successfuly but when i am running them i am getting the following error.
Inside Call stack Tab:
CORE_RL_Magick++_.dll!6b004bca()
[Frames below may be incorrect and/or missing, no symbols loaded for CORE_RL_Magick++_.dll]
CORE_RL_Magick++_.dll!6affb2d8()
> button.exe!main(int __formal=-1990322582, char * * argv=0x53535330) Line 65 C++
Inside Output Tab:
'button.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll'
First-chance exception at 0x6b004bca in button.exe: 0xC0000005: Access violation writing location 0x00bbd458.
Unhandled exception at 0x6b004bca in button.exe: 0xC0000005: Access violation writing location 0x00bbd458.
First-chance exception at 0x6b004bca in button.exe: 0xC0000005: Access violation writing location 0x00bbd458.
Unhandled exception at 0x6b004bca in button.exe: 0xC0000005: Access violation writing location 0x00bbd458.
Here is the things i've already tried.
But I'm still getting the same error after re-installing OS , Visual studio and Magick++.
what is this Access Violation writing error ?
P.S: I am using Windos 7 x64 and I am already logged in as an Administrator.
Upvotes: 1
Views: 971
Reputation: 17415
"Access violation writing" means that your program tried to write to a address it didn't have write access for. There are also access violations for reading and probably execution of code. You can easily get this:
char* ptr = "foo";
strcpy(ptr, "bar");
Suggestions:
Upvotes: 1
Reputation: 306
I recommend to build Magick++ from source code and then use a project file for one of the Magick++ tests/demos as an example for how to create the project file for your own application. Did you build from source code or are you using prepared DLLs from a binary install package? Are you using Magick++ from ImageMagick or from GraphicsMagick?
Bob Friesenhahn (Magick++ original author)
Upvotes: 1