Flectioned for Windows

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Feb 1 15:09:09 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Flectioned(runtime reflection for D) now supports Windows systems. In
contrast to Linux you have to compile your modules with debugging symbols
enabled (DLLs aren't affected by this).

Do you like to redirect any kind of function call?

sample:
# import cn.kuehne.flectioned, std.stdio;
#
# void foo(){
#    writefln("foo");
# }
# 
# void bar(){
#    writefln("bar");
# }
# 
# void main(){
#    foo();
#    ubyte[] buf = Function.redirect(&foo, &bar);
#    foo();
#    Function.restoreRedirect(&foo, buf);
#    foo();
# }

output:
> foo
> bar
> foo

Wine users:
Type information isn't supported(fixme:dbghelp_msc:codeview_snarf).
DLLs aren't supported(fixme:dbghelp:elf_load_debug_info_from_map).

http://flectioned.kuehne.cn

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFwn+YLK5blCcjpWoRAtiZAJ9LcWKqTIfN+lN+/17N1zXEQd1BUQCbBcG6
H3Y2qLecyAZMKQo5cQCQBCs=
=jmqj
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-announce mailing list