help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Win32 Exporting API functions


From: JKop
Subject: Win32 Exporting API functions
Date: Fri, 06 Aug 2004 13:19:00 GMT
User-agent: Xnews/4.06.22

I'm writing a Win32 executable. While I want this program 
to be a ".exe" file that I can execute, I also want to 
export functions (and maybe classes) as does a DLL.

Could someone please tell me what I have to do to my 
actual code, eg. to export the following function:

int Blah()
{

}

And if possible the following class:

class Cow
{

};


And also what command line switches do I need to provide 
when compiling it?

Thanks,

-JKop


reply via email to

[Prev in Thread] Current Thread [Next in Thread]