• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: Directx

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Directx"

Collapse

  • DimPrawn
    replied
    It's well known you need SP2 for 8 sided polygons.

    HTH

    Leave a comment:


  • NickFitz
    replied
    Originally posted by The Lone Gunman View Post
    Robert inputs an 8 (or more)
    The program crashes reporting a memory error
    Oh Dear.
    MS decided 3 bits would be enough for anyone

    Leave a comment:


  • chicane
    replied
    If he runs it through a debugger, he should be able to see what's causing the memory error rather than just poking about blindly in the dark.

    Leave a comment:


  • ElectricChair
    replied
    Originally posted by The Lone Gunman View Post
    Not realy a technical issue, but a mate has a lad (Robert) learning directx with C and C++ he has a project to draw a 4 sided pyramid (which works) but his solutionis smart enough to take user input for the number of sides.
    Can anybody propose what may be occuring given the following.
    Run the program

    Robert inputs a 3
    The program draws a pyramid with a 3 sided base
    All is well, Hurrah
    Run the program

    Robert inputs a 6
    The program draws a pyramid with a 6 sided base
    All is well, Hurrah
    Run the program

    Robert inputs a 7
    The program draws a pyramid with a 7 sided base
    All is well, Hurrah




    Run the program

    Robert inputs an 8 (or more)
    The program crashes reporting a memory error
    Oh Dear.
    Thank you for your query to the CUK technical help line
    Put the code in and we'll debug it.

    Leave a comment:


  • The Lone Gunman
    started a topic Directx

    Directx

    Not realy a technical issue, but a mate has a lad (Robert) learning directx with C and C++ he has a project to draw a 4 sided pyramid (which works) but his solutionis smart enough to take user input for the number of sides.
    Can anybody propose what may be occuring given the following.
    Run the program

    Robert inputs a 3
    The program draws a pyramid with a 3 sided base
    All is well, Hurrah
    Run the program

    Robert inputs a 6
    The program draws a pyramid with a 6 sided base
    All is well, Hurrah
    Run the program

    Robert inputs a 7
    The program draws a pyramid with a 7 sided base
    All is well, Hurrah




    Run the program

    Robert inputs an 8 (or more)
    The program crashes reporting a memory error
    Oh Dear.
Working...
X