Click here to Skip to main content
13,044,927 members (42,434 online)
Rate this:
Please Sign up or sign in to vote.
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 can i use the same DLL?

will it be feasible?

I want to know behind the scenes.....!!!
Posted 16-May-12 20:13pm
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.
rk_prabakar 17-May-12 4:38am
How it is determined? is there any technique for that?

1 solution

Rate this: bad
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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2017
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