From reading the python FAQ, I know that PYD files are basically equivalent to DLLs (with the exception of the required init function, and the way python looks for the module).
So, I would like to rename a PYD file I made to the DLL extension, and have Python load it as a "DLL." I want to do this because I have other non-python applications that need the same DLL (or PYD) file, but they need the extension to be DLL (extensions screw everything up!!). Of course, I could have two copies of the DLL, one as .dll and the other as .pyd, but that's a terrible hack to what should be a simple solution.
If this can't be done, is there some way for me to specify in MSVC8 the name of a DLL file to use (so I could tell it to use "whatever.pyd" instead of "whatever.dll"...)?
Thanks.
So, I would like to rename a PYD file I made to the DLL extension, and have Python load it as a "DLL." I want to do this because I have other non-python applications that need the same DLL (or PYD) file, but they need the extension to be DLL (extensions screw everything up!!). Of course, I could have two copies of the DLL, one as .dll and the other as .pyd, but that's a terrible hack to what should be a simple solution.
If this can't be done, is there some way for me to specify in MSVC8 the name of a DLL file to use (so I could tell it to use "whatever.pyd" instead of "whatever.dll"...)?
Thanks.