Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    [C] Compatibilità eseguibile tra win xp e win 2000

    Salve,

    sto lavorando con devc++ in ANSII C e sotto windows XP. Ho creato un eseguibile, che nel mio computer gira perfettamente, lo passo ad un mio amico che mi fa da beta-tester ( ) e che ha Win 2000.... morale della storia? gli si blocca subito lanciando una bella e indecifrabile eccezzione...

    ps utilizzo malloc e realloc, può essere un diverso uso da parte del SO della memoria? grazie mille

  2. #2
    Windows 2000 e XP si basano su un kernel molto simile, per cui è improbabile che siano problemi di sistema operativo, piuttosto, secondo me, potrebbe essere un problema di dependencies... ma comunque cosa dice l'eccezione in questione?
    Amaro C++, il gusto pieno dell'undefined behavior.

  3. #3
    Originariamente inviato da MItaly
    Windows 2000 e XP si basano su un kernel molto simile, per cui è improbabile che siano problemi di sistema operativo, piuttosto, secondo me, potrebbe essere un problema di dependencies... ma comunque cosa dice l'eccezione in questione?
    non dice niente di utile l'eccezzione, cosa intendi per dependencies?

  4. #4
    Utente di HTML.it L'avatar di andbin
    Registrato dal
    Jan 2006
    residenza
    Italy
    Messaggi
    18,284
    Originariamente inviato da hurricane86
    cosa intendi per dependencies?
    Quali DLL sono richieste dall'eseguibile.

    Se non sai come verificarlo: Dependency Walker
    Andrea, andbin.devSenior Java developerSCJP 5 (91%) • SCWCD 5 (94%)
    java.util.function Interfaces Cheat SheetJava Versions Cheat Sheet

  5. #5
    ecco il log di dependensing:

    Codice PHP:
    *****************************| System Information |*****************************

    Dependency Walker:       2.2.6000 (32-bit)
    Operating System:        Microsoft Windows XP Professional (32-bit)
    OS Version:              5.01.2600 Service Pack 2
    Processor
    :               x86 Family 15 Model 15 Stepping 0AuthenticAMD, ~2247MHz
    Number of Processors
    :    1
    Computer Name
    :           PC
    User Name
    :               Hurricane
    Local Date
    :              giovedì 28 dicembre 2006
    Local Time
    :              11.46.22 ora solare Europa occidentale (GMT+01:00)
    OS Language:             0x0410Italian (Italy)
    Memory Load:             42%
    Physical Memory Total:   1.073.201.152 (1024 MB)
    Physical Memory Used:    459.288.576
    Physical Memory Free
    :    613.912.576
    Page File Memory Total
    :  2.579.046.400
    Page File Memory Used
    :   575.938.560
    Page File Memory Free
    :   2.003.107.840
    Virtual Memory Total
    :    2.147.352.576
    Virtual Memory Used
    :     59.629.568
    Virtual Memory Free
    :     2.087.723.008
    Page Size
    :               0x00001000 (4.096)
    Allocation Granularity:  0x00010000 (65.536)
    MinAppAddress:       0x00010000 (65.536)
    MaxAppAddress:       0x7FFEFFFF (2.147.418.111)

    ********************************| 
    Search Order |********************************
    *                                                                              *
    LegendF  File                     E  Error (path not valid)                *
    *                                                                              *
    ********************************************************************************

    Side-by-Side components (Windows 2000/XP/2003/Vista/+)
    The system's "KnownDLLs" list
       [F ] c:\windows\system32\ADVAPI32.DLL
       [F ] c:\windows\system32\APPHELP.DLL
       [F ] c:\windows\system32\COMCTL32.DLL
       [F ] c:\windows\system32\COMDLG32.DLL
       [F ] c:\windows\system32\CRYPT32.DLL
       [F ] c:\windows\system32\CRYPTUI.DLL
       [F ] c:\windows\system32\GDI32.DLL
       [F ] c:\windows\system32\IMAGEHLP.DLL
       [F ] c:\windows\system32\KERNEL32.DLL
       [F ] c:\windows\system32\LZ32.DLL
       [F ] c:\windows\system32\MPR.DLL
       [F ] c:\windows\system32\MSASN1.DLL
       [F ] c:\windows\system32\MSVCRT.DLL
       [F ] c:\windows\system32\NETAPI32.DLL
       [F ] c:\windows\system32\NTDLL.DLL
       [F ] c:\windows\system32\OLE32.DLL
       [F ] c:\windows\system32\OLEAUT32.DLL
       [F ] c:\windows\system32\OLECLI32.DLL
       [F ] c:\windows\system32\OLECNV32.DLL
       [F ] c:\windows\system32\OLESVR32.DLL
       [F ] c:\windows\system32\OLETHK32.DLL
       [F ] c:\windows\system32\RPCRT4.DLL
       [F ] c:\windows\system32\SHDOCVW.DLL
       [F ] c:\windows\system32\SHELL32.DLL
       [F ] c:\windows\system32\SHLWAPI.DLL
       [F ] c:\windows\system32\URL.DLL
       [F ] c:\windows\system32\URLMON.DLL
       [F ] c:\windows\system32\USER32.DLL
       [F ] c:\windows\system32\USERENV.DLL
       [F ] c:\windows\system32\VERSION.DLL
       [F ] c:\windows\system32\WININET.DLL
       [F ] c:\windows\system32\WINTRUST.DLL
       [F ] c:\windows\system32\WLDAP32.DLL
       [F ] c:\windows\system32\WOW32.DLL
    The application directory
       [  ] C:\Documents and Settings\Hurricane\Desktop\Progetto\
    The 32-bit system directory
       [  ] C:\WINDOWS\system32\
    The 16-bit system directory (Windows NT/2000/XP/2003/Vista/+)
       [  ] C:\WINDOWS\system\
    The system'
    s root OS directory
       
    [  ] C:\WINDOWS\
    The application's registered "App Paths" directories
    The system'
    "PATH" environment variable directories
       
    [  ] C:\WINDOWS\system32\
       [  ] 
    C:\WINDOWS\
       [  ] 
    C:\WINDOWS\System32\Wbem\
       [  ] 
    C:\Programmi\ATI Technologies\ATI Control Panel\
       [  ] 
    C:\Programmi\File comuni\Autodesk Shared\
       [  ] 
    C:\Programmi\backburner 2\
       [  ] 
    C:\Programmi\netserver\bin\stable\perl\bin\
       [  ] 
    C:\Programmi\proeWildfire 2.0\bin\
       [  ] 
    C:\Documents and Settings\Hurricane\Desktop\s\bin\stable\perl\bin\
       [  ] 
    C:\Programmi\ATI Technologies\ATI.ACE\
       [  ] 
    C:\Programmi\Autodesk\backburner\
       [  ] 
    c:\Programmi\Microsoft SQL Server\90\Tools\binn\

    ***************************| 
    Module Dependency Tree |***************************
    *                                                                              *
    LegendF  Forwarded Module   ?  Missing Module        6  64-bit Module      *
    *         
    D  Delay Load Module  !  Invalid Module                              *
    *         *  
    Dynamic Module     E  Import/Export Mismatch or Load Failure      *
    *                               ^  
    Duplicate Module                            *
    *                                                                              *
    ********************************************************************************

    [   ] 
    PARSET.EXE
         
    [   ] KERNEL32.DLL
              
    [   ] NTDLL.DLL
         
    [   ] MSVCRT.DLL
              
    [ ^ ] KERNEL32.DLL
                   
    [F^ ] NTDLL.DLL
              
    [ ^ ] NTDLL.DLL

    ********************************| Module List |*********************************
    *                                                                              *
    LegendD  Delay Load Module   ?  Missing Module           6  64-bit Module  *
    *         *  
    Dynamic Module      !  Invalid Module                             *
    *                                
    E  Import/Export Mismatch or Load Failure     *
    *                                                                              *
    ********************************************************************************

           
    Module        File Time Stamp   Link Time Stamp   File Size  Attr.  Link Checksum  Real Checksum  CPU  Subsystem  Symbols  Preferred Base  Actual Base  Virtual Size  Load Order  File Ver       Product Ver    Image Ver  Linker Ver  OS Ver  Subsystem Ver
    -----  ------------  ----------------  ----------------  ---------  -----  -------------  -------------  ---  ---------  -------  --------------  -----------  ------------  ----------  -------------  -------------  ---------  ----------  ------  -------------
    [   ]  
    KERNEL32.DLL  05/07/2006 11.56  05/07/2006 11.56  1.028.096  A      0x00107F3F     0x00107F3F     x86  Console    CV       0x7C800000      Unknown      0x000FF000    Not Loaded  5.1.2600.2945  5.1.2600.2945  5.1        7.10        5.1     4.0
    [   ]  MSVCRT.DLL    19/08/2004 14.39  19/08/2004 23.41    343.040  A      0x00060B7F     0x00060B7F     x86  GUI        CV       0x77BE0000      Unknown      0x00058000    Not Loaded  7.0.2600.2180  6.1.8638.2180  5.1        7.10        5.1     4.0
    [   ]  NTDLL.DLL     19/08/2004 14.38  19/08/2004 23.38    729.600  A      0x000BE111     0x000BE111     x86  Console    CV       0x7C910000      Unknown      0x000B6000    Not Loaded  5.1.2600.2180  5.1.2600.2180  5.1        7.10        5.1     4.10
    [   ]  PARSET.EXE    28/12/2006  9.53  28/12/2006  9.53     36.871  A      0x0000ACA2     0x0000ACA2     x86  Console    None     0x00400000      Unknown      0x0000B000    Not Loaded  N/A            N/A            1.0        2.56        4.0     4.0

    ************************************| Log |************************************* 
    sapete dirmi qualcosa?

  6. #6
    Sono le dependencies standard di qualunque programma, niente di particolare... puoi postare i sorgenti e il messaggio di errore esatto?
    Amaro C++, il gusto pieno dell'undefined behavior.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.