Visual Studio 2015 - Create C++ Dll - No valid Win32 Application -


i tried create c++ dll code:

#include "stdafx.h" #include <stdio.h>  extern "c" {     _declspec(dllexport)void dosomethinginc(unsigned short int exampleparam, unsigned char anotherexampleparam) {         printf("you called method dosomethinginc, passed in %d , %c\n\r", exampleparam, anotherexampleparam);     } } 

but if click on "local windows debugger" get:

"the program can't started...it not valid win32-application"

i tried switch target platform in configuration settings didn't help.

any ideas, doing wrong?

system windows 10 64-bit


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -