{"id":23087643,"url":"https://github.com/exp-codes/exp-libs-c","last_synced_at":"2025-06-28T15:32:41.643Z","repository":{"id":70889546,"uuid":"225382918","full_name":"EXP-Codes/exp-libs-c","owner":"EXP-Codes","description":"经验构件库（C/C++版）","archived":false,"fork":false,"pushed_at":"2023-01-16T18:01:00.000Z","size":9853,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T05:27:39.563Z","etag":null,"topics":["programming"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EXP-Codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://lyy289065406.github.io/sponsor/"]}},"created_at":"2019-12-02T13:35:35.000Z","updated_at":"2023-05-03T14:16:07.000Z","dependencies_parsed_at":"2023-06-28T21:10:15.597Z","dependency_job_id":null,"html_url":"https://github.com/EXP-Codes/exp-libs-c","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EXP-Codes%2Fexp-libs-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EXP-Codes%2Fexp-libs-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EXP-Codes%2Fexp-libs-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EXP-Codes%2Fexp-libs-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EXP-Codes","download_url":"https://codeload.github.com/EXP-Codes/exp-libs-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247043224,"owners_count":20874084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["programming"],"created_at":"2024-12-16T19:59:30.852Z","updated_at":"2025-04-03T16:45:40.439Z","avatar_url":"https://github.com/EXP-Codes.png","language":"C++","readme":"# exp-libs-c\n经验构件库（C/C++版）\n\n------\n\n1. 拷贝 x64/Release 目录下的 exp-libs.dll 与 exp-libs.lib 文件到其他项目工程目录\n\n\n2. 拷贝 exp-libs 目录下需要用到的 *.h 头文件到其他项目工程目录\n\n\n3. 修改其他项目工程的stdafx.h文件，在其末尾添加：\n\n```\n#ifdef DLL_IMPLEMENT  \n\t#define DLL_API __declspec(dllexport) \n#else  \n\t#define DLL_API __declspec(dllimport) \n#endif\n```\n\n\n4. 在其他项目工程中把步骤1和步骤2的文件添加到解决方案，即可通过 `*.h` 头文件定义的API进行调用\n\n\n5. 若其他项目工程在引用这个 exp-libs.dll 模块后，编译时出现以下错误：\n\n\u003e `error LNK2019: 无法解析的外部符号 __declspec(dllimport)`\n\n则很可能是 exp-libs.dll 与该工程的编译平台位数不对（exp-libs.dll默认是64位的）","funding_links":["https://lyy289065406.github.io/sponsor/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexp-codes%2Fexp-libs-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexp-codes%2Fexp-libs-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexp-codes%2Fexp-libs-c/lists"}