topics

全部话题 - 话题: dll
首页 1 2 3 4 5 末页 (共10页)
c****e
发帖数: 1453
1
来自主题: Programming版 - 急问:VS2008里如何调用DLL
It's possible this was caused by dll dependency, which means libgsl.dll
needs other dlls to be loaded, so the loading failed and returned NULL.
s**********l
发帖数: 8966
2
来自主题: Programming版 - MATLAB编译的dll怎么被C#调用呢
我用2010b编译了一个dll文件,自己的计算机是64位的,我希望在C#里面调用。
假设我的matlab function接口是
[Sum]=MyAdd(a,b)
mcc编译成MyAdd.dll
在C#里面直接用[DllImport("Myadd.all")]似乎不成,我已经把dll拷到exe文件那个
folder去了,
还是找不到。
请问有什么解决办法么?
b******n
发帖数: 592
3
来自主题: Programming版 - MATLAB编译的dll怎么被C#调用呢
I don't think C# will have any problem loading dll, actually the best
experience I had with dll library was using c#. probably you should google a
bit, maybe try to hardcoded path to dll first..
I assume Myadd.all is typo...
s**********l
发帖数: 8966
4
来自主题: Programming版 - MATLAB编译的dll怎么被C#调用呢
C# include别的dll都没问题,我怀疑也许是我的matlab dll编译错误了。
请问怎么在2010b下面编译32/64bit的dll呢?
r**u
发帖数: 130
5
来自主题: Programming版 - MATLAB编译的dll怎么被C#调用呢
Matlab has dll converter for C++ and C#, you need to pay each of them.
Sometimes C# can call Matlab_To_C++ dll, I remember there are three ways to
do it, you can google msdn forum; but from my own experience, neither of
them works as good as Matlab_To_C# dll.
x**n
发帖数: 1055
6
我用MSVC的LoadLibrary和GetProcAddress可以打开另一个MingW的DLL并且调用MingW
DLL的函数没问题,但是要同步就不行,呵呵
x**n
发帖数: 1055
7
谢谢,好像有点明白您说的思路,不过是否能稍微详细展开一下实现的细节?
就是在mingw.dll.c和msvc.dll.c中把GetProcAddress得到的
ptr_func_mingw和ptr_func_msvc作为参数传入用其中一个编译器写的wait()?然后在
wait中实现所有的同步操作?
我是不是应该有wait(ptr_func_mingw)和wait(ptr_func_msvc)这样一个函数?
有没有这方面成功的例子?
非常感谢!!
p****r
发帖数: 165
8
来自主题: Programming版 - develope 32-bit dll on win 7
win 7 is a 64-bit OS, where i could find resource to develope 32-bit .dll on
win 7? should I use VS 2010 or VS 2008 is ok?
because .dll will got ran on 32-bit server, so I still need to compile it
into 32-bit .dll.
any suggestions are welcome. Thanks.
t****t
发帖数: 6806
9
他唧唧歪歪的说了半天就是说一件事: 如果把类放到DLL里并且准备把DLL做成可替换的
, 那么不能改.h. 如果改了.h, 那DLL就不是可替换的. 其实是一句废话, 但是考虑到
COM就是解决这类问题, 废话的程度还不算太高.

的?
x****u
发帖数: 44466
10
你前面的话也有问题。设计COM的原因是因为C++本身有缺陷,即使不改.h,DLL还是相
当的不可靠。
比方说这个DLL A被DLL B和C调用,如果B和C都有不同的配置,那么就可能有麻烦。

?
t****t
发帖数: 6806
11
他唧唧歪歪的说了半天就是说一件事: 如果把类放到DLL里并且准备把DLL做成可替换的
, 那么不能改.h. 如果改了.h, 那DLL就不是可替换的. 其实是一句废话, 但是考虑到
COM就是解决这类问题, 废话的程度还不算太高.

的?
x****u
发帖数: 44466
12
你前面的话也有问题。设计COM的原因是因为C++本身有缺陷,即使不改.h,DLL还是相
当的不可靠。
比方说这个DLL A被DLL B和C调用,如果B和C都有不同的配置,那么就可能有麻烦。

