can someone please tell me how can i do encryption of image using MFC??
i have created a load button in my program to load an image... after i've load the picture(in *bmp format), how do i encrypt it then save it back into the file? i want to do a simple a XOR logic encryption... i'm using Visual C++ 6.0
In my code, when I try building my application,
I get this error:
ProgtestDlg.obj:error LNK2005: "unsigned char * Rec_Buffer" (?Rec_Buffer@@3PAEA) already defined in Progtest.obj
But I have define in only one place and thats in Definitons.h nad have included this header file in ProgtesDlg.h
I havent declared this function anywhere. what s wrong? can anyone help please?
Thanks in advance.
i am trying to write a script. i need to copy the contents of my clipboard into a text file. then i need to save the text file as a htm file extention with a different name then i need to close both of the files. basically what i am doing is saving web page code in a filemaker pro data base. and i want to take the contents of a field that contains my code. and save itr as a htm file. is there any scripting language that will allow me to do this.
An access violation means your program is touching some memory that it should not. Perhaps you are attempting to use an object that has been deleted etc?
Best thing to do is to set the debugger to break when this type of exception is raised. In the debug menu choose exceptions (I think thats what its called, I cant remeber the exact name of the commands in VC6) and find the access violation and set it to break when exception raised / thrown. Then rerun your program and see where this exception is coming from.
You might try investigating one of the parser generators out there to see if they can be configured to do the job. There is VisualParse (expensive commercial product) and some free ones at ‘sourceforge.net’. If it is an option, I would be tempted to use Regex++ to do the parsing, but I think you know about that already.
Note: I have added this to my to-do list, as an expansion of my personal RE parser.
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra