Hello
I need some help again.
I’m trying to do an AudioInputSource that can resample with libsamplerate.
I compiled libsamplerate, added libsamplerate.lib to my project properties, in the linker / input section
The project compiles OK.
But when I’m launching the program it raises an exception.
[code]‘WaveformDisplay.exe’ : Chargé ‘E:\dev\juce\WaveformDisplay\debug\WaveformDisplay.exe’, Les symboles ont été chargés.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\ntdll.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\kernel32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘E:\dev\juce\WaveformDisplay\WaveformDisplay\libsamplerate.dll’, Le fichier binaire n’a pas été généré avec les informations de débogage.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\msvcr80.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\msvcrt.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\user32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\gdi32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\shell32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\advapi32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\rpcrt4.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\shlwapi.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\msvfw32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\winmm.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\comctl32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\comdlg32.dll’, Aucun symbole n’a été chargé.
‘WaveformDisplay.exe’ : Chargé ‘C:\WINNT\system32\ole32.dll’, Aucun symbole n’a été chargé.
Exception de première chance à 0x7c90eae0 dans WaveformDisplay.exe : 0xC0000005: Violation d’accès lors de la lecture de l’emplacement 0x00000130.
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application’s support team for more information.
Windows a déclenché un point d’arrêt dans WaveformDisplay.exe.
Cela peut être dû à une défaillance du tas et indique un bogue dans WaveformDisplay.exe ou l’une des DLL chargées.
La fenêtre Sortie peut contenir des informations de diagnostic supplémentaires
[/code]
It guess it hangs when loading the libsamplerate.dll which is the only dll which needs msvcr80.dll
Do you have any clue ?
Robiwan maybe ? since you already linked with libsamplerate 
Many thanks in advance
geoffroy
