|
dll을 lib로 만들었다?
이건 dll을 lib로 형태를 바꾼게 아니고 lib를 app플젝에 붙여 정적으로 사용할 수 있도록 네이밍을 정의한 정도라고 생각이 드는데? ㅡㅡ
dll에서 def파일과 lib를 만드신 후에 dll을 app실행파일과 같은 폴더에 카피하시고 lib도 app플젝에 추가하세요...
dll에서 export된 함수를 사용하시려면 아마도 header를 참고하셔서 쓰시면 될 듯 (이때 def파일을 생성후에 func @1;func->_func = func으로 모두 변환하여 lib를 만들어야 합니다)
^^
이상훈 님이 쓰신 글 :
: 안녕하세요.
: 회사에서 급하게 프로그램을 하나 만들어야 하는데, 도와주세요.-_-;;
: 게시판을 검색했는데, dll 을 BCB lib으로 만드는건 많은데
: lib을 작고 하는건 없네요.
: 우선 제가 해본 방법은
:
: coff2omf -v -lib:st 기존VC.lib 생성할BCB.lib 임니다.
:
: 실행결과 이빈다.
:
: COFF to OMF Converter Version 1.0.0.74 Copyright (c) 1999, 2000 Inprise Corporation
:
: Internal name Imported name
:
: ------------- -------------
: SetupVerifyInfFileW
: SetupVerifyInfFileA
: SetupUninstallOEMInfW
: SetupUninstallOEMInfA
: SetupUninstallNewlyCopiedInfs
: SetupTerminateFileLog
: SetupTermDefaultQueueCallback
: SetupSetSourceListW
: SetupSetSourceListA
: SetupSetPlatformPathOverrideW
: SetupSetPlatformPathOverrideA
: SetupSetNonInteractiveMode
: SetupSetFileQueueFlags
: SetupSetFileQueueAlternatePlatformW
: SetupSetFileQueueAlternatePlatformA
: SetupSetDirectoryIdW
: SetupSetDirectoryIdExW
: SetupSetDirectoryIdExA
: SetupSetDirectoryIdA
: SetupScanFileQueueW
: SetupScanFileQueueA
: SetupScanFileQueue
: SetupRenameErrorW
: SetupRenameErrorA
: SetupRemoveSectionFromDiskSpaceListW
: SetupRemoveSectionFromDiskSpaceListA
: SetupRemoveInstallSectionFromDiskSpaceListW
: SetupRemoveInstallSectionFromDiskSpaceListA
: SetupRemoveFromSourceListW
: SetupRemoveFromSourceListA
: SetupRemoveFromDiskSpaceListW
: SetupRemoveFromDiskSpaceListA
: SetupRemoveFileLogEntryW
: SetupRemoveFileLogEntryA
: SetupQueueRenameW
: SetupQueueRenameSectionW
: SetupQueueRenameSectionA
: SetupQueueRenameA
: SetupQueueDeleteW
: SetupQueueDeleteSectionW
: SetupQueueDeleteSectionA
: SetupQueueDeleteA
: SetupQueueDefaultCopyW
: SetupQueueDefaultCopyA
: SetupQueueCopyW
: SetupQueueCopySectionW
: SetupQueueCopySectionA
: SetupQueueCopyIndirectW
: SetupQueueCopyIndirectA
: SetupQueueCopyA
: SetupQuerySpaceRequiredOnDriveW
: SetupQuerySpaceRequiredOnDriveA
: SetupQuerySourceListW
: SetupQuerySourceListA
: SetupQueryInfVersionInformationW
: SetupQueryInfVersionInformationA
: SetupQueryInfOriginalFileInformationW
: SetupQueryInfOriginalFileInformationA
: SetupQueryInfFileInformationW
: SetupQueryInfFileInformationA
: SetupQueryFileLogW
: SetupQueryFileLogA
: SetupQueryDrivesInDiskSpaceListW
: SetupQueryDrivesInDiskSpaceListA
: SetupPromptReboot
: SetupPromptForDiskW
: SetupPromptForDiskA
: SetupPrepareQueueForRestoreW
: SetupPrepareQueueForRestoreA
: SetupOpenMasterInf
: SetupOpenLog
: SetupOpenInfFileW
: SetupOpenInfFileA
: SetupOpenFileQueue
: SetupOpenAppendInfFileW
: SetupOpenAppendInfFileA
: SetupLogFileW
: SetupLogFileA
: SetupLogErrorW
: SetupLogErrorA
: SetupIterateCabinetW
: SetupIterateCabinetA
: SetupInstallServicesFromInfSectionW
: SetupInstallServicesFromInfSectionExW
: SetupInstallServicesFromInfSectionExA
: SetupInstallServicesFromInfSectionA
: SetupInstallFromInfSectionW
: SetupInstallFromInfSectionA
: SetupInstallFilesFromInfSectionW
: SetupInstallFilesFromInfSectionA
: SetupInstallFileW
: SetupInstallFileExW
: SetupInstallFileExA
: SetupInstallFileA
: SetupInitializeFileLogW
: SetupInitializeFileLogA
: SetupInitDefaultQueueCallbackEx
: SetupInitDefaultQueueCallback
: SetupGetTargetPathW
: SetupGetTargetPathA
: SetupGetStringFieldW
: SetupGetStringFieldA
: SetupGetSourceInfoW
: SetupGetSourceInfoA
: SetupGetSourceFileSizeW
: SetupGetSourceFileSizeA
: SetupGetSourceFileLocationW
: SetupGetSourceFileLocationA
: SetupGetNonInteractiveMode
: SetupGetMultiSzFieldW
: SetupGetMultiSzFieldA
: SetupGetLineTextW
: SetupGetLineTextA
: SetupGetLineCountW
: SetupGetLineCountA
: SetupGetLineByIndexW
: SetupGetLineByIndexA
: SetupGetIntField
: SetupGetInfSections
: SetupGetInfInformationW
: SetupGetInfInformationA
: SetupGetInfFileListW
: SetupGetInfFileListA
: SetupGetFileQueueFlags
: SetupGetFileQueueCount
: SetupGetFileCompressionInfoW
: SetupGetFileCompressionInfoExW
: SetupGetFileCompressionInfoExA
: SetupGetFileCompressionInfoA
: SetupGetFieldCount
: SetupGetBinaryField
: SetupGetBackupInformationW
: SetupGetBackupInformationA
: SetupFreeSourceListW
: SetupFreeSourceListA
: SetupFindNextMatchLineW
: SetupFindNextMatchLineA
: SetupFindNextLine
: SetupFindFirstLineW
: SetupFindFirstLineA
: SetupEnumInfSectionsW
: SetupEnumInfSectionsA
: SetupDuplicateDiskSpaceListW
: SetupDuplicateDiskSpaceListA
: SetupDiUnremoveDevice
: SetupDiSetSelectedDriverW
: SetupDiSetSelectedDriverA
: SetupDiSetSelectedDevice
: SetupDiSetDriverInstallParamsW
: SetupDiSetDriverInstallParamsA
: SetupDiSetDeviceRegistryPropertyW
: SetupDiSetDeviceRegistryPropertyA
: SetupDiSetDeviceInterfaceDefault
: SetupDiSetDeviceInstallParamsW
: SetupDiSetDeviceInstallParamsA
: SetupDiSetClassRegistryPropertyW
: SetupDiSetClassRegistryPropertyA
: SetupDiSetClassInstallParamsW
: SetupDiSetClassInstallParamsA
: SetupDiSelectOEMDrv
: SetupDiSelectDevice
: SetupDiSelectBestCompatDrv
: SetupDiRemoveDeviceInterface
: SetupDiRemoveDevice
: SetupDiRegisterDeviceInfo
: SetupDiRegisterCoDeviceInstallers
: SetupDiOpenDeviceInterfaceW
: SetupDiOpenDeviceInterfaceRegKey
: SetupDiOpenDeviceInterfaceA
: SetupDiOpenDeviceInfoW
: SetupDiOpenDeviceInfoA
: SetupDiOpenDevRegKey
: SetupDiOpenClassRegKeyExW
: SetupDiOpenClassRegKeyExA
: SetupDiOpenClassRegKey
: SetupDiMoveDuplicateDevice
: SetupDiLoadClassIcon
: SetupDiInstallDriverFiles
: SetupDiInstallDeviceInterfaces
: SetupDiInstallDevice
: SetupDiInstallClassW
: SetupDiInstallClassExW
: SetupDiInstallClassExA
: SetupDiInstallClassA
: SetupDiGetWizardPage
: SetupDiGetSelectedDriverW
: SetupDiGetSelectedDriverA
: SetupDiGetSelectedDevice
: SetupDiGetINFClassW
: SetupDiGetINFClassA
: SetupDiGetHwProfileListExW
: SetupDiGetHwProfileListExA
: SetupDiGetHwProfileList
: SetupDiGetHwProfileFriendlyNameW
: SetupDiGetHwProfileFriendlyNameExW
: SetupDiGetHwProfileFriendlyNameExA
: SetupDiGetHwProfileFriendlyNameA
: SetupDiGetDriverInstallParamsW
: SetupDiGetDriverInstallParamsA
: SetupDiGetDriverInfoDetailW
: SetupDiGetDriverInfoDetailA
: SetupDiGetDeviceRegistryPropertyW
: SetupDiGetDeviceRegistryPropertyA
: SetupDiGetDeviceInterfaceDetailW
: SetupDiGetDeviceInterfaceDetailA
: SetupDiGetDeviceInterfaceAlias
: SetupDiGetDeviceInstanceIdW
: SetupDiGetDeviceInstanceIdA
: SetupDiGetDeviceInstallParamsW
: SetupDiGetDeviceInstallParamsA
: SetupDiGetDeviceInfoListDetailW
: SetupDiGetDeviceInfoListDetailA
: SetupDiGetDeviceInfoListClass
: SetupDiGetCustomDevicePropertyW
: SetupDiGetCustomDevicePropertyA
: SetupDiGetClassRegistryPropertyW
: SetupDiGetClassRegistryPropertyA
: SetupDiGetClassInstallParamsW
: SetupDiGetClassInstallParamsA
: SetupDiGetClassImageListExW
: SetupDiGetClassImageListExA
: SetupDiGetClassImageList
: SetupDiGetClassImageIndex
: SetupDiGetClassDevsW
: SetupDiGetClassDevsExW
: SetupDiGetClassDevsExA
: SetupDiGetClassDevsA
: SetupDiGetClassDevPropertySheetsW
: SetupDiGetClassDevPropertySheetsA
: SetupDiGetClassDescriptionW
: SetupDiGetClassDescriptionExW
: SetupDiGetClassDescriptionExA
: SetupDiGetClassDescriptionA
: SetupDiGetClassBitmapIndex
: SetupDiGetActualSectionToInstallW
: SetupDiGetActualSectionToInstallExW
: SetupDiGetActualSectionToInstallExA
: SetupDiGetActualSectionToInstallA
: SetupDiEnumDriverInfoW
: SetupDiEnumDriverInfoA
: SetupDiEnumDeviceInterfaces
: SetupDiEnumDeviceInfo
: SetupDiDrawMiniIcon
: SetupDiDestroyDriverInfoList
: SetupDiDestroyDeviceInfoList
: SetupDiDestroyClassImageList
: SetupDiDeleteDeviceInterfaceRegKey
: SetupDiDeleteDeviceInterfaceData
: SetupDiDeleteDeviceInfo
: SetupDiDeleteDevRegKey
: SetupDiCreateDeviceInterfaceW
: SetupDiCreateDeviceInterfaceRegKeyW
: SetupDiCreateDeviceInterfaceRegKeyA
: SetupDiCreateDeviceInterfaceA
: SetupDiCreateDeviceInfoW
: SetupDiCreateDeviceInfoListExW
: SetupDiCreateDeviceInfoListExA
: SetupDiCreateDeviceInfoList
: SetupDiCreateDeviceInfoA
: SetupDiCreateDevRegKeyW
: SetupDiCreateDevRegKeyA
: SetupDiClassNameFromGuidW
: SetupDiClassNameFromGuidExW
: SetupDiClassNameFromGuidExA
: SetupDiClassNameFromGuidA
: SetupDiClassGuidsFromNameW
: SetupDiClassGuidsFromNameExW
: SetupDiClassGuidsFromNameExA
: SetupDiClassGuidsFromNameA
: SetupDiChangeState
: SetupDiCancelDriverInfoSearch
: SetupDiCallClassInstaller
: SetupDiBuildDriverInfoList
: SetupDiBuildClassInfoListExW
: SetupDiBuildClassInfoListExA
: SetupDiBuildClassInfoList
: SetupDiAskForOEMDisk
: SetupDestroyDiskSpaceList
: SetupDeleteErrorW
: SetupDeleteErrorA
: SetupDefaultQueueCallbackW
: SetupDefaultQueueCallbackA
: SetupDefaultQueueCallback
: SetupDecompressOrCopyFileW
: SetupDecompressOrCopyFileA
: SetupCreateDiskSpaceListW
: SetupCreateDiskSpaceListA
: SetupCopyOEMInfW
: SetupCopyOEMInfA
: SetupCopyErrorW
: SetupCopyErrorA
: SetupCommitFileQueueW
: SetupCommitFileQueueA
: SetupCommitFileQueue
: SetupCloseLog
: SetupCloseInfFile
: SetupCloseFileQueue
: SetupCancelTemporarySourceList
: SetupBackupErrorW
: SetupBackupErrorA
: SetupAdjustDiskSpaceListW
: SetupAdjustDiskSpaceListA
: SetupAddToSourceListW
: SetupAddToSourceListA
: SetupAddToDiskSpaceListW
: SetupAddToDiskSpaceListA
: SetupAddSectionToDiskSpaceListW
: SetupAddSectionToDiskSpaceListA
: SetupAddInstallSectionToDiskSpaceListW
: SetupAddInstallSectionToDiskSpaceListA
: InstallHinfSectionW
: InstallHinfSectionA
: InstallHinfSection
: ExtensionPropSheetPageProc
: CM_Unregister_Device_Interface_ExW
: CM_Unregister_Device_Interface_ExA
: CM_Unregister_Device_InterfaceW
: CM_Unregister_Device_InterfaceA
: CM_Uninstall_DevNode_Ex
: CM_Uninstall_DevNode
: CM_Test_Range_Available
: CM_Setup_DevNode_Ex
: CM_Setup_DevNode
: CM_Set_HW_Prof_Flags_ExW
: CM_Set_HW_Prof_Flags_ExA
: CM_Set_HW_Prof_FlagsW
: CM_Set_HW_Prof_FlagsA
: CM_Set_HW_Prof_Ex
: CM_Set_HW_Prof
: CM_Set_DevNode_Registry_Property_ExW
: CM_Set_DevNode_Registry_Property_ExA
: CM_Set_DevNode_Registry_PropertyW
: CM_Set_DevNode_Registry_PropertyA
: CM_Set_DevNode_Problem_Ex
: CM_Set_DevNode_Problem
: CM_Set_Class_Registry_PropertyW
: CM_Set_Class_Registry_PropertyA
: CM_Run_Detection_Ex
: CM_Run_Detection
: CM_Request_Eject_PC_Ex
: CM_Request_Eject_PC
: CM_Request_Device_Eject_ExW
: CM_Request_Device_Eject_ExA
: CM_Request_Device_EjectW
: CM_Request_Device_EjectA
: CM_Remove_SubTree_Ex
: CM_Remove_SubTree
: CM_Register_Device_Interface_ExW
: CM_Register_Device_Interface_ExA
: CM_Register_Device_InterfaceW
: CM_Register_Device_InterfaceA
: CM_Register_Device_Driver_Ex
: CM_Register_Device_Driver
: CM_Reenumerate_DevNode_Ex
: CM_Reenumerate_DevNode
: CM_Query_Resource_Conflict_List
: CM_Query_Remove_SubTree_Ex
: CM_Query_Remove_SubTree
: CM_Query_Arbitrator_Free_Size_Ex
: CM_Query_Arbitrator_Free_Size
: CM_Query_Arbitrator_Free_Data_Ex
: CM_Query_Arbitrator_Free_Data
: CM_Query_And_Remove_SubTree_ExW
: CM_Query_And_Remove_SubTree_ExA
: CM_Query_And_Remove_SubTreeW
: CM_Query_And_Remove_SubTreeA
: CM_Open_DevNode_Key_Ex
: CM_Open_DevNode_Key
: CM_Open_Class_Key_ExW
: CM_Open_Class_Key_ExA
: CM_Open_Class_KeyW
: CM_Open_Class_KeyA
: CM_Next_Range
: CM_Move_DevNode_Ex
: CM_Move_DevNode
: CM_Modify_Res_Des_Ex
: CM_Modify_Res_Des
: CM_Merge_Range_List
: CM_Locate_DevNode_ExW
: CM_Locate_DevNode_ExA
: CM_Locate_DevNodeW
: CM_Locate_DevNodeA
: CM_Is_Version_Available_Ex
: CM_Is_Version_Available
: CM_Is_Dock_Station_Present_Ex
: CM_Is_Dock_Station_Present
: CM_Invert_Range_List
: CM_Intersect_Range_List
: CM_Get_Version_Ex
: CM_Get_Version
: CM_Get_Sibling_Ex
: CM_Get_Sibling
: CM_Get_Resource_Conflict_DetailsW
: CM_Get_Resource_Conflict_DetailsA
: CM_Get_Resource_Conflict_Count
: CM_Get_Res_Des_Data_Size_Ex
: CM_Get_Res_Des_Data_Size
: CM_Get_Res_Des_Data_Ex
: CM_Get_Res_Des_Data
: CM_Get_Parent_Ex
: CM_Get_Parent
: CM_Get_Next_Res_Des_Ex
: CM_Get_Next_Res_Des
: CM_Get_Next_Log_Conf_Ex
: CM_Get_Next_Log_Conf
: CM_Get_Log_Conf_Priority_Ex
: CM_Get_Log_Conf_Priority
: CM_Get_Hardware_Profile_Info_ExW
: CM_Get_Hardware_Profile_Info_ExA
: CM_Get_Hardware_Profile_InfoW
: CM_Get_Hardware_Profile_InfoA
: CM_Get_HW_Prof_Flags_ExW
: CM_Get_HW_Prof_Flags_ExA
: CM_Get_HW_Prof_FlagsW
: CM_Get_HW_Prof_FlagsA
: CM_Get_Global_State_Ex
: CM_Get_Global_State
: CM_Get_First_Log_Conf_Ex
: CM_Get_First_Log_Conf
: CM_Get_Device_Interface_List_Size_ExW
: CM_Get_Device_Interface_List_Size_ExA
: CM_Get_Device_Interface_List_SizeW
: CM_Get_Device_Interface_List_SizeA
: CM_Get_Device_Interface_List_ExW
: CM_Get_Device_Interface_List_ExA
: CM_Get_Device_Interface_ListW
: CM_Get_Device_Interface_ListA
: CM_Get_Device_Interface_Alias_ExW
: CM_Get_Device_Interface_Alias_ExA
: CM_Get_Device_Interface_AliasW
: CM_Get_Device_Interface_AliasA
: CM_Get_Device_ID_Size_Ex
: CM_Get_Device_ID_Size
: CM_Get_Device_ID_List_Size_ExW
: CM_Get_Device_ID_List_Size_ExA
: CM_Get_Device_ID_List_SizeW
: CM_Get_Device_ID_List_SizeA
: CM_Get_Device_ID_List_ExW
: CM_Get_Device_ID_List_ExA
: CM_Get_Device_ID_ListW
: CM_Get_Device_ID_ListA
: CM_Get_Device_ID_ExW
: CM_Get_Device_ID_ExA
: CM_Get_Device_IDW
: CM_Get_Device_IDA
: CM_Get_DevNode_Status_Ex
: CM_Get_DevNode_Status
: CM_Get_DevNode_Registry_Property_ExW
: CM_Get_DevNode_Registry_Property_ExA
: CM_Get_DevNode_Registry_PropertyW
: CM_Get_DevNode_Registry_PropertyA
: CM_Get_DevNode_Custom_Property_ExW
: CM_Get_DevNode_Custom_Property_ExA
: CM_Get_DevNode_Custom_PropertyW
: CM_Get_DevNode_Custom_PropertyA
: CM_Get_Depth_Ex
: CM_Get_Depth
: CM_Get_Class_Registry_PropertyW
: CM_Get_Class_Registry_PropertyA
: CM_Get_Class_Name_ExW
: CM_Get_Class_Name_ExA
: CM_Get_Class_NameW
: CM_Get_Class_NameA
: CM_Get_Class_Key_Name_ExW
: CM_Get_Class_Key_Name_ExA
: CM_Get_Class_Key_NameW
: CM_Get_Class_Key_NameA
: CM_Get_Child_Ex
: CM_Get_Child
: CM_Free_Resource_Conflict_Handle
: CM_Free_Res_Des_Handle
: CM_Free_Res_Des_Ex
: CM_Free_Res_Des
: CM_Free_Range_List
: CM_Free_Log_Conf_Handle
: CM_Free_Log_Conf_Ex
: CM_Free_Log_Conf
: CM_First_Range
: CM_Find_Range
: CM_Enumerate_Enumerators_ExW
: CM_Enumerate_Enumerators_ExA
: CM_Enumerate_EnumeratorsW
: CM_Enumerate_EnumeratorsA
: CM_Enumerate_Classes_Ex
: CM_Enumerate_Classes
: CM_Enable_DevNode_Ex
: CM_Enable_DevNode
: CM_Dup_Range_List
: CM_Disconnect_Machine
: CM_Disable_DevNode_Ex
: CM_Disable_DevNode
: CM_Detect_Resource_Conflict_Ex
: CM_Detect_Resource_Conflict
: CM_Delete_Range
: CM_Delete_DevNode_Key_Ex
: CM_Delete_DevNode_Key
: CM_Delete_Class_Key_Ex
: CM_Delete_Class_Key
: CM_Create_Range_List
: CM_Create_DevNode_ExW
: CM_Create_DevNode_ExA
: CM_Create_DevNodeW
: CM_Create_DevNodeA
: CM_Connect_MachineW
: CM_Connect_MachineA
: CM_Add_Res_Des_Ex
: CM_Add_Res_Des
: CM_Add_Range
: CM_Add_ID_ExW
: CM_Add_ID_ExA
: CM_Add_IDW
: CM_Add_IDA
: CM_Add_Empty_Log_Conf_Ex
: CM_Add_Empty_Log_Conf
: CMP_WaitServicesAvailable
: CMP_WaitNoPendingInstallEvents
: CMP_UnregisterNotification
: CMP_Report_LogOn
: CMP_RegisterNotification
: CMP_Init_Detection
: CMP_GetServerSideDeviceInstallFlags
: CMP_GetBlockedDriverInfo
: =====================================================
:
: 575KB -> 46KB로 변환됐네여.-_-;;
: 방법좀 알려주세요 고수님들....
: 그럼 답변 기다리겠습니다.
|