is it posible to incorporate assembly codes in vb? how? thanks....
Printable View
is it posible to incorporate assembly codes in vb? how? thanks....
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
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...
Source code with assembly code.
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