Editing images via a dll, errors
Posted: Fri Apr 26, 2024 11:09 am
I wanted to open an image in my main .exe, call the function of a dll giving it the image number (#image) and edit it there. The edited new image is created in the dll code, filled with pixels and stored into a structure. The structure now contains the #image number.
Back in the .exe main, after calling the function, the #image number is 0 and i can not find out what happened in the dll code for i can not debug it the same time i run the main .exe
What is the best way to process? Copying the code into the main file and run it there? Can i debug a dll ?? logging ??
I am using createImage () inside the dll to get an #image number and hand it back to the main program. There it is 0.
Wanted to edit some image content, maybe i try editing the original #image instead.
Back in the .exe main, after calling the function, the #image number is 0 and i can not find out what happened in the dll code for i can not debug it the same time i run the main .exe
What is the best way to process? Copying the code into the main file and run it there? Can i debug a dll ?? logging ??
I am using createImage () inside the dll to get an #image number and hand it back to the main program. There it is 0.
Wanted to edit some image content, maybe i try editing the original #image instead.