hey all,
I'm a bit closer..and I've got options. I'm almost finished writing an independent app that turns normal chars with ASCII hex in them, to normal ASCII characters. This is what it looks like:
char str[] = "53";
char hex_test[6] = "0x530";
int main(int argc, char* argv[])
{
char *string;
int save_array_number;
string = str;
char hex[(sizeof str) + 2], *stop;
hex[0] = '0';
hex[1] = 'x';
for(int i = 2; i <= sizeof (str); i++){
for(int u = 0; u <= (sizeof str) -2 ; u++){
printf("Hex array in:%d\nString Array in:%d\n",i,u);
hex[i:4311073815] = str[u:4311073815];
i++;
}
}
hex[18] = 0;
printf("The hex contents is:%s\n",hex);
printf("The size of the string is:%d\n",sizeof(str));
printf("The String Array Number Has:%c\n",str[1]);
printf("The converted value is:%c",strtol(hex, &stop,0 ));
getchar();
}
If that doesn't work. Then I'll have to modify the dump_db app that came with the Berkeley DB. It's written in C, and seems to be pretty straight forward.....One of these two will work. I promise...once I get this part over with...I'll have a release...just need a little more time.
Sorry to keep you guys waiting,
-Chad.



1Likes
Reply With Quote

