----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: aamirOnline Message 1 in Discussion Hi Experts One of my friend has following problem related to callbacks... can you please look into it.... Thanx Aamir Need solution for following problem I am porting a C++ application which is using a third party DLL into a C# application. Am using DLLImport for this. Normal methods of this DLL are called successfully from my code. But there are 3 methods which use FunctionPointers as parameters within. These callback methods are present in my C# code and am passing a Delegate in C# to this methods. Initially only first call was routed to the C# code from C++ since the calling convention cannot be passes to a Delegate in VS2003. but using perl script refer URL http://www.dotnet247.com/247reference/msgs/17/87210.aspx I am now able to run recursive callbacks from withing these two languages. But the Problem tht I am facing now is tht If I run the exe from Debug folder it hangs and if I run it and attach this process to the VS2003 IDE where the solution is open it works fine. It gives weird error at times like : [Resource lookup failed - infinite recursion detected. Resource name: Arg_NullReferenceException] Attempted to access an unloaded AppDomain Any help would be highly appreciated. Warm Regards, Vaishali Dias CFC India Private Limited. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
