PIC24/33 DHCP Can't get DHCP_ACK

I used PIC24 devices with Firewing Basic compiler converting the original source and runs both DHCP and DNS perfectly ([url]http://www.firewing.info/pmwiki.php?n=FirewingUser.W5500[/url]).
I’ll point out one thing that can happen as I wrote previously in this forum… [url]Problems while compiling dhcp.c file] 16/32 bit compiler optimize the structures and in some cases mixing different types sent frame does not respect the original fields position and adds some compensation bytes.
I solved it by sending the different fields of the structure individually however there are some directive in compiler to prevent this.