how to link on Windows with Quicktime 7 SDK

This is a discussion on how to link on Windows with Quicktime 7 SDK within the modula forums in Programming Languages category; I am using the Stonybrook development environment under Windows XP. I have been using in the past Quicktime 5, but wanted to update to use the latest Quicktime 7.1 SDK. When I include under my directorys to search for libraries the quicktime 7 library files, I get linker errors as follows: Double definition of symbol: ??_C @ _01KICIPPFI@?2?$AA@ Double definition of symbol: ??_C @ _0O @ MOILJOGA @ QuickTime?4qts?$AA@ \views\manchego\qtw.proj\projectfiles\sandbox\Comm onSource\Utilities \QTLoadLibraryUtils.c refers to the following undefined symbols __access _strncpy Link terminated with errors Build thread closed Anybody else ever hit these kinds of problems? I guess I am short ...

Go Back   Application Development Forum > Programming Languages > modula

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-27-2007, 04:43 PM
edward
Guest
 
Default how to link on Windows with Quicktime 7 SDK

I am using the Stonybrook development environment under Windows XP. I
have been using in the past Quicktime 5, but wanted to update to use
the latest Quicktime 7.1 SDK. When I include under my directorys to
search for libraries the quicktime 7 library files, I get linker
errors as follows:

Double definition of symbol: ??_C@_01KICIPPFI@?2?$AA@

Double definition of symbol: ??_C@_0O@MOILJOGA@QuickTime?4qts?$AA@
\views\manchego\qtw.proj\projectfiles\sandbox\Comm onSource\Utilities
\QTLoadLibraryUtils.c refers to the following undefined symbols

__access
_strncpy
Link terminated with errors
Build thread closed

Anybody else ever hit these kinds of problems? I guess I am short one
library, perhaps a C runtime library for __access and __strncpy.
Curently my search path is to search quicktime first, then a
MSHTMLHELP library folder.

Reply With Quote
  #2  
Old 10-01-2007, 08:54 AM
Frank Schoonjans
Guest
 
Default Re: how to link on Windows with Quicktime 7 SDK

Edward,

In Visual Studio 2005, create a dll with wrapper functions for what you
really need. Use the Multi-threaded runtime library (/MT).

Alternatively, do not link the libraries but use LoadLibrary() and
GetProcAddress() at runtime.

Tip: a similar approach can be taken to use .NET stuff in M2 programs. You
create a DLL with wrapper functions [use __declspec(dllexport)] in C++/CLR.
In this case you must select the Multi-threaded DLL (/MD) runtime library -
and you will have to distribute the C++ runtime. You can link the libs
associated with the DLLs with SBM2, or use LoadLibrary() and
GetProcAddress(). (I do not think it is possible to link normal static
libraries - if you can please let me know).

Frank.

"edward" <edward@magicmouse.com> wrote in message
news:1190925835.486493.327180@r29g2000hsg.googlegr oups.com...
>I am using the Stonybrook development environment under Windows XP. I
> have been using in the past Quicktime 5, but wanted to update to use
> the latest Quicktime 7.1 SDK. When I include under my directorys to
> search for libraries the quicktime 7 library files, I get linker
> errors as follows:
>
> Double definition of symbol: ??_C@_01KICIPPFI@?2?$AA@
>
> Double definition of symbol: ??_C@_0O@MOILJOGA@QuickTime?4qts?$AA@
> \views\manchego\qtw.proj\projectfiles\sandbox\Comm onSource\Utilities
> \QTLoadLibraryUtils.c refers to the following undefined symbols
>
> __access
> _strncpy
> Link terminated with errors
> Build thread closed
>
> Anybody else ever hit these kinds of problems? I guess I am short one
> library, perhaps a C runtime library for __access and __strncpy.
> Curently my search path is to search quicktime first, then a
> MSHTMLHELP library folder.
>



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 02:24 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.