Are dll-imported functions broken?
Serg Kovrov
kovrov at no.spam
Sun Feb 18 17:12:47 PST 2007
This either really nasty bug or I'm hopelessly lost.
I have described my problems in "libpng dll functions weird behaviour"
thread (era18v$2rrd$1 at digitalmars.com) in learn group.
http://digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=6528
I have set up extremely simple test case reproducing misbehavior (at
least for me):
0. Extract attached archive to project directory.
1. Compile visualstudio project.
2. Copy dll and lib to projects folder.
3. Run `coffimplib.exe -f dlltest.lib`.
4. Run `make_d.cmd` to compile D test program.
Run test.exe to see if output is, or is not expected
"dlltest.get_test():123"
--
serg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlltest.zip
Type: application/octet-stream
Size: 2931 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20070219/08ec01a0/attachment.obj
More information about the Digitalmars-d-bugs
mailing list