Click here to Skip to main content
15,916,601 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question__declspec(allocate)'d sections in library being stripped (I wish to keep them) Pin
Michael Abbott27-Mar-06 18:33
Michael Abbott27-Mar-06 18:33 
QuestionListCtrl Tabs Pin
vinod.sankuthodi27-Mar-06 18:28
vinod.sankuthodi27-Mar-06 18:28 
AnswerRe: ListCtrl Tabs Pin
Nibu babu thomas27-Mar-06 19:24
Nibu babu thomas27-Mar-06 19:24 
AnswerRe: ListCtrl Tabs Pin
Hamid_RT27-Mar-06 19:29
Hamid_RT27-Mar-06 19:29 
GeneralRe: ListCtrl Tabs Pin
vinod.sankuthodi27-Mar-06 21:07
vinod.sankuthodi27-Mar-06 21:07 
GeneralRe: ListCtrl Tabs Pin
ThatsAlok27-Mar-06 23:02
ThatsAlok27-Mar-06 23:02 
GeneralRe: ListCtrl Tabs Pin
Hamid_RT28-Mar-06 18:08
Hamid_RT28-Mar-06 18:08 
Questioncalling mmsystem.h function, getting linker errors Pin
Judah Gabriel Himango27-Mar-06 18:02
sponsorJudah Gabriel Himango27-Mar-06 18:02 
I've got an old C code header I'm porting to VC++ 2005. The code implementation looks something like:
#include <mmsystem.h>

...

void Initech::MyFunction()
{
   midiInAddBuffer(...); // Where midiInAddBuffer is a function defined in mmsystem.h
}


Compiling this, I get the following error:

error LNK2028: unresolved token (0A000016) "extern "C" unsigned int __stdcall midiInAddBuffer(struct HMIDIIN__ *,struct midihdr_tag *,unsigned int)" (?midiInAddBuffer@@$$J212YGIPAUHMIDIIN__@@PAUmidihdr_tag@@I@Z) referenced in function "void Initech::MyFunction()" (?MyFunction@@$$FYAIPAUmidihdr_tag@@@Z) Midi.obj


With C++ not being my native tongue, I'm kind of stumped at this error; what do I need to do to resolve it? Any help would be appreciated.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: How 'bout a little guitar now?
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


AnswerRe: calling mmsystem.h function, getting linker errors Pin
Waldermort27-Mar-06 18:10
Waldermort27-Mar-06 18:10 
GeneralRe: calling mmsystem.h function, getting linker errors Pin
Judah Gabriel Himango28-Mar-06 4:01
sponsorJudah Gabriel Himango28-Mar-06 4:01 
AnswerRe: calling mmsystem.h function, getting linker errors Pin
ThatsAlok27-Mar-06 23:04
ThatsAlok27-Mar-06 23:04 
GeneralRe: calling mmsystem.h function, getting linker errors Pin
Judah Gabriel Himango28-Mar-06 4:01
sponsorJudah Gabriel Himango28-Mar-06 4:01 
QuestionRemoving resource.hm Pin
Jack Puppy27-Mar-06 17:56
Jack Puppy27-Mar-06 17:56 
AnswerRe: Removing resource.hm Pin
Waldermort27-Mar-06 18:09
Waldermort27-Mar-06 18:09 
AnswerRe: Removing resource.hm Pin
Nibu babu thomas27-Mar-06 19:01
Nibu babu thomas27-Mar-06 19:01 
GeneralRe: Removing resource.hm Pin
Jack Puppy27-Mar-06 23:28
Jack Puppy27-Mar-06 23:28 
QuestionBring AfxMessageBox to the Center of mainframe which is not owner to perticular AfxMessaeBox. Pin
yang__lee27-Mar-06 17:12
yang__lee27-Mar-06 17:12 
AnswerRe: Bring AfxMessageBox to the Center of mainframe which is not owner to perticular AfxMessaeBox. Pin
Ryan Binns27-Mar-06 17:42
Ryan Binns27-Mar-06 17:42 
GeneralRe: Bring AfxMessageBox to the Center of mainframe which is not owner to perticular AfxMessaeBox. Pin
yang__lee27-Mar-06 18:17
yang__lee27-Mar-06 18:17 
GeneralRe: Bring AfxMessageBox to the Center of mainframe which is not owner to perticular AfxMessaeBox. Pin
Ryan Binns27-Mar-06 21:14
Ryan Binns27-Mar-06 21:14 
QuestionAutomating another app Pin
Tom Archer27-Mar-06 17:08
Tom Archer27-Mar-06 17:08 
AnswerRe: Automating another app Pin
Nibu babu thomas27-Mar-06 18:39
Nibu babu thomas27-Mar-06 18:39 
GeneralRe: Automating another app Pin
Tom Archer27-Mar-06 19:22
Tom Archer27-Mar-06 19:22 
GeneralRe: Automating another app Pin
David Crow28-Mar-06 5:02
David Crow28-Mar-06 5:02 
GeneralRe: Automating another app Pin
Tom Archer28-Mar-06 6:06
Tom Archer28-Mar-06 6:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.