Click here to Skip to main content
15,905,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSome problems related to Rich edit and Tree Pin
Aqueel29-Jul-05 21:19
Aqueel29-Jul-05 21:19 
GeneralRe: Some problems related to Rich edit and Tree Pin
Anonymous30-Jul-05 4:36
Anonymous30-Jul-05 4:36 
GeneralRe: Some problems related to Rich edit and Tree Pin
Anonymous31-Jul-05 8:03
Anonymous31-Jul-05 8:03 
GeneralDialog Position Pin
khlins29-Jul-05 20:49
khlins29-Jul-05 20:49 
GeneralRe: Dialog Position Pin
vishalmore29-Jul-05 21:28
vishalmore29-Jul-05 21:28 
GeneralRe: Dialog Position Pin
khlins30-Jul-05 15:50
khlins30-Jul-05 15:50 
GeneralRe: Dialog Position Pin
ThatsAlok30-Jul-05 4:00
ThatsAlok30-Jul-05 4:00 
Generallinker error Pin
sebinfrancis29-Jul-05 20:11
sebinfrancis29-Jul-05 20:11 
Compiling...
MP3PLAYER.cpp
c:\documents and settings\administrator\desktop\sebin\mp3player\mp3playerdlg.h(14) : error C2084: function 'long __stdcall DllGetClassObject(const struct _GUID &,const struct _GUID &,void ** )' already has a body
MP3PLAYERDlg.cpp
c:\documents and settings\administrator\desktop\sebin\mp3player\mp3playerdlg.h(14) : error C2084: function 'long __stdcall DllGetClassObject(const struct _GUID &,const struct _GUID &,void ** )' already has a body
Generating Code...
Error executing cl.exe.

MP3PLAYER.exe - 2 error(s), 0 warning(s)

these are the errors i got when i compiled my project..i am doing a project to create an mp3 player which reads data bit by bit...
for playing i followed the code in the memfile in directx8..then i got some linker errors...
then i write this code at the start of my mfc project...
// DllGetClassObject

extern "C"
STDAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID* ppv)
{
AFX_MANAGE_STATE (AfxGetStaticModuleState());
return AfxDllGetClassObject (rclsid, riid, ppv);
}
when compiled i got the above said errors...
please help me...i am a beginer in mfc...and vc....Smile | :)

sebin
GeneralRe: linker error Pin
sebinfrancis29-Jul-05 23:04
sebinfrancis29-Jul-05 23:04 
GeneralRe: linker error Pin
S. Senthil Kumar29-Jul-05 23:57
S. Senthil Kumar29-Jul-05 23:57 
GeneralSpeech SDK Pin
alex__b29-Jul-05 20:03
professionalalex__b29-Jul-05 20:03 
GeneralRe: Speech SDK Pin
Blake Miller1-Aug-05 8:08
Blake Miller1-Aug-05 8:08 
GeneralRe: Speech SDK Pin
alex__b1-Aug-05 17:52
professionalalex__b1-Aug-05 17:52 
GeneralRe: Speech SDK Pin
Blake Miller2-Aug-05 4:01
Blake Miller2-Aug-05 4:01 
GeneralRe: Speech SDK Pin
alex__b2-Aug-05 4:16
professionalalex__b2-Aug-05 4:16 
GeneralRe: Speech SDK Pin
Blake Miller2-Aug-05 4:34
Blake Miller2-Aug-05 4:34 
GeneralRe: Speech SDK Pin
alex__b2-Aug-05 4:43
professionalalex__b2-Aug-05 4:43 
GeneralEthernet/ network question Pin
Stan the man29-Jul-05 17:27
Stan the man29-Jul-05 17:27 
GeneralRe: Ethernet/ network question Pin
geo_m31-Jul-05 10:12
geo_m31-Jul-05 10:12 
GeneralRestricting area in editable HTML user can edit. Pin
David Fleming29-Jul-05 16:35
David Fleming29-Jul-05 16:35 
GeneralRe: Restricting area in editable HTML user can edit. Pin
David Fleming1-Aug-05 20:43
David Fleming1-Aug-05 20:43 
GeneralEdit Box Notification Pin
Member 12742129-Jul-05 14:13
Member 12742129-Jul-05 14:13 
GeneralRe: Edit Box Notification Pin
John R. Shaw29-Jul-05 14:29
John R. Shaw29-Jul-05 14:29 
GeneralRe: Edit Box Notification Pin
Stan the man29-Jul-05 17:13
Stan the man29-Jul-05 17:13 
GeneralVery very stupid question Pin
Lampros Giampouras29-Jul-05 12:53
Lampros Giampouras29-Jul-05 12:53 

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.