?
r**u
发帖数: 1567
13
Windows下,如果在一个DLL里malloc一个buffer,在另外DLL里free,有没有问题?每
个DLL有自己的heap,还是整个程序有一个heap?谢谢
p********g
发帖数: 8855
14
来自主题: Programming版 - 求助个dll调用的问题
我有一部分code,做成了dll
现在使用的是隐式调用方式调用这个dll
如果调用dll,发现速度要比直接run code 要慢?
这个正常么? 大概慢0.5秒
这个code需要openmp的支持。多谢
m******1
发帖数: 418
15
DLL 文件拷贝在 c:Windows,并且在 VBA 子程序中加了路径。对32位Excel运行良好。
但用在64位Excel上时,尽管用寻找文件的子程序调试时能够找到DLL文件,但在运行程
序时一直显示找不到这个Fortran DLL文件.
请各位大侠指教如何解决,多谢了。
a*s
发帖数: 2
16
【 以下文字转载自 Windows 讨论区,原文如下 】
发信人: aps (sea), 信区: Windows
标 题: can not be located in the dynamic link library kernel32.dll
发信站: The unknown SPACE (Sun Apr 28 15:00:51 2002) WWW-POST
When I start up my WinNT, recently it always tell me"
The procedure entry ptprocess32next could not be located in the
dynamic link library kernel32.dll
today, also I want to install something, it also tells me:
The procedure entry point SHGETSettings could not be located in the
dynamic link library Shell32.dll
I know
c********r
发帖数: 154
17
有一个system32/gk9mx4v4a.dll被mcafee干掉了,电脑用起来也还比较正常,但是每次
启动都报错,说rundll32.exe bad image,找不到那个dll。我用msconfig 和regedit都
找不到那个dll的任何信息。请问该怎么办?谢了
s*****g
发帖数: 221
18
C:\windows\system32\Woiboag.dll
Belongs to virus/spyware
Sophos 查杀之后启动还会出现。
启动后蓝屏5-10分钟才能出现桌面图标。
查杀的时候还有MCI321.dll一起。
感染的文件居然有系统restore里的 .dll文件
Windows explorer会不时地出错关掉。
注册表查不到相关文件。
补充:C:\program files\common files\system
msaudi32.acm belongs to virus/spyware
A*******n
发帖数: 625
19
来自主题: Software版 - .dll editor
who knows which software can edit .dll file?
sevel years ago, a programmer designed the dll files and embedded the
connectstring in the file, now the server is changed. so I need a editor can
open the dll file and change the connectstring setting.
thanks for help
A*******n
发帖数: 625
20
来自主题: Software版 - .dll editor
who knows which software can edit .dll file?
sevel years ago, a programmer designed the dll files and embedded the
connectstring in the file, now the server is changed. so I need a editor can
open the dll file and change the connectstring setting.
thanks for help
n*********t
发帖数: 64
21
kernel.dll不是win98的文件。kernel32.dll才是。
有的病毒会用这些文件名来做伪装。
比如kernel.exe,kernel.dll等
r**m
发帖数: 1825
22
来自主题: Windows版 - 怎么删除该死的病毒dll (转载)
【 以下文字转载自 Software 讨论区 】
发信人: rcam (转识成智), 信区: Software
标 题: 怎么删除该死的病毒dll
发信站: BBS 未名空间站 (Sun Apr 29 22:19:13 2007)
对付winantivirus这个spyware,现在剩下两个在c:\windows\system32 下的dll file
死活删不掉,
试了 Hijack this 和 Killbox 的 Delete after reboot, 也都在安全模式下操作,但
这两个dll 好像load更早,
现在我已经黔驴技穷了,请大侠支高招,
也试过用Knoppix CD启动到Linux,再去acess C: drive, 但是删不了,不知道是不是权
限的问题
m*******4
发帖数: 55
23
XP开机进入桌面后,总有2个提示找不到文件的出错窗口蹦出来,
c:\windows\obojifigoci.dll
c:\windows\txetapimoxihuvu.dll
谁知道怎么回事请给解释解释,先谢了
m**********e
发帖数: 12525
24
来自主题: Windows版 - 无法删除ultroiso的一个dll文件
这isoshl64.dll叫explorer extension,只要explorer运行就自动锁定,不能
扇不能改名
解决方案:用admin打开dos窗口,进到isoshl64.dll目录,然后打开任务管理,
杀掉explorer.exe,然后再在dos窗口delete isoshl64.dll,然后再在dos窗口
打入explorer.exe重启explorer
j***n
发帖数: 301
25
来自主题: Computation版 - JAVA 如何调用现成的dll
several years ago i encountered the same problem and i did a little survey.
so essentially there're two methods:
1. you have control over both the dll side and java side. in this case you g
o with jni directly
2. you dont have control over dll side, e.g. it's written by others and you
dont have src code. in this case you write a c/c++ wrapper for the dll and u
se jni to call your wrapper.
p.s. my knowledge base might have been outdated

