I got an Error messages if try to compile the Brake.cpp with header VdjDsp2.h .
c:\virtual dj source\start\brake.cpp(122) : fatal error C1010: Unerwartetes Dateiende waehrend der Suche nach der Direktive fuer die vorkompilierte Header-Datei
Don't know how to solve the problem i just want to expands the time to 10 sec.
c:\virtual dj source\start\brake.cpp(122) : fatal error C1010: Unerwartetes Dateiende waehrend der Suche nach der Direktive fuer die vorkompilierte Header-Datei
Don't know how to solve the problem i just want to expands the time to 10 sec.
Inviato Wed 31 May 06 @ 11:07 pm
Same problem found on http://www.eggheadcafe.com/ng/microsoft.public.vc.ide_general/post22130378.asp. There's the solution (simply include stdafx.* files). I hate them!!!
Inviato Thu 01 Jun 06 @ 9:24 am
I did add the line #include "stdafx.h".
Now i got the error:
c:\virtual dj source\brake8\vdjdsp2.h(153) : error C2375: 'DllGetClassObject' : Neudefinition; unterschiedliche Bindung
c:\programme\microsoft visual studio\vc98\include\objbase.h(769) : Siehe Deklaration von 'DllGetClassObject'
It is like in http://www.virtualdj.com/forums/43007/Plugins/Compiling_the_DAC-3_mapper_SDK.html?highlight=%20error%20c2375:
i did not understand how jpboggis did solve the problem.
Here is a snippet of the code:
#define WIN32_LEAN_AND_MEAN
#include < windows.h>
#include "stdafx.h"
#include <math.h>
//#include <stdlib.h>
#include "VdjDsp2.h"
Now i got the error:
c:\virtual dj source\brake8\vdjdsp2.h(153) : error C2375: 'DllGetClassObject' : Neudefinition; unterschiedliche Bindung
c:\programme\microsoft visual studio\vc98\include\objbase.h(769) : Siehe Deklaration von 'DllGetClassObject'
It is like in http://www.virtualdj.com/forums/43007/Plugins/Compiling_the_DAC-3_mapper_SDK.html?highlight=%20error%20c2375:
i did not understand how jpboggis did solve the problem.
Here is a snippet of the code:
#define WIN32_LEAN_AND_MEAN
#include < windows.h>
#include "stdafx.h"
#include <math.h>
//#include <stdlib.h>
#include "VdjDsp2.h"
Inviato Fri 02 Jun 06 @ 12:30 pm
BorniPI wrote :
#define WIN32_LEAN_AND_MEAN
#include < windows.h>
#include "stdafx.h"
#include <math.h>
//#include <stdlib.h>
#include "VdjDsp2.h"
#define WIN32_LEAN_AND_MEAN
#include < windows.h>
#include "stdafx.h"
#include <math.h>
//#include <stdlib.h>
#include "VdjDsp2.h"
If you use:
#include "stdafx.h"
you don't need to include:
#include < windows.h>
Inviato Sun 04 Jun 06 @ 12:44 am
BorniPI wrote :
I did add the line #include "stdafx.h".
i did not understand how jpboggis did solve the problem.
I did add the line #include "stdafx.h".
i did not understand how jpboggis did solve the problem.
djcel wrote :
If you use:
If you use:
#include "stdafx.h"
you don't need to include:
#include < windows.h>
Ok. But what is with these two different definition?
c:\\virtual dj \\sourcebrake8\\vdjdsp2.h(153) : error C2375: 'DllGetClassObject': redefinition; different linkage
c:\\programme\\microsoft visual studio\\vc98\\includeobjbase.h(769) : see declaration of 'DllGetClassObject'
That was my question. What is the solution?
Inviato Tue 06 Jun 06 @ 6:34 pm
You have a problem of "include" (=> linker). First write like that:
#define WIN32_LEAN_AND_MEAN
#include "stdafx.h"
#include "VdjDsp2.h"
#include < math.h>
//#include < stdlib.h>
#define WIN32_LEAN_AND_MEAN
#include "stdafx.h"
#include "VdjDsp2.h"
#include < math.h>
//#include < stdlib.h>
Inviato Wed 07 Jun 06 @ 6:27 pm