Hi again,
The problem with ASCII chars are that, they coded with TCHAR's which windows depended, cannot use those in linux, mac, etc... Needed to remove them all, also all tchar.h files too.
If we choose port 1:1 than we needed to use old standard sprintf functions instead of _stprintf functions that depended to windows.
So we don't have problem ASCII char strings, but TCHAR strings... We needed to change all string compare / string copy functions with standard C strings to make this program running in linux natively..
When we make something like that, It's better to make it via wxStrings because it's easy to code a == b, instead of strncmp(a,b). Also its more readable and reduces the complexity, shortens code. So If we have to change them to compile wxPIC with gnu gcc or we cannot do anything.
I also noticed uint8_t like definitions. Thanks. I wish you changed the PDWORD with "uint32_t *", it's pointer, I learned recently and confused little :)
I am fixed lots of file path problems and filenames.. It's looks ok. Since I removed <tchar.h>, program shows lots of errors at compile time. Needed to silence those errors one by one :)
Today I programmed my PIC with RCD Programmer with wxPIC, using thru wine, a compatibility layer for windows executables, and everything is fine. But prefer native program instead of it. ;)
Now look at rev 11. When you saw the removed functions, it's easy to understand and more easier than changing with std c strings.
I also changed _T() with wxWidgets compatible wxT().
Erdem