输入参数等等)。
G***G
发帖数: 16778
26
来自主题: HiFi版 - lame_enc.dll
请问decode 一个mp3的,是lame_enc.dll吗?
如果不是,是哪个文件?
谢谢!
我知道lame_enc.dll可以把wav变成mp3
r**u
发帖数: 1567
27
解释的很清楚,多谢啊。
我再问个问题啊,如果32/64的程序,那么如果一个DLL是C#,一个DLL是C++,那么如
果我在C++里分配内存,然后把指针传给C#,需要call C++的函数来释放内存么?

HeapFree。
N****g
发帖数: 5246
28
一个第一次使用的netbook,xp系统,开始配置的时候没选update系统,
然后上买买提的时候提示要装语言包
但是机器自带的xp光盘里面没有所需的dll文件,好像缺得不少
请问这个是因为没有update系统的原因吗?应该update还是应该去哪里下载一堆dll去?
btw,控制面板区域设置里面,location有china,
但是language的挺长的列表没有Chinese/Mandarin/Simplified/Asian/Traditional之
中的任何一个。
包子答谢。
f****s
发帖数: 10
29
来自主题: Database版 - 如何在PB5中调用Delphi4做的DLL
在Delphi4中定义了一个函数
function MyFun(h1,h2:PChar):WORD;
用Delphi编写的程序调试生成的DLL,一切正常。
但在PB中
用 FUNCTION int MyFun(string h1, string h2) LIBRARY "fundll.dll"申明后
执行,却出现无效页错误,被迫退出, 这是怎么回事
D****N
发帖数: 430
30
来自主题: Database版 - SQL Server 7.0 problem with mdt2g.dll
瞎猜的..
Start Menu/Run..
regsvr32 mdt2g.dll
不行的话,把mdt2g.dll抄到windows/system/目录里
再试
d********e
发帖数: 54
31
执行developer 的 report builder 时出现错误信息:
c:\orawin95\rwbld60.exe.
a device attached to the system is not functioning.
以及
The QMG60.dll file is linked to missing expoot
ORA805.DLL:OCIReset
请各位指教!
q*s
发帖数: 32
32
来自主题: Database版 - sqllib80.dll
hi, all
does anyone knows where i can find the
sqllib80.dll file? I got one error message
while I am installing another software and
it says can not find "sqllib80.dll".
thanks,
qhs
k******r
发帖数: 2300
33
来自主题: Database版 - 如何在 SQL script 里面调用dll?
Thanks for your reply. I am not using ASP.net at all. Basically, I need call
the dll from SQL. Why'd I need to wrap the dll in a .net?
r***e
发帖数: 38
34
来自主题: DotNet版 - 修改.dll文件
use ildasm to dump the dll to .il file
modify it
use ilasm to make il back to dll
s******e
发帖数: 96
35
I have an unmanged code that calls a managed code dll. I wrote both code. It
works OK. But how can I debug into the managed code dll from within the
unmanaged code? In visual studio,it just doesn't go into the managed code
when I tried to step into it in the unmananged code. any idea? Thanks.
s***n
发帖数: 10693
36
u sure u built the managed code under debug mode and it came with a pdb file?

I have an unmanged code that calls a managed code dll. I wrote both code. It
works OK. But how can I debug into the managed code dll from within the
unmanaged code? In visual studio,it just doesn't go into the managed code
when I tried to step into it in the unmananged code. any idea? Thanks.
s*****y
发帖数: 4
37
来自主题: Java版 - java可以调用dll吗?
你可以在java中调用dll中间的东西,但不能用java来写dll。而且这样你就只能在Window
s平台上用了。可以参考一些JINI的资料。
C*N
发帖数: 1792
38
来自主题: Programming版 - 要写 Visual C 下的 DLL 东西
要写 Visual C 下的 DLL 东西

