D - [Bug] Error message on unknown interface
- J C Calvarese (9/9) Jan 25 2004 I've found that the file and line number of the error are omitted if the...
- J C Calvarese (6/33) Jan 26 2004 Actually, ComObject is an unknown class. (I guess I shouldn't post
I've found that the file and line number of the error are omitted if the parent interface is an unknown identifier. class MyContainer : ComObject identifier 'ComObject' is not defined Obviously, std.c.windows.com should be imported to make the code valid, but it'd be better if the error message included the file and line number. -- Justin http://jcc_7.tripod.com/d/
Jan 25 2004
J C Calvarese wrote:I've found that the file and line number of the error are omitted if the parent interface is an unknown identifier.Actually, ComObject is an unknown class. (I guess I shouldn't post right before I go to bed.)class MyContainer : ComObject identifier 'ComObject' is not defined Obviously, std.c.windows.com should be imported to make the code valid, but it'd be better if the error message included the file and line number. ------------------------------------------------------------------------ //private import std.c.windows.com; private import std.c.windows.windows; class MyContainer : ComObject { HWND mywnd; IOleObject browserObject; } void main() { }-- Justin http://jcc_7.tripod.com/d/
Jan 26 2004