Problems when trying to write a Dll/COM object in D2

Richard Webb numpsyuk at hotmail.com
Mon Sep 21 04:58:30 PDT 2009


Hi,

Whlie trying to write a COM object using D2 and the Juno library, i ran into the problem mentioned @ http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=17680.


Basically, if i build the dll example shown @ http://www.digitalmars.com/d/2.0/dll.html with DMD 2.032 and try to LoadLibrary it on WindowsXP, then i get a couple of access violations (one from inside the Runtime.initialize() call and one from the g_hInst=hInstance line).
If i try to load the same dll on Windows 2008 then all appears ok.

Is this a known issue with D2?

Thanks,
Richard Webb



More information about the Digitalmars-d mailing list