Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / February 2007

Tip: Looking for answers? Try searching our database.

register contorl (dll) ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anu - 19 Feb 2007 08:04 GMT
Hi,

I have a shell extension in VS 6. I am porting the code to VS 2005.
After porting, how can I register the dll from IDE?
In VS 6, there is a option to register control from tools menu but I
could not find the similar option in VS 2005. I am very new to this.
So, please help me.
Also, when I start the debuggin from VS 2005, the dll is locked by VS
2005. I have to close the IDE everytime to rebuild it. Can someone
also provide some hints for this problem.
Thanks,
Anu
Bruno van Dooren [MVP VC++] - 19 Feb 2007 09:37 GMT
> I have a shell extension in VS 6. I am porting the code to VS 2005.
> After porting, how can I register the dll from IDE?
[quoted text clipped - 4 lines]
> 2005. I have to close the IDE everytime to rebuild it. Can someone
> also provide some hints for this problem.

go to your project settings -> linker -> register output.
set that flag to yes, and your dll will be registered after a successful
build.

I don't know why VS keeps the control locked. Someone must be holding on to
it.
Are all references closed correctly when the client application exits?

Signature

Kind regards,
   Bruno van Dooren
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Anu - 20 Feb 2007 08:57 GMT
On Feb 19, 2:37 pm, "Bruno van Dooren [MVP VC++]"
<bruno_nos_pam_van_doo...@hotmail.com> wrote:
> > I have a shell extension in VS 6. I am porting the code to VS 2005.
> > After porting, how can I register the dll from IDE?
[quoted text clipped - 19 lines]
>     bruno_nos_pam_van_doo...@hotmail.com
>     Remove only "_nos_pam"

Thanks a lot!
For locking I have no idea. In VS 6, the dll is locked by Windows
explorer as it is shell extension but not by VS 6 itself. But in VS
2005, after build it has a lock and I have to close it to remove that
lock.
Regards,
Anu

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.