A very strange problem in VC8. I’ve been learning QuickTime For Windows SDK and ran into a problem with using QTNewDataReference type methods from qtml.lib. In other programs (including some of Apple’s demos) I get the following error:
unresolved external symbol @CFStringCreateWithCharacters@12 referenced in function…[/color]
Checking, ALL the CFString methods don’t link. Everything else seems OK.
However… when I did a compile in Juce I DID NOT have this problem - everything links and the QuickTime demo runs perfectly.
Juce is doing something in header includes, etc, library links, vc config, etc. so that the linker can find the CFString methods for the windows platform.
Juce is NOT using CFString converter juceStringToCFString which calls CFstringCreateWithCharacters (source does say “Mac only”) and is using another method to open the quicktime files on the disk. This implies that Juce does not use the newer QT methods like QTNewDataReference… on windows, which seems unlikely, or there’s another way to open the file with unicode support and no CFString.
Juce can fake the CFString, whose structure is not public.
Juce is opening the movie via a file dialog, and circumvents the CFstring problem by never manipulating the file path in the program - in this case, trying to load by supplying a wide-char file path from windows in the source wouldn’t work.
Any comments/advice would be appreciated. While Juce is compiling, there is something general about using the newer QT library that I don’t understand, and don’t want to proceed until I due.
Any help would be appreciated - if there is a way to use the newer QuickTime methods