473,657 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Options to force the version of .Net Frameworks used by a dll

I would like to know all the means that are available to configure/specify
the version of the .Net Frameworks that are used by a particular dll deployed
on a particular machine.

The reason for this is that I have a Managed C++ app dll built using VS .Net
1.0 against v 1.0 of the Frameworks that in certain circumstances is
incorrectly using v 2.0 of the Frameworks.

The circumstances are that the dll is being linked dynamically to a legacy
native Win32 C app and called through an exported C decl entry point (I
believe that this is not the 'correct' way to call .Net dll's from native
Win32 apps but unfortunately for practical purposes I am stuck with it). This
mechanism usually manages to use the correct version of the .Net Frameworks
and 'works'.
However, when run under Softgrid and Windows 2003, the process is incorrecly
using v 2.0 of the .Net Frameworks. So, I would like to know what my options
are to try to encourage the dll to use version 1.0 of the .Net Frameworks in
this situation.

PS It is not practical to simply remove the 'wrong' versions of the
Frameworks.
PPS I believe that the 'correct' way to invoke a .Net dll from a native
Win32 app is via COM - any advice/assistance/links to help me create the COM
i/f for a C Win32 client exe to a Managed C++ server dll (using VS .Net 1.0)
would be appreciated.
Jun 27 '08 #1
1 1811
Tim wrote:
I would like to know all the means that are available to
configure/specify the version of the .Net Frameworks that are used by
a particular dll deployed on a particular machine.

The reason for this is that I have a Managed C++ app dll built using
VS .Net
1.0 against v 1.0 of the Frameworks that in certain circumstances is
incorrectly using v 2.0 of the Frameworks.

The circumstances are that the dll is being linked dynamically to a
legacy native Win32 C app and called through an exported C decl entry
point (I believe that this is not the 'correct' way to call .Net
dll's from native Win32 apps but unfortunately for practical purposes
I am stuck with it). This mechanism usually manages to use the
correct version of the .Net Frameworks and 'works'.
However, when run under Softgrid and Windows 2003, the process is
incorrecly using v 2.0 of the .Net Frameworks. So, I would like to
know what my options are to try to encourage the dll to use version
1.0 of the .Net Frameworks in this situation.
In thisd case, is it possible that the 2.0 CLR is already loaded into the
process before your DLL comes along? It's only possible to load a single
version of the CLR into a given process.

-cd
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1579
by: Steven Bethard | last post by:
So here's the state of the decorator debate as I see it: *** Location GvR pretty strongly wants decorators before the function: http://mail.python.org/pipermail/python-dev/2004-August/047112.html http://mail.python.org/pipermail/python-dev/2004-August/047279.html
14
2687
by: mirnazim | last post by:
Hi, There are great Python Web Application Framework. But most of them are meant for content oriented web apps. Is there something that can ease the development of application that are not content oriented(I call them "NON CONTENT-ORIENTED WEB APPLICATIONS" because I don't know what else to call them). I mean the applications like, accounting, high volume data entry apps, where normally GUI clients have ruled. I know very high...
15
15455
by: TJ Walls | last post by:
Hello All, Is it possible to create a <select> element with no selected options? I have tried setting the selectedIndex attribute to -1, but as far as I can tell this only works for <select multiple> elements. Am I missing something obvious? Sincerely, TJ Walls
0
1579
by: Fermigier Stefane | last post by:
Nuxeo Calendar Server released in version 2 ------------------------------------------- Nuxeo releases version 2 of it's calendar products for Python and Zope, updating to the latest technology frameworks. Nuxeo proudly presents version 2 of its calendar framework. The calendar framework is a set of advanced, flexible calendar components for Python and Zope.
3
3311
by: MarkusJNZ | last post by:
Hi, I have two different applications running on 2003 both in two different vitrual directories. One application runs on the .NET framework 1.1 whilst the other runs on 2.0. If I change the framework version (via IIS admin ASP.NET tab) for either application (Initally the 2.0 app was recognised by IIS as 1.1) does this force IIS to restart? ?? Any links to further reading would be good.
2
1847
by: udupi_mail | last post by:
Hello, Was hoping to get some feeback on the following: Current arch. is a swing client with corba services deployed on AIX. Data tranferred over the wire is XML(string) instead of traditional corba datatransfer objects. The corba interface just provides business methods which take in a parameter of type java.lang.String(xml). We are using a DOM based xml serializer/deserializer which does the java<-->xml conversion both on client and...
4
1939
by: Evan Klitzke | last post by:
Hi all, What frameworks are there available for doing pattern classification? I'm generally interested in the problem of mapping some sort of input to one or more categories. For example, I want to be able to solve problems like taking text and applying one or more tags to it like "romance", "horror", "poetry", etc. This isn't really my research specialty, but my understanding is that Bayesian classifiers are generally used for problems...
3
1483
by: LP | last post by:
Hello, We are about to start a big project replacing legacy application with an application that will be developed on .NET framework. Some people on our team have experience with application frameworks in Java and FoxPro, and they want to use some equivalent frameworks in .NET like Spring, CSLA.NET, Strata Frame, etc I've never used any app frameworks, so My question to you is have you every used any of these or other frameworks, what was...
4
4980
by: njwilson23 | last post by:
I'm having trouble with tkinter on a new installation of Python (2.6), built with the framework option from source that was downloaded from python.org. I'm running OS 10.4 on a PowerPC G4. The problem first arose when I tried to run matplotlib - it couldn't find tcl/tk because it was searching for 8.5, and I had 8.4. I found and built tcl/tk 8.5, which led to a new error, reproduced below: Traceback (most recent call last): File...
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.