Click here to Skip to main content
15,924,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralClickety Police Pin
John M. Drescher13-Jul-03 15:57
John M. Drescher13-Jul-03 15:57 
GeneralA simple C solution Pin
eggie513-Jul-03 14:49
eggie513-Jul-03 14:49 
GeneralRe: A simple C solution Pin
Chris Losinger13-Jul-03 16:42
professionalChris Losinger13-Jul-03 16:42 
GeneralRe: A simple C solution Pin
Nick Parker13-Jul-03 19:15
protectorNick Parker13-Jul-03 19:15 
GeneralRe: A simple C solution Pin
Joe Woodbury14-Jul-03 9:07
professionalJoe Woodbury14-Jul-03 9:07 
GeneralWininet and php scripts Pin
georgiek5013-Jul-03 13:03
georgiek5013-Jul-03 13:03 
GeneralProblem with AnimatePalette Pin
BillA13-Jul-03 11:44
BillA13-Jul-03 11:44 
GeneralAlignment Pin
gregs13-Jul-03 9:18
gregs13-Jul-03 9:18 
I have been aligning(16 byte) certain data types to allow me to use SSE commands on them, and have no problems apart from when I create instances of them on the stack, where I get a runtime exception in debug mode, complaining about the stack being corrupted when I leave the function that uses it, ie

void SomeProc()<br />
{<br />
  Vector vec;  // the aligned type<br />
<br />
  // ..  do stuff with vector ..<br />
<br />
} // <- stack corrupted


so I'm having to do

void SomeProc()<br />
{<br />
  Vector *vec=new Vector;  // the aligned type<br />
<br />
  // ..  do stuff with vector ..<br />
<br />
  delete vec;<br />
<br />
} // okay


which is time consuming. I have implemented ways to speed it up, but I would like to know if there's a simpler way.

Thanks,
G
GeneralRe: Alignment Pin
Joaquín M López Muñoz13-Jul-03 11:47
Joaquín M López Muñoz13-Jul-03 11:47 
GeneralRe: Alignment Pin
gregs13-Jul-03 12:31
gregs13-Jul-03 12:31 
GeneralRe: Alignment Pin
Joaquín M López Muñoz14-Jul-03 10:07
Joaquín M López Muñoz14-Jul-03 10:07 
GeneralRe: Alignment Pin
gregs14-Jul-03 10:32
gregs14-Jul-03 10:32 
GeneralWeb cam help Pin
just_Albert13-Jul-03 8:59
sussjust_Albert13-Jul-03 8:59 
GeneralRe: Web cam help Pin
Ted Ferenc13-Jul-03 9:31
Ted Ferenc13-Jul-03 9:31 
QuestionStore SYSTEMTIME in registry - how? Pin
Anonymous13-Jul-03 8:48
Anonymous13-Jul-03 8:48 
AnswerRe: Store SYSTEMTIME in registry - how? Pin
User 665813-Jul-03 8:55
User 665813-Jul-03 8:55 
GeneralRe: Store SYSTEMTIME in registry - how? Pin
Anonymous13-Jul-03 10:28
Anonymous13-Jul-03 10:28 
GeneralRe: Store SYSTEMTIME in registry - how? Pin
User 665813-Jul-03 11:11
User 665813-Jul-03 11:11 
AnswerRe: Store SYSTEMTIME in registry - how? Pin
Toni7813-Jul-03 10:57
Toni7813-Jul-03 10:57 
AnswerRe: Store SYSTEMTIME in registry - how? Pin
PJ Arends13-Jul-03 13:59
professionalPJ Arends13-Jul-03 13:59 
GeneralRe: Store SYSTEMTIME in registry - how? Pin
Anonymous14-Jul-03 5:12
Anonymous14-Jul-03 5:12 
GeneralRe: Store SYSTEMTIME in registry - how? Pin
Toni7814-Jul-03 20:09
Toni7814-Jul-03 20:09 
Generaladding a color list box in a dialog MFC Pin
mcguile25713-Jul-03 7:31
mcguile25713-Jul-03 7:31 
GeneralRe: adding a color list box in a dialog MFC Pin
adamUK13-Jul-03 11:43
adamUK13-Jul-03 11:43 
GeneralCDC::DrawText() vs TextOur() Pin
adamUK13-Jul-03 7:02
adamUK13-Jul-03 7:02 

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.