Click here to Skip to main content
15,885,309 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Changing a C++/CLI project from static lib to DLL causing app to crash under Win7 but works under WinXP Pin
TrevorPT17-May-11 6:12
TrevorPT17-May-11 6:12 
QuestionPassing an ArrayList by Reference? [modified] Pin
VonHagNDaz13-May-11 2:39
VonHagNDaz13-May-11 2:39 
AnswerRe: Passing an ArrayList by Reference? Pin
John Schroedl13-May-11 3:29
professionalJohn Schroedl13-May-11 3:29 
GeneralRe: Passing an ArrayList by Reference? Pin
VonHagNDaz13-May-11 4:15
VonHagNDaz13-May-11 4:15 
QuestionTimer() - anything faster? Pin
Cyclone_S12-May-11 10:47
Cyclone_S12-May-11 10:47 
AnswerRe: Timer() - anything faster? Pin
Sander Rossel12-May-11 10:57
professionalSander Rossel12-May-11 10:57 
GeneralRe: Timer() - anything faster? Pin
Cyclone_S12-May-11 13:49
Cyclone_S12-May-11 13:49 
AnswerRe: Timer() - anything faster? Pin
Luc Pattyn12-May-11 14:00
sitebuilderLuc Pattyn12-May-11 14:00 
Cyclone_S wrote:
It's the only way I could get the collision working properly.

Obviously there are other ways. Here are a few ideas:
1. you don't need to draw anything to detect collisions, you could do it mathematically. That is modelling rather than animation. The model would generate the exact time and location of the collisions, animation would only be used to show the required frames.
2. even when collision detection is based on actual frames, you don't need to do it in real-time, you could calculate a number of new frames ahead of time (at the expense of more memory), and only show some of them, at the right pace.

Either way, you may choose to use floating-point for extra accuracy while calculating, and turn the relevant data into integers when calculating the actual frames.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerRe: Timer() - anything faster? Pin
Sander Rossel12-May-11 20:22
professionalSander Rossel12-May-11 20:22 
AnswerRe: Timer() - anything faster? Pin
Dave Doknjas12-May-11 12:00
Dave Doknjas12-May-11 12:00 
AnswerRe: Plugging shamelessly Pin
Luc Pattyn12-May-11 12:50
sitebuilderLuc Pattyn12-May-11 12:50 
AnswerRe: Timer() - anything faster? Pin
LiangGuangLin3-Jul-11 18:50
LiangGuangLin3-Jul-11 18:50 
QuestionStrange: CreateWindow fails, but it doesn't Pin
Foothill12-May-11 8:13
professionalFoothill12-May-11 8:13 
AnswerRe: Strange: CreateWindow fails, but it doesn't Pin
John Schroedl12-May-11 11:02
professionalJohn Schroedl12-May-11 11:02 
GeneralRe: Strange: CreateWindow fails, but it doesn't Pin
Foothill12-May-11 11:30
professionalFoothill12-May-11 11:30 
QuestionHow to read data from COMPORT Pin
bqhoang10-May-11 16:46
bqhoang10-May-11 16:46 
AnswerRe: How to read data from COMPORT Pin
Luc Pattyn10-May-11 16:56
sitebuilderLuc Pattyn10-May-11 16:56 
AnswerRe: How to read data from COMPORT Pin
LiangGuangLin3-Jul-11 19:03
LiangGuangLin3-Jul-11 19:03 
GeneralRe: How to read data from COMPORT Pin
bqhoang3-Jul-11 19:46
bqhoang3-Jul-11 19:46 
Questiondecoration of Identifiers Pin
Bram van Kampen7-May-11 14:41
Bram van Kampen7-May-11 14:41 
AnswerRe: decoration of Identifiers Pin
Luc Pattyn7-May-11 15:06
sitebuilderLuc Pattyn7-May-11 15:06 
GeneralRe: decoration of Identifiers Pin
Bram van Kampen8-May-11 5:55
Bram van Kampen8-May-11 5:55 
GeneralRe: decoration of Identifiers Pin
Luc Pattyn8-May-11 6:01
sitebuilderLuc Pattyn8-May-11 6:01 
QuestionCreation of a Word 2007 document using the Open XML Format SDK using C++/CLI Pin
AthreyaRaghu4-May-11 2:11
AthreyaRaghu4-May-11 2:11 
AnswerRe: Creation of a Word 2007 document using the Open XML Format SDK using C++/CLI Pin
jschell4-May-11 8:45
jschell4-May-11 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.