egcs-1.1-cygb19: dll exception bug.
Andrew Lipnitsky
ert@cit.org.by
Mon Oct 5 06:58:00 GMT 1998
Hello All!
I have coolview.tar.gz with cygwinb19.dll 07/15/98 and
egcs-1.1-cygb19 (AKA egcs-2.91.57) from
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/egcs.html
I have found that exception which was thrown in dll module will
never be caught in main program module.
For example following code does not work:
// in foo.dll
void foo() {
throw 7;
}
// in bar.exe
__declspec (dllimport) void foo();
int main() {
try {
foo();
}
catch (int i) {
cerr << "exception!!!" << endl;
}
}
This program fail quietly.
But if function foo() is located in bar.exe then
all work fine.
Good bye.
Andrew Lipnitsky ert@cit.org.by
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list