Sunday, July 25, 2004

get_registry_image

ok this function is used to retrieve the full path to the requested image.

IT RETURNS AN INT

so yeah that needs to be fixed so that it returns some sort of valid string of sorts probably a char* that will subsaquntly need to be deleted because if i just transfer out the pointer it will get deleted since it is created locally, looks like some handy new delete stuff.

ok turns out this is only c so it was a strdup on the return value and change it to char* and then free it up when finished. cleaned some stuff out. need to move on to the image_viewer file and fix up it's image handling.

0 Comments:

Post a Comment

<< Home