- Aug
- 2,799
- 144
When I accidentally attempt to load a non 64-bit PLUGIN .dll using the PLUGIN /L command in TCC,
that is,
I accidentally attempt to load a 32-bit PLUGIN .dll,
I receive the following error message;
In TCC/LE 14 (32-bit), when attempting to load a non-32-bit PLUGIN .dll,
I receive the following error message;
I would like to suggest that a cleaner error message be output for the PLUGIN command in TCC x64,
stating that the plugin is 32-bit,
or something along that line.
Yes, I could check before loading a PLUGIN in TCC x64,
...but hoping that this can be added to a cleaner error message.
Joe
that is,
I accidentally attempt to load a 32-bit PLUGIN .dll,
I receive the following error message;
Code:
U:\>plugin /l FileUtils-x86.dll
TCC: (Sys) The specified module could not be found.
"Could not load file or assembly '495104 bytes loaded from TC-DotNetPluginHost64, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
U:\>plugin /l 4console.dll
TCC: (Sys) The specified module could not be found.
"Could not load file or assembly '73216 bytes loaded from TC-DotNetPluginHost64, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
U:\>
I receive the following error message;
Code:
[U:\]plugin /l FileUtils.dll
TCC: (Sys) FileUtils.dll is not a valid Win32 application.
I would like to suggest that a cleaner error message be output for the PLUGIN command in TCC x64,
stating that the plugin is 32-bit,
or something along that line.
Yes, I could check before loading a PLUGIN in TCC x64,
Code:
U:\>echo %@exetype[fileutils.dll]
9
U:\>echo %@exetype[FileUtils-x86.dll]
6
...but hoping that this can be added to a cleaner error message.
Joe