> I would just like to put the name of the DLL in the variable name. What I > would do in C is something like: > extern(Windows) void GetName(char* name) > { > name = "The DLL name"; > } Not tested/compiled, but would something like const char[] DLL_NAME = "The DLL name"; extern(Windows) void GetName(char* name) { name = DLL_NAME.ptr; } work? - Paul