End Google Ads 201810 - BS.net 01 -->
I get this error when I compile my win32 library here is my code below
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include
// TODO: reference additional headers your program requires here
class MemManage
{
public:
static void MmgMem(char cStr, char x, int strLenght);
}
// MemoryManagement.cpp : Defines the exported functions for the DLL application.
//
#include
#include
#include "stdafx.h"
MemManage::MmgMem(char cStr, char x, int strLenght)
{
memset(cStr,x,strLenght);
puts(cStr);
return 0;
}
then the error is pointing here
// stdafx.cpp : source file that includes just the standard includes
// MemoryManagement.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
Thanks,
Chris
مواقع النشر (المفضلة)