Hi All,
I copied the Visual Studio project from the damaged hard disk. VS2017 opens the project correctly, but returns the error when compiling
Error XS7038 Failed to emit module 'MOWPF'. MOWPF XSC.
Juraj
Error XS7038
Error XS7038
Hi Juraj,
do you have tried to execute first a "Clean" process in the project?
Wolfgang
do you have tried to execute first a "Clean" process in the project?
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Error XS7038
Hi Wolfgang,
yes, I execute "Clear Solution" and "Clean <projectName>, but it did not help
Juraj
yes, I execute "Clear Solution" and "Clean <projectName>, but it did not help
Juraj
Error XS7038
Hi Juraj,
MOWPF is the name of your executable?
Maybe you have specified a path that does not exists on the new disk?
Wolfgang
MOWPF is the name of your executable?
Maybe you have specified a path that does not exists on the new disk?
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Error XS7038
Hi Wolfgang
yes, MOWPF is the name of executable. In "Properties" MOWPF is path OK
Juraj
yes, MOWPF is the name of executable. In "Properties" MOWPF is path OK
Juraj
Error XS7038
There are a couple compiler bugs causing this, sometimes it has to do with pointers. Please try enabling the "Allow Unsafe code" option in your project settings, does this make a difference?
If not, can you zip and send me the solution to have a look?I
If not, can you zip and send me the solution to have a look?I
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Error XS7038
Juraj,
Does the file already exist in the OBJ or BIN folder ?
You write that the hard disk was damaged. When you copied the folder over did you make sure that you have enough rights to write to the copy of the folder structure on your machine ?
Robert
Does the file already exist in the OBJ or BIN folder ?
You write that the hard disk was damaged. When you copied the folder over did you make sure that you have enough rights to write to the copy of the folder structure on your machine ?
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Error XS7038
Hi Chris
enabling the "Allow Unsafe code" option it did not help. I don't have your e-mail address.
Juraj
enabling the "Allow Unsafe code" option it did not help. I don't have your e-mail address.
Juraj
Error XS7038
Juraj,
Did you also check Robert's advice?
It's in my signature belowhsc wrote:Hi Chris
enabling the "Allow Unsafe code" option it did not help. I don't have your e-mail address.
Juraj
Did you also check Robert's advice?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Error XS7038
For anybody following this, the problem turned out to be a small typo in the code that the compiler did not catch as an error and then failed to report a correct error message. Should be easy for Robert to fix for the next build.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu