Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
assembly & VC++ MFC
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
SheetRok  
View profile  
 More options Mar 4 2003, 9:39 pm
Newsgroups: comp.lang.asm, alt.lang.asm
From: SheetRok <s...@nospam.com>
Date: Wed, 05 Mar 2003 02:39:36 GMT
Local: Tues, Mar 4 2003 9:39 pm
Subject: assembly & VC++ MFC
Hello,

I write simulations to study the spatial spread of disease.  Often, to be
sure that the code is doing what we expect, we draw a 2-D representation of
the dynamics to a window.  The "universe" is essentially chopped up into a
grid.  The state of a grid cell can be anything such as infected/uninfected
or number or density of infected individuals, etc.  A few colors represent
most of the cases.  

However, what we're really after are the output numbers at the end.  So,
because the graphics are so slow (simulating large areas with large #'s of
individuals for long times), I often have to disable graphics as a
practical matter.  But, I see the lightening speed of computer game
graphics and I think, it doesn't have to be so...

But, 95% of the info I've found about using graphics with pc's relates to
dos.  That's great, and I've no problem with it in principle.  But, since
graphics are a small part of my goals and numerical classes & libraries etc
are a large part, it makes more sense to me to fit the graphics routines
into my science rather than fit my science into graphics routines.  

I've still got a long way to go, but I believe that I don't care whether or
not I include assembly files in my vc++ projects (I've gotten this worked
out w/the help of excellent web-based turorials) or use inline __asm
routines (correct me if I'm wrong).  However, 3 problems (at least) remain:

1) there are precious few resources describing assembly graphics
programming in something like win2k

2) I don't really want to draw to the screen the way games do.  I've got
lots' of windows probing the process in various ways and displaying info,
with various check boxes and option buttons available to change this or
that.  Don't want to lose access to control over program flow.

3) I've actually found a couple win32 examples (excellent), but they are
not well-documented (few comments in guts of prog) and they are stand-
alone.  

Evidently (and correct me if there are things I'm not recognizing), I want
graphic *routines* that draw to my existing window classes (mfc).  My guess
is that these would be functions in *.asm files that would be built into
*.obj files and linked to my c++ *.exe.  Or, as I said, if inline is the
way to go, that's fine too (although makes reusability a bit more of a
pain).  

So, does anyone know of any resources relating to what I'm describing here?  
For assembly manipulations, I've downloaded MASM, I also have NASMW &
NASMEDIT & numerous on-line books/tutorials some of which get close to the
issue, but none of which really gets me there yet.

Thank you for reading and thank you for any tips.
Best regards,
Kevin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
drhowarddrfinedrhoward  
View profile  
 More options Mar 5 2003, 8:38 am
Newsgroups: comp.lang.asm, alt.lang.asm
From: "drhowarddrfinedrhoward" <drhowarddrf...@sbcglobal.net>
Date: Wed, 05 Mar 2003 13:37:01 GMT
Local: Wed, Mar 5 2003 8:37 am
Subject: Re: assembly & VC++ MFC
http://www.scrontsoft.com/WRITING.asp
This is a very good site for using assembly and directx.  Unfortunately he
is re-doing his site and the information isn't there.  I assume it will be
over the next few days.  It's very good.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
claz3  
View profile  
 More options Mar 5 2003, 9:13 pm
Newsgroups: comp.lang.asm, alt.lang.asm
From: <CL...@tampabay.rr.com>
Date: Thu, 06 Mar 2003 02:13:33 GMT
Local: Wed, Mar 5 2003 9:13 pm
Subject: Re: assembly & VC++ MFC
 Kevin, regarding your message:

> I write simulations to study the spatial spread of disease... Etc.

I have done work with inline asm and linking of asm object files so I kind
of know where you are coming from and although I don't have any suggestions
myself I did stumble upon a marvelous site where you will likely get more
help:

http://www.experts-exchange.com/

Haven't spent much time there yet, but it sure looks like they know their
stuff.

Charles


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google