[Issue 7020] Exception thrown across DLL is not caught.

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7020

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P2  |P3

--


[Issue 7020] Exception thrown across DLL is not caught.

2012-01-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7020


Rainer Schuetze  changed:

   What|Removed |Added

 CC||r.sagita...@gmx.de


--- Comment #5 from Rainer Schuetze  2012-01-16 10:43:50 
PST ---
>I haven't yet looked into making phobos a DLL under windows.

There is one possible solution shown in issue 4071

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7020] Exception thrown across DLL is not caught.

2012-01-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7020



--- Comment #4 from d...@dawgfoto.de 2012-01-16 09:23:03 PST ---
Yes updating library versions might cause incompatibilities.
It is a matter of ABI design to avoid it.

Statically linking a library multiple times into
exe/dlls means you have duplicated state, e.g. the "same"
function called from different dlls will use different
locks.

There apply the same rules as with the C runtime only
that we don't yet have a /MD option to solve this issue.
http://msdn.microsoft.com/en-us/library/ms235460.aspx

I haven't yet looked into making phobos a DLL under windows.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7020] Exception thrown across DLL is not caught.

2012-01-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7020



--- Comment #3 from SHOO  2012-01-16 03:16:09 PST ---
(In reply to comment #2)

I examined the method, too. However, I was not able to obtain a good solution.

In addition, the solution to move the Phobos/druntime/any libraries's symbol
which exe contains into DLL is not correct. This is because there is not the
guarantee that a version of library is the same when DLL was compiled.

I have heard that this problem was the problem that was difficult in other
languages...
Unfortunately I cannot show the solution that is better than this. If you have
good solution, please submit PullRequest.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7020] Exception thrown across DLL is not caught.

2012-01-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7020


d...@dawgfoto.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||d...@dawgfoto.de
 Resolution|DUPLICATE   |


--- Comment #2 from d...@dawgfoto.de 2012-01-15 17:39:01 PST ---
I strongly disagree with the expected behavior and the merged fix.
https://github.com/D-Programming-Language/druntime/pull/92

Having multiple definitions of the same symbol can't work.

The correct solution is to move those symbols (phobos)
into a DLL and link every user against it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7020] Exception thrown across DLL is not caught.

2011-11-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7020


SHOO  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #1 from SHOO  2011-11-26 23:58:26 PST ---
*** This issue has been marked as a duplicate of issue 1693 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---