|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how do C#.NET load VC++Project exeI am able to load exe of .Net Framework by LoadFrom() function through
C#.NET but when load VC++7.2 Project EXE ,it gives error format does'nt match Tarandeep,
System.Assembly.LoadFrom is a managed API that is intended to load .NET assemblies. If you attempt to use this API to load a VC++7.2 exe, since it is not a ..NET assembly, you will get some kind of format exception. For a good reference on .NET loader semantics, take a look at this blog: http://blogs.msdn.com/suzcook/ Hello,
"LoadFrom" does NOT work for .Net assemblies created with managed C++. Regards, Werner "Nick Hertl" schrieb: Show quoteHide quote > Tarandeep, > > System.Assembly.LoadFrom is a managed API that is intended to load .NET > assemblies. > If you attempt to use this API to load a VC++7.2 exe, since it is not a > ..NET assembly, you will get some kind of format exception. > > For a good reference on .NET loader semantics, take a look at this > blog: http://blogs.msdn.com/suzcook/ > >
Other interesting topics
.NET Framework Ignores Regional Settings on WinXP
How to compare objects why Assembly.LoadFrom() function does'nt load VC++ Project exe file HOW to solve ... System.Net.WebException: Connection closed Not all images are loaded correctly Manifest Resources: format programatically how to set the steps involved in enabling the ASP. How does FileSystemWatcher work? Documents on .NET framework reduce thumbnal size |
|||||||||||||||||||||||