Results 1 to 5 of 5

Thread: Assembly codes in VB????

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2002
    Location
    Dgte. City
    Posts
    45

    Smile Assembly codes in VB????

    is it posible to incorporate assembly codes in vb? how? thanks....
    Mark_V

  2. #2
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    Well, I've only ever linked to DLLs written in C++ from VB. If you can write your DLLs in assembly, then you can link to them that way.

    Otherwise, you could link the assembly code into a C++ DLL file, and then link into the DLL file from VB.

    Make sense?

    Dave

  3. #3
    New Member
    Join Date
    Apr 2004
    Posts
    11

    Re: Assembly codes in VB????

    I used a VB program that have ASEMBLER code used.
    It is a picture compare program.
    Maby jou can find in this source code somthing what is
    help you in the right direction.

    Albert...

  4. #4
    New Member
    Join Date
    Apr 2004
    Posts
    11

    Re: Assembly codes in VB????

    Source code with assembly code.
    Attached Files Attached Files

  5. #5
    New Member
    Join Date
    May 2004
    Posts
    4
    Mark_V, I've been wondering about this too, I mean with inline assembly like C++, our VB programs would be as speedy, and would still take advantage of the nice interface, and object handling, we would beat the C++ programmers completly, because whenever we needed speed, assembly was there.

    One way would be to develop a plugin to VB, and then this plugin would then turn the "imaginary" inline assembly code, into a dll, and then link it to VB, just before it compiles.

    Another way, would be to build a module or something, so everytime you needed assembly, you would only need to have it installed, and then VB could call(Create it's own, and call) the assembly on runtime.

    A third way, would be to make a new compiler that compiles into assembly, and then it would just leave the inline assembly as it is. Then it is sendt to binary code.

    There are many ways, though I prefer the first, but the time it takes to create it is too much, and require both skills in File-Handling, VB Plugins and Assembly, and even if it worked, developers/users would always need this dll file, but then again, one could take advantage of this, and specify different dll's, with different functions, all interacting with each other etc...

    Good luck if you're up to making them. I would make them myself, but since I am learning C++, and there is much more C++ code online, and Assembly can always be linked to VB in another way, I won't.

    - Julian

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