PDA

Click to See Complete Forum and Search --> : Need Help whit Assembly


SH15TER
Oct 27th, 2007, 06:00 PM
Hi all,

I am new here on this forum.
I realy wanne learn Assembly i dont know anything about it do i need to have an Extra module maby some one can send me a source or code i think i would understand it faster?

I wanne learn Assembly in Visual Basic 6..
Maby some one can add my msn or something??

sterf_@live.nl
thnx greetz, SH15TER

Lord Orwell
Oct 27th, 2007, 06:38 PM
two things:
Double-posting the exact same question is frowned upon and moderators usually either delete one of them or combine them into one thread anyway.
and...
Visual basic 6 (or for that matter any of them) does not support assembly. I am not sure you are actually referring to the assembly programming language, however. Please clarify. C++ is the only compiler in visual studio that supports inline assembly.

wossname
Oct 28th, 2007, 04:43 AM
This one's a non-starter.

SH15TER
Oct 28th, 2007, 05:42 AM
I did not double post i think?
But i have c++ but its harder then VB6.
And a friend code in VB6 and use Assembly??

Lord Orwell
Oct 28th, 2007, 07:40 AM
if he programs in assembly, ask HIM how he did it. It is possible to use an assembler to create a .dll from assembly and link into the .dll from vb. But you can't write the assembly in vb.

wossname
Oct 29th, 2007, 07:47 AM
On a side note:

There is a VERY nasty hack in which you can directly insert the output of FASM straight into a byte array in VB code and then use a few API calls to load that byte array as a function and run it. But that is the sort of thing that idiots get up to, because to be honest the amount of work involved is probably ten times more than just using inline ASM in C which would be safer anyway.

packetVB
Oct 29th, 2007, 11:34 AM
There was an article written by, I believe, John Chamberlain called "Taking control of the compiler" or something like that. He provided code that hooked the CreateProcess of vb's ide and you could modify/add asm directly into the asm that vb ide spits out before it was compiled and linked. Maybe that is how he did it.

Lord Orwell
Oct 29th, 2007, 10:36 PM
On a side note:

There is a VERY nasty hack in which you can directly insert the output of FASM straight into a byte array in VB code and then use a few API calls to load that byte array as a function and run it. But that is the sort of thing that idiots get up to, because to be honest the amount of work involved is probably ten times more than just using inline ASM in C which would be safer anyway.
Sounds exactly like the hoops necessary to get qbasic to work with a mouse.

SH15TER
Oct 30th, 2007, 12:28 PM
I make WarRock Hacks XD

wossname
Oct 30th, 2007, 01:43 PM
Sounds exactly like the hoops necessary to get qbasic to work with a mouse.

Man that takes me back.

*nostalgia*

I always liked the way that the qbasic interpreter was about 15% faster than qbasic's compiled EXE's. Quality.

Lord Orwell
Oct 30th, 2007, 09:30 PM
my version of qbasic wouldn't compile. You sure you aren't thinking of quickbasic? I never was able to compile until i got visual basic for DOS, which was a really retarded program because it had a MDI you could use similar to windows for your program, but every single program had to be in the same exe. Not much use for it really. I simply compiled my qbasic programs with it.

wossname
Nov 3rd, 2007, 06:50 AM
I didn't realise there was a distinction. This was a long time ago though.

Lord Orwell
Nov 3rd, 2007, 07:00 AM
yeah, qbasic was the confusing name of the free interpreter that came with every version of dos. I was not aware they were separate for a long time either.

Shaggy Hiker
Dec 3rd, 2007, 05:55 PM
Hmmm, I have to drop by here more often. I didn't realize that qbasic was NOT the same as quickbasic. I thought one was just an abbreviation for the other, sort of like qsort.

Lord Orwell
Dec 3rd, 2007, 08:13 PM
kind of like jscript and javascript