CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 4/9/2008 6:49:40 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 112 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
"DonRobb" <>
NewsGroup User
Can;t run dll created with Visual Studio 2005 on a machine with Visual Studio 2005 Installed4/9/2008 6:49:40 PM

0

Hi

I recently made a dll in Visual studio 2005.  I went File\New\Project and under Visual C++ I picked clr for my project type.  When I take the dll to another computer that does not have Visual Studio 2005 Installed my application cannot load this dll.  It does load it if I install all the Visual Studio 2005 tools and the Visual Studio 2005 Services pack sP1 Team Suite.  Is there a was to run my dll without haveing to install all these tools on the target machine?  Even intalling the tools was not good enough it only started running after I installed the service pack.

"gunteman" <>
NewsGroup User
Re: Can;t run dll created with Visual Studio 2005 on a machine with Visual Studio 2005 Installed4/9/2008 9:26:43 PM

0

.NET Framework (2.0 SP1) must be installed on the computer 


-- "Mark As Answer" If my reply helped you --
"Mikhail Arkhip
NewsGroup User
Re: Can;t run dll created with Visual Studio 2005 on a machine with Visual Studio 2005 Installed4/9/2008 11:08:09 PM

0

Or you can use project type that does not require .NET and CLR (pure native C++ application).


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"DonRobb" <>
NewsGroup User
Re: Can;t run dll created with Visual Studio 2005 on a machine with Visual Studio 2005 Installed4/10/2008 1:08:36 PM

0

I tried that  The .NET Framework (2.0 SP1) does not seem to do the trick.  The only thing that seems to work is when I install Visual Studio 2005 and then install Visual Studio Team Suit SP1.  Of course this is not a solution for me.  I can't intall tools on every end product to make it work.  I also cannot just do a native C++ project since I have mixed code in my dll.  I import the system.dll in my code and use objects in namespaces that are listed below.

#using <System.dll>

using namespace System;

using namespace System::Text;

using namespace System::IO;

using namespace System::Net;

using namespace System::Net::Sockets;

using namespace System::Text::RegularExpressions;

Do you know what the Visual Studio Team Suit SP1 is giving me that the .NET Framework (2.0 SP1) is not?

"Thomas Sun – M
NewsGroup User
Re: Can;t run dll created with Visual Studio 2005 on a machine with Visual Studio 2005 Installed4/14/2008 10:52:51 AM

0

Hi,

What version of the dll are you using? If it is in release mode and run it on that machine, does it have the same issue?

To run this dll correctly, it needs the Visual C++ runtime components on the machine. You can download Visual C++ libraries from http://www.microsoft.com/Downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en

For more information about Understanding Dependencies of a Visual C++ Application, see http://msdn2.microsoft.com/en-us/library/ms235265(VS.80).aspx.

 

I hope this helps.


Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
5 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT