Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to loop portions of a WAV using DirectSound? Pin
seanmc.cs30-Jun-04 15:53
seanmc.cs30-Jun-04 15:53 
GeneralRe: how to loop portions of a WAV using DirectSound? Pin
seanmc.cs30-Jun-04 17:22
seanmc.cs30-Jun-04 17:22 
GeneralRe: how to loop portions of a WAV using DirectSound? Pin
Antti Keskinen1-Jul-04 7:33
Antti Keskinen1-Jul-04 7:33 
AnswerBlips are natural! Pin
normanS1-Jul-04 3:23
normanS1-Jul-04 3:23 
Generalwinsock2 for MS Visual C++ Toolkit 2003 Pin
george kermeen29-Jun-04 8:21
george kermeen29-Jun-04 8:21 
GeneralRe: winsock2 for MS Visual C++ Toolkit 2003 Pin
palbano29-Jun-04 13:39
palbano29-Jun-04 13:39 
GeneralRe: winsock2 for MS Visual C++ Toolkit 2003 Pin
george kermeen30-Jun-04 4:18
george kermeen30-Jun-04 4:18 
Generalwin32 dll Pin
ns29-Jun-04 7:42
ns29-Jun-04 7:42 
I made a win32 dll and did these two things which BTW work for another dll I had made but maybe I have forgotten some step because this one gives: (also the earlier one took hours and hours before I got it to compile but it does now)

split.cpp(93) : error C2375: 'Split' : redefinition; different linkage
split.h(17) : see declaration of 'Split'

The lines in question are:

in the cpp file
#define DllExport __declspec( dllexport )

extern "C"
{
DllExport int __cdecl
Split (InputArgs inputArgs)
{

etc...
}
}

in the h file:
extern "C" int _cdecl Split (InputArgs inputArgs);

As far as I recall these are the only two things I had done in my other dll that works....but obviously I have forgotten something that makes that one work.
Any ideas appreciated.
thanks
sb


GeneralRe: win32 dll Pin
Jeremy Falcon29-Jun-04 8:53
professionalJeremy Falcon29-Jun-04 8:53 
GeneralStart Full or Min Pin
Zenix229-Jun-04 7:35
Zenix229-Jun-04 7:35 
GeneralRe: Start Full or Min Pin
David Crow29-Jun-04 8:31
David Crow29-Jun-04 8:31 
GeneralRe: Start Full or Min Pin
Zenix229-Jun-04 9:43
Zenix229-Jun-04 9:43 
GeneralRe: Start Full or Min Pin
vcplusplus29-Jun-04 13:58
vcplusplus29-Jun-04 13:58 
GeneralRe: Start Full or Min Pin
David Crow30-Jun-04 2:39
David Crow30-Jun-04 2:39 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 4:55
Zenix21-Jul-04 4:55 
GeneralRe: Start Full or Min Pin
David Crow1-Jul-04 5:09
David Crow1-Jul-04 5:09 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 5:23
Zenix21-Jul-04 5:23 
GeneralRe: Start Full or Min Pin
David Crow1-Jul-04 5:32
David Crow1-Jul-04 5:32 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 8:49
Zenix21-Jul-04 8:49 
GeneralData Class Pin
Anonymous29-Jun-04 6:19
Anonymous29-Jun-04 6:19 
GeneralRe: Data Class Pin
David Crow29-Jun-04 6:57
David Crow29-Jun-04 6:57 
GeneralRe: Data Class Pin
Maximilien29-Jun-04 7:45
Maximilien29-Jun-04 7:45 
Generalconverting MFC mdi exe into MFC Dll Pin
yashu50429-Jun-04 5:29
yashu50429-Jun-04 5:29 
GeneralRe: converting MFC mdi exe into MFC Dll Pin
palbano29-Jun-04 6:08
palbano29-Jun-04 6:08 
GeneralProgress Bar Pin
Dennis L29-Jun-04 4:59
Dennis L29-Jun-04 4:59 

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.