TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: TIKA CARR
from: ADAM MAJER
date: 1998-02-05 18:29:00
subject: DLL`s

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.