tim687
Terugkerende gebruiker
- Lid geworden
- 25 apr 2010
- Berichten
- 1.774
Hallo,
Ik heb een programmatje dat Directx.directsound.dll gebruikt, nu probeer ik het te debuggen maar ik krijg de melding:
Wie kan mij hierbij helpen?
Ik heb dit al geprobeerd:
[/CODE]
en dit:
The Marshaling MDA emits information about the managed type that is being marshaled to an unmanaged type for each managed-to-unmanaged transition in the application. The Marshaling MDA can also filter the names of the method and structure fields supplied in the <methodFilter> and <fieldFilter> child elements, respectively.
The following example shows how to enable multiple MDAs by using their default settings.
View ColorizedCopy to ClipboardPrint
[/CODE]
Dat werkte allebei niet, hoe moet ik dit doen. Ik heb het geprobeerd onder .NET Framework 3.5 en .NET Framework 3.5 Cient Profile.
En bij allebei krijg ik dezelfde melding.
Bedankt,
Tim
Ik heb een programmatje dat Directx.directsound.dll gebruikt, nu probeer ik het te debuggen maar ik krijg de melding:
Code:
Dll C:\Windows\assembly\GAC\Microsoft.DirectX.DirectSound\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.DirectSound.dll is bezig met een poging tot uitvoering met begeleiding binnen OS Loader-vergrendeling. Probeer geen code met begeleiding uit te voeren binnen een DllMain- of afbeeldingsinitialisatiefunctie, omdat de toepassing hierdoor kan vastlopen.
Wie kan mij hierbij helpen?
Ik heb dit al geprobeerd:
Code:
To disable MDAs, set the MDA subkey to 0 (zero) using the Windows Registry Editor. Alternatively, you can copy the following example into a text file named MDADisable.reg and double-click the file name in Windows Explorer.
View ColorizedCopy to ClipboardPrint
[CODE]Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"MDA"="0"
[/CODE]
en dit:
Code:
Enabling and Disabling MDAs by Using Application-Specific Configuration Settings
You can enable, disable, and configure some assistants individually in the MDA configuration file for the application. To enable the use of an application configuration file for configuring MDAs, either the MDA registry key or the COMPLUS_MDA environment variable must be set. The application configuration file is typically located in the same directory as the application's executable (.exe) file. The file name takes the form ApplicationName.mda.config; for example, notepad.exe.mda.config. Assistants that are enabled in the application configuration file may have attributes or elements specifically designed to control that assistant's behavior. The following example shows how to enable and configure the marshaling MDA.
View ColorizedCopy to ClipboardPrint
[CODE]
<mdaConfig>
<assistants>
<marshaling>
<methodFilter>
<match name="*"/>
</methodFilter>
<fieldFilter>
<match name="*"/>
</fieldFilter>
</marshaling>
</assistants>
</mdaConfig>
Code:
<mdaConfig>
<assistants>
<marshaling>
<methodFilter>
<match name="*"/>
</methodFilter>
<fieldFilter>
<match name="*"/>
</fieldFilter>
</marshaling>
</assistants>
</mdaConfig>
The Marshaling MDA emits information about the managed type that is being marshaled to an unmanaged type for each managed-to-unmanaged transition in the application. The Marshaling MDA can also filter the names of the method and structure fields supplied in the <methodFilter> and <fieldFilter> child elements, respectively.
The following example shows how to enable multiple MDAs by using their default settings.
View ColorizedCopy to ClipboardPrint
[/CODE]
Dat werkte allebei niet, hoe moet ik dit doen. Ik heb het geprobeerd onder .NET Framework 3.5 en .NET Framework 3.5 Cient Profile.
En bij allebei krijg ik dezelfde melding.
Bedankt,
Tim
Laatst bewerkt: