This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Calling a DLL from another DLL


Hi all,
 
I am writing a DLL in C and some of my functions need to call external functions, from another DLL (provided by a partner). When I generate my DLL, I don't have any errors. But my test program crashes when it calls my functions which call the other DLL function...
So my questions are simple : Do I need to call "Loadlibrary()" into my DLL? Do I need to add something on the gcc command line when I generate the DLL?
 
Thanks in advance!
Jean-Marc
BEGIN:VCARD
VERSION:2.1
N:Monfort;Jean-Marc
FN:Jean-Marc Monfort
ORG:Oracle France;Secteur Public
TITLE:Responsable Technique de Comptes
TEL;WORK;VOICE:+33 1 57 60 27 12
TEL;CELL;VOICE:+33 6 08 04 64 83
TEL;WORK;FAX:+33 1 57 60 24 25
ADR;WORK:;;15, bd Charles de Gaulle;Colombes Cedex;;92715;France
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:15, bd Charles de Gaulle=0D=0AColombes Cedex 92715=0D=0AFrance
ADR;POSTAL;ENCODING=QUOTED-PRINTABLE:;;Oracle France - 89, avenue Fran=E7ois Arago=0D=0A;Nanterre;;92000
LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Oracle France - 89, avenue Fran=E7ois Arago=0D=0A=0D=0ANanterre 92000
URL;WORK:http://www.oracle.com
KEY;X509;ENCODING=BASE64:
    MIICkjCCAfugAwIBAgIDB90nMA0GCSqGSIb3DQEBBAUAMIGSMQswCQYDVQQGEwJaQTEVMBMG
    A1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0
    ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZy
    ZWVtYWlsIFJTQSAyMDAwLjguMzAwHhcNMDIwNzEwMTEyNTI4WhcNMDMwNzEwMTEyNTI4WjBO
    MR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSswKQYJKoZIhvcNAQkBFhxqZWFu
    LW1hcmMubW9uZm9ydEBvcmFjbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCy
    +ktBnb3PUoSqbn4xz4CpYjfH7rF8iFUHYgeZ1NrZkeK0uBIiVM/c6pL827j6X2u2o2XuNsC6
    lCyfV5iwReGW4QPQA0hSUA80P8J5eTguMK9h3K7Wt2vVVJAliB+juxuRX8qGhywXH8abKeTz
    N/G67Cd0LZiWsHdOfNehNQ17FQIDAQABozkwNzAnBgNVHREEIDAegRxqZWFuLW1hcmMubW9u
    Zm9ydEBvcmFjbGUuY29tMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAy584208F
    7gO998UY7NV97zeb8xv7xJWmBUkkA9yhPKA17mgVnwFuwzM2zeb1KN1EFnwhdtbIenmleFoL
    LJoiFsktpIKXQnPJm4pGX0BIBZ5sLENF0Rpt+vEXygYjbVFzeD59pT7UO5oPaqRL6iA1HBSy
    kn+UIgMIByI2wWRwFRE=


EMAIL;PREF;INTERNET:Jean-Marc.Monfort@oracle.com
REV:20030520T144622Z
END:VCARD

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]