TPU ChatChat on IRC
Internet Relay Chat?
Java Applet client
Who's on IRC?
COM Assembly programming?
Posted by mackrune [send private reply] at August 13, 2002, 10:38:18 AM Does anyone know how to use COM in conjunction with MASM? I want to use DirectX directly through MASM, but I need help getting started.
Posted by taubz [send private reply] at August 13, 2002, 03:53:44 PM Wow... I'm sure it would be pages of messy stuff.
Posted by buzgub [send private reply] at August 14, 2002, 12:05:20 AM Well, that would translate to a resounding no. I'll try to be slightly helpful, though.
This is waay to special purpose to expect someone here to have tried, I think. Something like a newsgroup usually has information on this, though, so you might like to search (on http://groups.google.com/) the google usenet archives.
Posted by CViper [send private reply] at August 14, 2002, 06:50:04 AM actually there are a few demos about that kinda stuff (DirectDraw and so on) in the masm32 examples folders (if i remember it correctly)
Posted by Mike_L [send private reply] at August 24, 2002, 12:49:59 AM I'm guessing you would want to create a C++ COM application and a separate MASM module. Create functions in your MASM module that conform to the C calling conventions. Then define these as exported functions when you assemble your module into an obj file. Then you can declare the C functions in a header file that you include in your C++ application. Linking the assembled obj into your application should allow your C++ program to call the assembly code.
I've never tried this, but I'm certain it would work. I don't know if MASM will produce a proper COFF object file that you will be able to link.
Another option may be to use inline assembly in your C++ program.
Register as a new user