Dear Friends,
I have got requirement where in I need to crete dll at run time from another VB project?
Could anybody suggest a soluton on this?
your help is highly appreciated.
Thakur
Printable View
Dear Friends,
I have got requirement where in I need to crete dll at run time from another VB project?
Could anybody suggest a soluton on this?
your help is highly appreciated.
Thakur
As far as I have been informed, you cannot do this in VB. Try looking into Delphi instead, as I know it can create dll's.
I'm pretty sure this is almost nearly impossible :p
It can't be impossible, because I have an app that will list all processes and let me set the priorities, and end them as well. Also, While I was looking at the program Subseven, it had a list and kill processes section that worked, (I stupidly shut down Explorer.exe). Now I know that SubSeven is written in Delphi (which I don't know yet), but my point is that they came up with some sort of code that allowed them to do that, and I have seen a VB app do the same. I wasn't sure if anyone on this forum would know how to do this, but I though I would ask anyways.
Thanx for your replies guys, and if anyone new to this thread does know then any tips are still greatly appreciated.
Thanx
Sorry, I replied to the wrong post!!! (don't I feel stupid!)
you can use vb to start and stop services and register and unregister dlls
But you cannot have vb create Dll files dynamically during runtime
oh well, i'll check your other thread now...Quote:
Originally posted by killer_cobra
Sorry, I replied to the wrong post!!! (don't I feel stupid!)
If you have VB installed on that machine then you can by using command line arguments:
C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe /make C:\MyProj\MyProj.vbp C:\MyProj\MyDLL.dll
Would it not be possible to binary write a dll to disk (from a resource, etc.) at run-time? How useful that would be, I don't know.
That would be possible JoshT, but it would not have been compile at runtime... so... don't think its an option.