Hi All,sarona wrote: ↑Sun Aug 21, 2022 11:28 pmJust curious. Did you compile the binary yourself from source? If so, did you use Visual Studio?
I recall seeing a thread from Eelco on Ed's forum where somebody encountered the same error - except this was during a compilation of Toga and not running Rebel from the commandline. It might be totally unrelated, but I thought I would mention it.
"Error C2664 'HANDLE CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE)': cannot convert argument 1 from 'wchar_t [1024]' to 'LPCSTR' 1Toga D:\Downloads\1Toga\useful.cpp 170 " when trying to compile rebel or toga 4, before and after following post instructions
https://prodeo.actieforum.com/t705-not- ... tudio-2022
Yes, Ron is correct, that is very probably the same error, maybe it is the only one so if someone can fix it Rebel 15.1 can be compiled without any detours back to Fruit in Visual Studio 2022. That is my version, it is not the very latest update I will try later with an upgrade. I think Chris is saying above that you can try with an older version of Microsoft Visual Studio, I think Ed also still has the 2017 one? See the thread for details. But I can make Rebel 15.1 by taking the solution Ed provided with Fruit Rebel, replace everything that changed going from Fruit to Toga, it is a bit of a jigsaw puzzle but you learn something about the differences, the evolution of Fruit in the process too. I convert all the line endings back to Unix but that is not essential. Visual Studio 2022 will now compile after retargeting the solution. Make sure to use Ed's settings.
I feel like a bit of a caveman 'programmer' here and it may break with a new compiler update, but with Visual Studio 2022 it is at least guaranteed to work with the help of Ed and Chris
At the moment my version is not the default so I would have to convert some search.cpp changes back again if I posted my version, but it is possible to make your own now. The sources will make an SSE version, not the faster version, but it is not very hard to change that for a more modern computer, I changed that in my version and that will probably be posted later or ask Ed or in the forum how to do it.

