ServerCommon.h doesnt work

06/21/2021 10:46 Wasserkopf123#1
Hi Guys,

I want the implemented systems define in a ServerCommon.h as it is done in the most v19 sources. I created a ServerCommon.h in /Source/_Common and defined my systems I have implemented.

I also included the ServerCommon.h in the stdAfx.h-Files but now I have the problem, that these systems do not work due to the maybe not correct included ServerCommon.h-File.

Whats wrong here? Did i forget something? (Im new :))
06/21/2021 13:29 aqwp#2
Included in every single StdAfx.h file ?

Like : #include "VersionCommon.h"

Should work.
06/21/2021 13:37 Wasserkopf123#3
Yep, have done that. But doesn't work. Anything else to do?
06/21/2021 15:06 Steffen Tequila#4
[Only registered and activated users can see links. Click Here To Register...]

should work then.
06/22/2021 03:02 flyffdev#5
add it on every project
06/22/2021 09:49 Tamus#6
every StdAfx.h on your source just do this

#include "ServerCommon.h"