so i tried to compile dll and use it with another console application.
the attempt was successful but i didn't under stood few things in the code given below can someone explain them??
The typedef is a type definition that defines hello_ptr as a function pointer type compatible with functions that return nothing (void) and take no arguments.
The second line declares a variable of type hello_ptr.
WinMain is an application's entry point in the CRT for Windows GUI applications. It is the equivalent of main() for console applications.