T
Timothy Wong
Hi,
Here is my situation...please tell me if this is possible:
1) An existing application loads a DLL or SO and is looking for a
function (e.g. - getName(void))
2) Prior DLL's that were created in a procedural fashion and just
created a global function.
3) Now I want to create a class to encapsulate this function and
create a DLL or SO
My question ... is it possible to compile a DLL in this way and
have the old application be able to load getName with out any notion
of loading/instatiating a class? The dilemna here is that the
application cannot be modified (no source code).
Here is my situation...please tell me if this is possible:
1) An existing application loads a DLL or SO and is looking for a
function (e.g. - getName(void))
2) Prior DLL's that were created in a procedural fashion and just
created a global function.
3) Now I want to create a class to encapsulate this function and
create a DLL or SO
My question ... is it possible to compile a DLL in this way and
have the old application be able to load getName with out any notion
of loading/instatiating a class? The dilemna here is that the
application cannot be modified (no source code).