gpt4 book ai didi

visual-c++ - 什么是 .sym 文件以及如何从 Visual-C++ 使用它?

转载 作者:行者123 更新时间:2023-12-05 06:46:24 29 4
gpt4 key购买 nike

Oracle OCCI for VS2010包含以下文件:

  • oraocci11.dll(~ 500 KB)
  • oraocci11.lib(~ 800 KB)
  • oraocci11.sym(~ 546 KB)

DLL 很明显。 lib 文件 - 从它的大小来看,似乎是静态库。

但是.sym 文件是什么? Windows 上的符号文件“通常”是 .pdb 文件。它是什么?

而且,如果它是一个符号文件,那么我如何在 VC++ 中使用它?

最佳答案

我在 Oracle docs 中找到了以下片段Oracle® 调用接口(interface)程序员指南,11g 第 2 版 (11.2),... OCI Instant Client --

oci.sym, oraociei11.sym, orannzsbb11.sym ... Symbol tables

A .sym file is provided for each DLL and when present in the same location as the DLL, a stack trace with function names is generated when a failure occurs in OCI on Windows.

所以我假设这些文件被 dll 本身用来解析符号名称。我不清楚以下是什么格式以及使用什么工具生成它们,但开发过程似乎不需要它们(但应该与 DLL 一起分发)。

关于visual-c++ - 什么是 .sym 文件以及如何从 Visual-C++ 使用它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15679289/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com