Click here to Skip to main content
15,034,986 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question_aligned_malloc Problem! Pin
bosfan19-Sep-07 0:18
Memberbosfan19-Sep-07 0:18 
AnswerRe: _aligned_malloc Problem! Pin
toxcct19-Sep-07 0:34
Membertoxcct19-Sep-07 0:34 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 0:49
Memberbosfan19-Sep-07 0:49 
GeneralRe: _aligned_malloc Problem! Pin
Matthew Faithfull19-Sep-07 1:03
MemberMatthew Faithfull19-Sep-07 1:03 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 1:08
Memberbosfan19-Sep-07 1:08 
AnswerRe: _aligned_malloc Problem! Pin
Matthew Faithfull19-Sep-07 1:31
MemberMatthew Faithfull19-Sep-07 1:31 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 3:06
Memberbosfan19-Sep-07 3:06 
AnswerRe: _aligned_malloc Problem! Pin
Randor 19-Sep-07 1:39
professional Randor 19-Sep-07 1:39 
To use _aligned_malloc() with Visual Studio 6 you will need to download and install the Microsoft Platform SDK.

http://www.microsoft.com/downloads/details.aspx?familyid=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB[^]

Side Note: The aligned memory allocation functions are generally used for optimizing memory for MMX/SSE/SSE2 instruction usage. Although the standard size of a register is 32 bits (on 32 bit processors), not all registers are 32 bit sized. MMX registers are 64 bits wide and SSE registers are 128 bits wide. When moving, modifying or copying memory the operations are much faster when the data in memory is aligned on these boundries. Hope this helps.

Best Wishes,

-Randor (David Delaune)
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 3:09
Memberbosfan19-Sep-07 3:09 
QuestionTab Control Related problem Pin
Y_Kaushik18-Sep-07 23:55
MemberY_Kaushik18-Sep-07 23:55 
AnswerRe: Tab Control Related problem Pin
nbugalia19-Sep-07 0:20
Membernbugalia19-Sep-07 0:20 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 0:47
MemberY_Kaushik19-Sep-07 0:47 
GeneralRe: Tab Control Related problem Pin
nbugalia19-Sep-07 1:01
Membernbugalia19-Sep-07 1:01 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 1:07
MemberY_Kaushik19-Sep-07 1:07 
QuestionRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:50
MemberDavid Crow19-Sep-07 2:50 
AnswerRe: Tab Control Related problem Pin
Nelek19-Sep-07 2:41
protectorNelek19-Sep-07 2:41 
AnswerRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:57
MemberDavid Crow19-Sep-07 2:57 
Questiondon't understand MSDN explanations. Can someone explain this? Pin
Nelek18-Sep-07 23:23
protectorNelek18-Sep-07 23:23 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
toxcct18-Sep-07 23:35
Membertoxcct18-Sep-07 23:35 
GeneralDidn't explain myself good Pin
Nelek19-Sep-07 0:35
protectorNelek19-Sep-07 0:35 
GeneralRe: Didn't explain myself good Pin
toxcct19-Sep-07 1:49
Membertoxcct19-Sep-07 1:49 
GeneralRe: Didn't explain myself good Pin
Nelek19-Sep-07 2:08
protectorNelek19-Sep-07 2:08 
QuestionRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow19-Sep-07 3:04
MemberDavid Crow19-Sep-07 3:04 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek19-Sep-07 20:28
protectorNelek19-Sep-07 20:28 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 2:42
MemberDavid Crow20-Sep-07 2:42 

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.