一些东西想写成 DLL
不是MFC的那种,只是算法
从来没有写过这个,
哪位介绍一本书,最好能有E-Book的那种
多谢!
o***g
发帖数: 2784
39
来自主题: Programming版 - 谁帮忙看一下这个dll的dependencies
【 以下文字转载自 Hero 讨论区 】
发信人: orang (大猩猩), 信区: Hero
标 题: 谁帮忙看一下这个dll的dependencies
发信站: BBS 未名空间站 (Tue Apr 17 14:31:40 2007)
能帮我搞一套dependencies dll就更好了 :)
多谢多谢
s**********r
发帖数: 340
40
来自主题: Programming版 - should the .dll and .lib have the same name?
In Visual Studio 2005, I should set C/C++ -> General -> additional include
directories with the "include" directory for the .h files. I also have to
set the Linker -> General -> additional library depedencies with the "lib"
directory. Right?
How did the compiler know where to find the .dll files? What's the .lib file
for? .dll and .lib could have different names?
When should I explicit set the Linker -> Input -> Additional Dependencies
with some .lib files?
Any information is welcome!
n**a
发帖数: 104
41
You can do that. All you need to do is to REDIRECT the input/output to
stdout/stdin.
You can use WIN32 API
BOOL WINAPI AllocConsole(void)
to allocate a console for the calling process (/DLL).
Further you can wrap in a class
CConsole:: CConsole()
{
AllocConsole();
freopen("CONOUT$","w+t",stdout);
freopen("CONIN$","r+t",stdin);
}
CConsole:: ~CConsole()
{
fclose(stdout);
fclose(stdin);
FreeConsole();
}
Then when you initialize your DLL, you create an instance of CConsole
e*****r
发帖数: 379
42
来自主题: Programming版 - 求推荐:dll 工具
tlbimp.exe did 1/3 of the job for most DLLs i am reversing;
reshack did 1/3 of job by telling some basic infor of the program;
dllexp.exe did 1/3 of the job by telling me functions' names.
==????
still i don't know the exact algorithms inside the dll.
oh, i can't understand windows debug info.
v****c
发帖数: 32
43
来自主题: Programming版 - 能否把mevent.dll 给删除了?
MEVENT.DLL 感染了downloader 病毒,怎么也清理不了。
能不能把MEVENT.DLL删除了再拷一个?不明白它是干啥用的。
谢谢知道的大虾们。
y******e
发帖数: 359
44
来自主题: Programming版 - 急问:VS2008里如何调用DLL
You check the hHandle to decide if the dll is there, that's wrong.
There are many reasons the hHandle could be NULL but the right dll is there.
For example:
If the dllmain has a bug or the global class object contructor causes crash,
then hHandle will be NULL.
To determine the right cause, you should call GetLastError API to find the
root cause of the loading failure.
b***y
发帖数: 2799
45
来自主题: Programming版 - [合集] dll输出问题
☆─────────────────────────────────────☆
nochoice (别无选择) 于 (Thu Sep 22 00:41:23 2005) 提到:
我在dll里面使用了stl,但编译的时候老是警告
needs to have dll-interface to be used by clients of class xxx
即使用了CString也有这样的警告
以下是附件内容:
s*****w
发帖数: 1527
46
hi i'm building a project,
it says "unsolved external symbol", this symbol is in some dll file,
(basically it's not in *.lib)
so how should i set this in project setting,
basially tells the VS that this symbol is in some DLL ?
X****r
发帖数: 3557
47
Try to add the DLL into the project, or to change the project option
of linker input to add this particular DLL.
s*****e
发帖数: 16824
48
嗯,我现在写了一个DLL,里面一个函数需要生成一个类的实例,但是我不想在这个DLL
里面定义这个类,而是在外部其他程序里定义,应该怎么调用这个类呢?我用extern关
键词,但是编译不了。
b***i
发帖数: 3043
49
你得include.h文件。类的声明在.h,实现在.cpp里面。
.h只是告诉你这个dll,那个类是如何组织内部信息的,没有代码参与(inline除外)。
不过,看来你是编译都通不过,那么你用的是什么编译器呢?

DLL
首页 1 2 3 4 5 末页 (共10页)