Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

DLL parameters

$
0
0

if I export a dll function that requires

enum class myEnum : unsigned
{
 e1,
 e2,
 e3,
 e4
};

and

typedef DATE myDATE;

is it correct to use

myFunc(myEnum p1, myDate p2)

or

myFunc(unsigned p1, double p2)

or doesn't it matter if they are just simple types?




Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>