Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a DLL developed using VC++ ,it belongs to Project A which is in Asp classic language consider.

My question is

1) Can i use the same DLL for project B ?

2) If i want to migrate the front end of Project A from Asp classic project to Asp.net can i use the same DLL?

will it be feasible?

I want to know behind the scenes.....!!!
Posted
Comments
Richard MacCutchan 17-May-12 4:31am    
Assuming the DLL is an independent stand-alone library you should be able to use it from any project.
♥…ЯҠ…♥ 17-May-12 4:38am    
How it is determined? is there any technique for that?

1 solution

To test the scenario

I created a sample dll in Visual Basic 6.0 and register the same dll using regsvr command.

Once registered i created an object in ASP classic page and i called the application. The application runs smoothly and returns the expected output.

Then i created a sample application in Visual studio 2010 for Visual Basic application. Same i called from visual studio. It works good and returns the desired output.

Then i create a sample Visual basic 6.0 application where i created an object for the same dll, but here i ended up with an error.Once i added as reference in my project it works fine

So it is possible to call dll from many languages.

More or less it almost depends on the project and the language that we are using.
 
Share this answer
 
Comments
Richard MacCutchan 14-Jun-12 7:19am    
This is fairly fundamental information. If it did not work in this way then Windows would still be at version 3.1.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900