The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: xandaz on December 14, 2010, 11:58:37 AM

Title: RT_RCDATA isnt DWORD Aligned????
Post by: xandaz on December 14, 2010, 11:58:37 AM
    hey. i was using and rcdata resource with tbbutton structs but it errors on me when i add the buttons. I loaded the resource with a resource editor but it doesnt seem to be dword aligned. does anyone know how to do this? Thanks and bye
Title: Re: RT_RCDATA isnt DWORD Aligned????
Post by: jj2007 on December 14, 2010, 12:26:14 PM
http://www.masm32.com/board/index.php?topic=6141.msg45710#msg45710
Title: Re: RT_RCDATA isnt DWORD Aligned????
Post by: xandaz on December 14, 2010, 12:27:45 PM
   thanks jj. bye
Title: Re: RT_RCDATA isnt DWORD Aligned????
Post by: xandaz on December 14, 2010, 12:34:25 PM
    It wasn't that much helpful because i'm dumd as mule. The array that i declared in rsrc.rc is word aligned and i need it to be dword aligned. Is there a way to do it in resource editor using the actual TBBUTTON structure? maybe including it in resource.H? help me out will you?
Title: Re: RT_RCDATA isnt DWORD Aligned????
Post by: xandaz on December 14, 2010, 02:36:25 PM
   it seems its worthless one must use two integers seperated by a comma to reffer a dword.
http://www.xlsoft.com/jp/products/intel/cvf/docs/vf-html_e/rterr/rtrsrcw.htm

Bye bye