[progress Communities] [progress Openedge Abl] Forum Post: Re: Windows Api - Browse For Folder

  • Thread starter Thread starter Frank Meulblok
  • Start date Start date
Status
Not open for further replies.
F

Frank Meulblok

Guest
[quote user="Jeff Ledbetter"] Out of curiousity, do you know what those changes may be? [/quote] The OS memory layout is different between 32-bit and 64-bit, and any data you send to a dll must match that layout. Otherwise, you're effectively passing corrupt memory around and bad stuff happens. - Byte allignment rules will be different between 32-bit and 64-bit. - Pointers will be 8 bytes instead of 4, so variables holding them need to be converted to 64-bit . (That means changing your INTEGER and LONG declarations to INT64 *if running on 64-bit*. See also http://knowledgebase.progress.com/articles/Article/P104543 and http://knowledgebase.progress.com/articles/Article/000044291

Continue reading...
 
Status
Not open for further replies.
Back
Top