k******r 发帖数: 2300 | 1 Actually, my question has nothing to do with .net. I don't care about CLR.
Again I use SQL script to call dll. Thanks. |
|
j*****n 发帖数: 1781 | 2 what i told you is that sql server can only call COM dll, ok? |
|
k******r 发帖数: 2300 | 3 So do you know how to call COM dll from SQL server? Thanks. |
|
k***e 发帖数: 7933 | 4 有没有办法可以直接编辑修改编译好了的.net DLL文件? |
|
k***e 发帖数: 7933 | 5 好奇而已. 以前的exe都可以直接改,
.net 的 DLL EXE应该更容易吧.
can you give more detail? |
|
a********y 发帖数: 20 | 6 I think the DLL or EXE contains meta data. |
|
j*****o 发帖数: 320 | 7 如果把一些模块放到一个DLL中, 那么程序运行是否会占用较少的内存?
程序运行是否可能快些?
谢谢. |
|
e*********s 发帖数: 200 | 8 what DLL? Assemblies?
no significant impact on memory usage :) |
|
|
st 发帖数: 1685 | 10 yes, many many ways, also it depends on how your dll is created,
it could be COM/COM+ object, then you can call the object interface,
or it could be just external library... blah blah... I am no expert, only
use it superficially. :( |
|
a**y 发帖数: 335 | 11 There are several ways to share dlls. DotNet prefers assembly.
You can also use COM/COM+, DotNet will create a wrapper for you automatically.
You just simply add them into reference.
But none of these methods could save memory coz DotNet doesn't let you manage
memory by yourself(unless you use unsafe block). DotNet only do garbage
collection whenever it feels like to do so. |
|
st 发帖数: 1685 | 12 dll isnt the way to reduce memory usage, what's your algorithm? |
|
G**T 发帖数: 388 | 13
I just tried some other DLLs, they work in this way too. weird. |
|
g*******t 发帖数: 1039 | 14 Could someone let me know where I can download a VB.NET dll decompiler?
thanks a lot |
|
s******e 发帖数: 96 | 15 I am sure. The *.tlb, *.pdb and *.dll are all in same debug directory. To
call the managed code, I imported the debug *.tlb file in the unmanaged code
. anything else to check? Thanks. |
|
s***n 发帖数: 10693 | 16 try attach to process then select the managed dll?
code |
|
A*******n 发帖数: 625 | 17 我用下面的语句可是出问题了:
ildasm dwhlib.dll /output:dwhlib.il
error: unable to open 'dwhlib.il' for output.
是不是要先建立.il文件啊 |
|
|
|
|
b***y 发帖数: 740 | 21 Hi. Do you guys know how can I find all the DLL file names being used by an
EXE within a visual c++ program? I know there's a tool called Dependency
Walker can do this but I need the source codes or knowing how to do it.
Thanks very much!! |
|
o**o 发帖数: 3964 | 22 many years ago i used a little tool called "exescope", which
can view&change resource, including checking dlls. don't know
if it's still there yet |
|
m******n 发帖数: 233 | 23 just 1 .dll file, sorry
I've figured it out
thanks! |
|
y*h 发帖数: 107 | 24 有DLL文件之后, 点击EXE文件就不会起作用.
请问如何做, 能够让EXE文件再次work
thxs |
|
|
o******r 发帖数: 259 | 26 用dll和exe的人多了,
你连个简单问题都说不清楚 |
|
o******r 发帖数: 259 | 27 找别人要一个msvcr80d.dll
我有,怎么传给你?
vc
2005 |
|
n********r 发帖数: 65 | 28 不明白 def file 和 __declspec(dllexport)是干嘛用的
好像两个都不用也可以使用dll啊
只需要声明函数接口就行了
哪位大侠解释一下 |
|
w******e 发帖数: 12 | 29 Want to share memory among different processes that using same .dll
I search online and found two ways:
1. using file mapping, this is way to complex.
2. using #progma data_seg("shared")
Because current project can only be C, no c++ syntax. Is the 2 way a C++
syntax?
Thanks a lot |
|
b********e 发帖数: 215 | 30 When I try to run a simple Visual C++ program I get a message saying "
Missing "nmsql.dll" This file cannot be loaded. Please reinstall Microsoft
Visual C++". After I click OK my program runs fine! (Even a smiple "Hello
World" program). I have tryed reinstalling it but I am still getting this
error message. Is anyone familar with this problem or can
help! Please let me know!!
Thanks |
|
c*******h 发帖数: 527 | 31 google nmsql.dll then download and install it |
|
c********x 发帖数: 84 | 32 simply copy the .dll to your project exe directory |
|
R***n 发帖数: 680 | 33 难道是参数转换的问题?
visual studio没法测试dll吗? |
|
H****S 发帖数: 1359 | 34 rt并且使这个dll文件以后可以被matlab调用。谢谢,以前没弄过。我试过:
mcc -m myfunc.m -T link:lab
但是matlab报错。。。 |
|
l***8 发帖数: 149 | 35 来自主题: Programming版 - dll求救 should be there in the dll build? |
|
d1 发帖数: 1213 | 36 来自主题: Programming版 - dll求救 Yes, just gnerate a vc80.pdb in my dll build
THEN, HOW TO USE IT? |
|
l***8 发帖数: 149 | 37 来自主题: Programming版 - dll求救 What happens when you single-step into one of your dll
function entry points from your debugger?
If you're seeing only x86 disassembly then probably you
need to figure out how to set your symbol path |
|
d1 发帖数: 1213 | 38 来自主题: Programming版 - dll求救 我现在根本跳不进DLL的程序里面debug
我以进debug模式,左边的小红点就变成空的了 |
|
T*******i 发帖数: 4992 | 39 来自主题: Programming版 - dll求救 你的dll没有debug information当然没法debug了 |
|
d1 发帖数: 1213 | 40 来自主题: Programming版 - dll求救 可以ile
我就是把exe里面的pdb 和exe都考到dll的sln下面就号了 |
|
e*****r 发帖数: 379 | 41 想偷看一下别人dll里面的功能怎么实现的。。。 |
|
k***r 发帖数: 4260 | 42 where exactly did you put the DLLs? |
|
x****u 发帖数: 44466 | 43 这是个编译和链接的问题,在不同dll里面的new与delete可能被链接到不同的代码,这
样也许会造成用一个内存管理的实现去释放另一个内存管理的实现分配的内存,从而带
来怪异问题。
dynamically
, |
|
E*****7 发帖数: 128 | 44 有一个C++函数因为其涉及到Open MP而不能用C#直接写(C#目前不能支持Open MP)。想
先把该函数编译成Manged Application上的DLL,然后在C#里面调用。有那位知道该如何
实现?谢谢! |
|
s******n 发帖数: 21 | 45 Not quite understand your question... I was talking aout calling into
unmanaged(native) dlls from managed applications (.NET). I believe __
declspec( dllimport ) is a native C++ only attribute. |
|
a****l 发帖数: 8211 | 46 I don't think it is a good idea. think again if you really need to do in
this way. Surely you can do a program in this way, but most probably you
could come up with an easier way that does the same thing.
By the way, calling DLL has nothing to do with C++. Don't link every
question to C++. It also has nothing to do with C.
line. |
|
m****s 发帖数: 402 | 47 我用mcc -N -B cpplib:mylib mylib.m编译后生成了dll,但却不能成功运行,总是报错"没有mexfuntion"。看了生成的ccp代码,就一堆垃圾code,也没有包括进mylib.m内容。
不知道是不是license的原因?我用最简单的y=a+b程序编译都不能run。 |
|
a***n 发帖数: 404 | 48 编译老是不通过啊,下了个D版的2003,就又通过了。。。
郁闷,是不是不兼容啊,有啥办法可以在2009中使用2003的dll么?
谢谢。 |
|