Search found 6 matches

by Francesmorard
Tue 17 Mar 2026 13:15
Forum: TraceWin
Topic: critical error with my_element.dll
Replies: 10
Views: 7275

Re: critical error with my_element.dll

Dear Didier,

Thank you for your file.
Indeed, I don't encounter an error with this one. Which version of MinGW do you use ?

Regards,
Sophie
by Francesmorard
Tue 17 Mar 2026 10:37
Forum: TraceWin
Topic: critical error with my_element.dll
Replies: 10
Views: 7275

Re: critical error with my_element.dll

Dear Didier,

I use the 15-2-0 version of mingw64.
I tried both solutions and it still doesn't seem to fully work, the critical error still appears randomly.

Regards,
Sophie
by Francesmorard
Tue 17 Mar 2026 08:53
Forum: TraceWin
Topic: critical error with my_element.dll
Replies: 10
Views: 7275

Re: critical error with my_element.dll

Dear Didier,

I used mingw64 to compile the file with these commands :

Code: Select all

g++ -m64 -Wall -c MAGNET_ELECTRO_BEND.cxx
g++ -m64 -Wall -c FENTE.cpp
g++ -m64 -shared -static-libgcc -static-libstdc++ -Wl,--export-all-symbols -o my_elements.dll MAGNET_ELECTRO_BEND.o FENTE.o
by Francesmorard
Mon 16 Mar 2026 14:50
Forum: TraceWin
Topic: critical error with my_element.dll
Replies: 10
Views: 7275

Re: critical error with my_element.dll

Dear Didier,

I don't have any new update available on TraceWin, so I can't test.
I don't remember how I compile the DLL first time so I did it again in 64-bits for sure. You can find the new version attached to this message.

Best regards,
Sophie
by Francesmorard
Mon 16 Mar 2026 10:35
Forum: TraceWin
Topic: critical error with my_element.dll
Replies: 10
Views: 7275

critical error with my_element.dll

Dear Didier, When running my project with my own element in the file my_element.dll, it works only the first try when TraceWin is starting. If I run it a few times because I changed some parameters or something I end up with an error message saying there is a critical error and TraceWin is becoming ...
by Francesmorard
Fri 6 Mar 2026 14:17
Forum: TraceWin
Topic: Backtracking error
Replies: 2
Views: 1238

Backtracking error

Dear Didier, I have a project that consist of : SPACE_CHARGE_COMP 0.9 SOL1 : FIELD_MAP 50 600 0 50 0.736784 0 0 1 MedSolb DRIFT 382.4 50 0 DRIFT 200 50 0 END I send an initial distribution and save the final distribution after the last drift. The transmission is 94%. enveloppe.png Then I choose this...