Marc Palyart wrote :
Hi,


I created a simple C++/CLI application which use Alchemi but it doesn't work (compilation okay but after during the execution threads seem not to be launched correctly) with the "/clr" compilation option only with the "/clr:pure" compilation option that I need in order to use my application with unmanaged C++.

Do you know something about this problem with Alchemi and someone can help me please?

Thank and sorry for my bad english.

Hi, I have more informations to give you in order to help me, I caught the exception in a file when I used "/clr" compilation option and that's what I obtain:


/System.Runtime.Serialization.SerializationException: Impossible de trouver l'assembly 'consoleCLRAlchemi, Version=1.0.2658.19008, Culture=neutral, PublicKeyToken=null'. à System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly() à System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name) à System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) à System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record) à System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
  à System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
à System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) à System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
  à Alchemi.Core.Utility.Utils.DeserializeFromByteArray(Byte[] buffer)
à Alchemi.Executor.Sandbox.AppDomainExecutor.ExecuteThread(Byte[] thread, String workingDir) à Alchemi.Executor.Sandbox.AppDomainExecutor.ExecuteThread(Byte[] thread, String workingDir)
  à Alchemi.Executor.Sandbox.ExecutorWorker.ExecuteThreadInAppDomain()

/where consoleCLRAlchemi is my exe,it is not an other file .
/
/I contacted Microsoft about that but they answer me that the problem probably came from Alchemi because "/clr" compilation option is less strict than "/clr:pure"and customarily you can run your application correctly with "/clr" and sometimes not with "/clr:pure". Please help me.

Thank
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alchemi-users

Reply via email to