Converting static libraries to dynamic libraries.
-
Hi All: I'm sure there are a number of you who have gone through this experience in the past, and rather than reinvent a method, I thought I'd ask first. Has anyone converted a large number of static libraries to DLLs using an automated method (or semi-automated)? Is there any advice you would give someone trying to do this for the first time? We have about 20 or so to convert, and ideally we would like to find a method that also allows us to use the conversion information to make *nix dynamic objects as well (but it not a hard requirement).
Regards, -B "[F]reedom isn't a licence, it's responsibility." [David Gerrold, Author's Note in "The Man Who Folded Himself", 2003, p. 119]
-
Hi All: I'm sure there are a number of you who have gone through this experience in the past, and rather than reinvent a method, I thought I'd ask first. Has anyone converted a large number of static libraries to DLLs using an automated method (or semi-automated)? Is there any advice you would give someone trying to do this for the first time? We have about 20 or so to convert, and ideally we would like to find a method that also allows us to use the conversion information to make *nix dynamic objects as well (but it not a hard requirement).
Regards, -B "[F]reedom isn't a licence, it's responsibility." [David Gerrold, Author's Note in "The Man Who Folded Himself", 2003, p. 119]
Ben Burnett wrote:
Has anyone converted a large number of static libraries to DLLs
Yes (well, about 8)
Ben Burnett wrote:
using an automated method (or semi-automated)?
Ummm - I created a new solution, with new DLL projects, copied the code across, hacked it around to add the necessary DLL exporting terms and rebuilt. It pretty much worked, IIRC. Don't forget to use a a DLL based C runtime model across everyhting if you pass around ownership of dynamically allocated objects.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Ben Burnett wrote:
Has anyone converted a large number of static libraries to DLLs
Yes (well, about 8)
Ben Burnett wrote:
using an automated method (or semi-automated)?
Ummm - I created a new solution, with new DLL projects, copied the code across, hacked it around to add the necessary DLL exporting terms and rebuilt. It pretty much worked, IIRC. Don't forget to use a a DLL based C runtime model across everyhting if you pass around ownership of dynamically allocated objects.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p