Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: COM COM+
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 16-May-12 21:13pm
Comments
Richard MacCutchan at 17-May-12 4:31am
   
Assuming the DLL is an independent stand-alone library you should be able to use it from any project.
rk_prabakar at 17-May-12 4:38am
   
How it is determined? is there any technique for that?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Richard MacCutchan at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 269
1 OriginalGriff 240
2 CPallini 195
3 Maciej Los 177
4 BillWoodruff 173
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100