Wednesday, 29 September 2010

When writing external programs that hook into JDE DLLs remember…

In Microsoft visual studio 2005 you need to go into the project options to change the “Struct Member Alignment” to be 1 byte when using the fat client.  They use a more liberal 4 bytes when compiling the server code.  This puts a /Zp1 or /Zp4 in the linking command line.

image

If you don’t do this, when you look at your variables in the viewer, they’ll be missing some chars at the front.

No comments:

Extending JDE to generative AI