I have a program that compiles and runs wonderfuly, which connects to a
server via TCP/IP and receives commands to play .AVI files.
I've recently finished debugging the TCP/IP client, and began adding the AVI
player portion of the code... to discover, to my horror, that including a
TMediaPlayer object and a TOleContainer object into ANY form my project
instantly destroys any hope of the main client form [Unit1] ever compiling
correctly. I include these two objects into a form [Unit2], and suddenly I
get the following compile-time error:
[LinkerError] Unresolved external 'Scktcomp::TAbstractSocket::SetPortA(int)
__fastcall' referenced from C:\Program
So, I remove the TMediaPlayer and the TOleContainer objects, and it STILL
generates the error. Creating a new project and dropping the Unit1 form into
it doesn't work, either. It appears that once a form is included in a
project that contains one of these two objects, it is permanently and
Can anyone explain what is going on here?
["In vita non pacem est" suddenly means more and more]