由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - how to resolve this problem?
相关主题
visual C++链接不同的第三方library的问题How to find the DLL dependency of an EXE file?
C#程序调用Windows C++ DLL的问题为什么我的visual C++ 找不到 "Stdafx.h" ?
谁给讲讲cross DLL problem?请教:how to call a COM object in a stored procedure? (转载)
c++设计一问:如何动态地调用不同的算法的dll ?how to link DLL staticly in visual c# ?
Re: 一个DLL的问题linker problem in VC
Help: any good decompiler for DLLa simple DLL and EXE question
要写 Visual C 下的 DLL 东西问个DLL调用问题
Question about COM从DLL上看,能不能知道是哪个编译器编译出来的么
相关话题的讨论汇总
话题: dlls话题: dll话题: resolve话题: problem话题: name
进入Programming版参与讨论
1 (共1页)
y*h
发帖数: 107
1
under visual studio, I have a project which references two dlls.
Those two dlls share the same name. Let's say A.dll. So I rename one A.
dll to B.dll. The build still failed.
I found the dll signature inside B.dll is still A.dll. Does
anyone have idea how to bypass this name conflicting issue?
thanks
y*h
发帖数: 107
2
no one knows answer? or you couldn't understand my question?

A.

【在 y*h 的大作中提到】
: under visual studio, I have a project which references two dlls.
: Those two dlls share the same name. Let's say A.dll. So I rename one A.
: dll to B.dll. The build still failed.
: I found the dll signature inside B.dll is still A.dll. Does
: anyone have idea how to bypass this name conflicting issue?
: thanks

c**m
发帖数: 30
3
do you have source for the DLLs?
Instead of bind your exe to the DLLs, dynamically load the DLLs and lookup
symbols yourself.
y*h
发帖数: 107
4
我只有一个DLL的SOURCE, 另一个DLL没有.
怎么个dynamically load dll ?

【在 c**m 的大作中提到】
: do you have source for the DLLs?
: Instead of bind your exe to the DLLs, dynamically load the DLLs and lookup
: symbols yourself.

y*h
发帖数: 107
5
另外, 两个DLL是这个样子的.
A.dll ---version: 1.1.5
A.dll ---version: 1.1.4
他们name相同, signature不一样.
build的时候只是有warning, 没有error.
我对UNIX比较熟, WINDOWS不了解. 我想知道,
如果把两个A.dll放到一个solution里面到底可不可以? 这个warning可不可以ignore?
a******8
发帖数: 46
6
Try:
1) put them in different dir
2) change source code and build a new dll
c**m
发帖数: 30
7
I think I am crazy, but are you saying the two DLLs are the same code, but
just different versions?
You bind your exe to DLLs by linking it with the DLL's wrapper libs, so when
your application loads, the OS automatically loads the DLLs and maps them
into your application's memory space, but you don't have to link your exe
with the wrapper libs. You can load the DLLs into your memory space
yourself, and then use lookup to find the functions in the DLL.
Honestly I have no idea what you are doing

【在 y*h 的大作中提到】
: 另外, 两个DLL是这个样子的.
: A.dll ---version: 1.1.5
: A.dll ---version: 1.1.4
: 他们name相同, signature不一样.
: build的时候只是有warning, 没有error.
: 我对UNIX比较熟, WINDOWS不了解. 我想知道,
: 如果把两个A.dll放到一个solution里面到底可不可以? 这个warning可不可以ignore?
:

1 (共1页)
进入Programming版参与讨论
相关主题
从DLL上看,能不能知道是哪个编译器编译出来的么Re: 一个DLL的问题
一个面试题Help: any good decompiler for DLL
一个C++ DLL 在VBA中调用的问题要写 Visual C 下的 DLL 东西
Win32 TerminateProcess 会有memory leak吗?Question about COM
visual C++链接不同的第三方library的问题How to find the DLL dependency of an EXE file?
C#程序调用Windows C++ DLL的问题为什么我的visual C++ 找不到 "Stdafx.h" ?
谁给讲讲cross DLL problem?请教:how to call a COM object in a stored procedure? (转载)
c++设计一问:如何动态地调用不同的算法的dll ?how to link DLL staticly in visual c# ?
相关话题的讨论汇总
话题: dlls话题: dll话题: resolve话题: problem话题: name