TC>What C++ do you use? I use BC++ 3.1 and VB 3.0 and so far I can't get VB
to
TC>recognize the functions. Some reason it says it's not there. I have BC++
set
TC>up so that it exports are all case sensitive, even in linking. I also
notice
TC>that it's not making the function(s) in the DLL "public". Could you tell
e
TC>how you did that?
C++ will mangle the names of functions. Also declare them as FAR PASCAL
- all windows functions use that conversion. eg.
/// TTT.CPP
extern "C"{ <- prevents name mangling
void FAR PASCAL _export Crap();
}
/// TTT.DEF
EXPORTS
CRAP ;Pascal causes all uper-case - exports don't have
to be case sensitive. :)
*SLMR 2.1a * hAS ANYONE SEEN MY cAPSLOCK KEY?
--- FMail 0.92
---------------
* Origin: The Programmer's Oasis on FIDONET! (1:348/203)
|