by Abhishek Kumar Singh
Feedback
|
Average Rating:  
Views (Total / Last 10 Days):
46400/
516
|
|
|
|
| Downloads |
|
|
|
|
|
Article Feedback
User Comments
Title:
call DLL from exe
Name:
Arun
Date:
7/10/2009 2:16:16 AM
Comment:
Hi, nice article. But I'm stuck at a point and think you'l be able to help me. I've created a dll class library project and attached it to a process. I've placed both .dll and .pdb files in the bin folder of the exe application. I've put the breakpoints in my dll project and now start the exe. The process runs and when the dll is called, the control does not enter the class created in the dll(I've put breakpoints at relevant positions). The process completes, but the control does not enter class library. What I am doing wrong? Any suggestions would be welcome. Thanks in advance.
|
Title:
Re: Would it be same in 2005
Name:
Abhishek (Author)
Date:
11/21/2007 2:16:32 AM
Comment:
you should find the DLL file in bin folder as follows: project folder >> bin >> debug/realease >> dll file if you missed to locate your project folder, try this: (Be sure you have created a library project) 1. In the VS 2005 IDE, open solution explorer. 2. in the tree structure there should a "bin" node, exapand that node by clicking on + 3. then you should see Debug or Release, open + 4. now you can see you dll file in the list. 5. right click on the dll and click on properties and see the path of the dll in the properties, and collect the dll file then.
Hope it helps you. Thanks.
|
Title:
Would it be same in 2005
Name:
Ram
Date:
10/19/2007 12:42:23 PM
Comment:
Hi, you have described very well; but will it be happen in VS 2005.I could not see any bin folder to see the DLL file once you build the application.Do we need to create manually bin folder
|
Title:
Reason fo not keeping both projects in same solution
Name:
Abhishek Kumar Singh
Date:
7/22/2007 4:43:41 PM
Comment:
darren, thanx for your suggestion.. but intensionally i didn't keep both projects in same soluction. I wanted to show that each porjects could be at different location .. may be in same computer or different computer over LAN. Also in case of large projects client and server projects use to be developed separately by different developers/team.
|
Title:
Add both projects to same solution
Name:
darren
Date:
7/22/2007 4:06:33 PM
Comment:
You missed the best solution. Add both projects to the same solution. Set a ref in the EXE to the DLL project. Set startup project as the EXE.
|
Title:
Great Article
Name:
Dhanabalan.R
Date:
7/15/2007 3:15:55 AM
Comment:
Hi Abishek
Nice and Useful articles for developers
|
Title:
Nice article
Name:
Macho
Date:
7/12/2007 2:07:02 PM
Comment:
Very good article for DLL masters and real life programming.
|
|
Product Spotlight
|
|
|