INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Media Center.tlb errors?  (Read 1458 times)

NikeJustDoItOk?

  • Regular Member
  • Member
  • *
  • Posts: 1
Media Center.tlb errors?
« on: November 09, 2003, 04:46:26 pm »

Im making a plugin for MSN Plus in Borland C++ Builder 5 to let you do various things with MC.  The plugin compiles and works fine until I add this line:

Code: [Select]
IMJCurPlaylistAutomationPtr MJCurPlaylist = MJ->GetCurPlaylist();
Which generates a linker error:

Code: [Select]
[Linker Error] Unresolved external '__stdcall _com_issue_error(long)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\PROJECTS\MSNPLUGIN\MSNPLUGIN.OBJ
[Linker Error] Unresolved external '_com_dispatch_method(IDispatch *, long, unsigned short, unsigned short, void *, const wchar_t *, ...)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\PROJECTS\MSNPLUGIN\MSNPLUGIN.OBJ

And also this line:

Code: [Select]
DWORD dwCurrentPosition = MJCurPlaylist->GetPosition();
Which generates another linker error:

Code: [Select]
[Linker Error] Unresolved external '__stdcall _com_dispatch_propget(IDispatch *, long, unsigned short, void *)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\PROJECTS\MSNPLUGIN\MSNPLUGIN.OBJ

Im using the newest Media Center.tlb on the site and Im running MC 9.1.291.  This is my first time using Media Center's Automation or OLE or COM stuff, so any help would be appreciated.  Thanks!
Logged
Email: NikeJustDoItOk@earthlink.net
MSN: SpecialOPS321@hotmail.com
AIM: NikeJustDoIt0k

"Don't take life too seriously; you'll end up dying anyway."

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re:Media Center.tlb errors?
« Reply #1 on: November 09, 2003, 05:00:04 pm »

Sorry I Can't Help, I Only Play With VB6, And Have No Problems With Current Version And A New Project I Am Working With.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up