Results 1 to 10 of 10

Thread: Create DLL at run time

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    Hyderabad, India
    Posts
    13

    Create DLL at run time

    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

  2. #2
    Addicted Member killer_cobra's Avatar
    Join Date
    Jun 2001
    Location
    Lost in space
    Posts
    131

    Hi

    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.
    Error... What Error?!?! I've only typed a single character!
    ______________________________
    VB 6.0 EE, Win 2k Pro on AMD Duron 1Ghz/ 384 MB SDRAM

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    I'm pretty sure this is almost nearly impossible

  4. #4
    Addicted Member killer_cobra's Avatar
    Join Date
    Jun 2001
    Location
    Lost in space
    Posts
    131

    Hi Da_Silvy

    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
    Error... What Error?!?! I've only typed a single character!
    ______________________________
    VB 6.0 EE, Win 2k Pro on AMD Duron 1Ghz/ 384 MB SDRAM

  5. #5
    Addicted Member killer_cobra's Avatar
    Join Date
    Jun 2001
    Location
    Lost in space
    Posts
    131

    Sorry

    Sorry, I replied to the wrong post!!! (don't I feel stupid!)
    Error... What Error?!?! I've only typed a single character!
    ______________________________
    VB 6.0 EE, Win 2k Pro on AMD Duron 1Ghz/ 384 MB SDRAM

  6. #6
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935
    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

  7. #7
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Re: Sorry

    Originally posted by killer_cobra
    Sorry, I replied to the wrong post!!! (don't I feel stupid!)
    oh well, i'll check your other thread now...

  8. #8
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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

  9. #9
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  10. #10
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    That would be possible JoshT, but it would not have been compile at runtime... so... don't think its an option.
    -= a peet post =-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width