I need some help to find out how I can build a DLL usable with VB.

Currently, I'm able to build one but the name I have to use in VB have some
strange caracters in it. Here's an exemple:

I define (the wizard define)

// This is an example of an exported function.
C2VB_API int fnC2VB(void)
{
return 42;
}

And I must use this declare statement in VB

Private Declare Function fnC2VB Lib "d:\proto\c2vb\debug\c2vb.dll" Alias
"?fnC2VB@@YAHXZ" () As Long

The problem is in the Alias. As you can see I must use a strange name to
be able to gain access to the entry point. (I've found that name using the
quickview option on the dll)

So is there something I can do to be able to use the same name in this case
fnC2VB.

Thanks,

Eric Beaudry