optlink and weak symbols

Jacob Carlborg doob at me.com
Thu Oct 18 11:36:43 PDT 2012


On 2012-10-18 13:55, Ellery Newcomer wrote:

> I am using python27_digitalmars.lib, which is generated from
> libs\python27.lib with coffimplib, and it is linking my executables with
> python.dll.

Ok. Do you know how the corresponding C code would look like? Maybe you 
need to use the "export" attribute. It's the same as 
"__declspec(dllimport)", have a look:

http://dlang.org/htomodule.html

If that doesn't work then I'm out of suggestions, Windows is not my 
primary platform.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list