Click here to Skip to main content
15,916,601 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL preferred load address Pin
Simon P Stevens22-Oct-08 21:38
Simon P Stevens22-Oct-08 21:38 
GeneralRe: DLL preferred load address Pin
George_George22-Oct-08 21:48
George_George22-Oct-08 21:48 
GeneralRe: DLL preferred load address Pin
Iain Clarke, Warrior Programmer22-Oct-08 21:41
Iain Clarke, Warrior Programmer22-Oct-08 21:41 
GeneralRe: DLL preferred load address Pin
George_George22-Oct-08 21:48
George_George22-Oct-08 21:48 
AnswerRe: DLL preferred load address Pin
anminxin22-Oct-08 5:40
anminxin22-Oct-08 5:40 
GeneralRe: DLL preferred load address Pin
George_George22-Oct-08 15:31
George_George22-Oct-08 15:31 
QuestionC and x86 assembly interface problem Pin
_chew22-Oct-08 2:47
_chew22-Oct-08 2:47 
AnswerRe: C and x86 assembly interface problem Pin
James R. Twine22-Oct-08 2:59
James R. Twine22-Oct-08 2:59 
   OK - it has been a long time since I did any x86 assembly (remember int 21h, everyone? Smile | :) )...

   But presuming correct alignment, since you are passing the address of the structure, the first member of the structure (arg1) should be at that same address.  The second member (arg2) should be at Address + sizeof( arg1 ) or Address + 4, if talking about a normal Win32 build.

   Note that you should be specifying the packing of that structure, and I would suggest no padding (packing of 1) to make it easier to use the structure from assembly.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



GeneralRe: C and x86 assembly interface problem Pin
Mark Salsbery22-Oct-08 5:33
Mark Salsbery22-Oct-08 5:33 
GeneralRe: C and x86 assembly interface problem Pin
_chew22-Oct-08 13:26
_chew22-Oct-08 13:26 
GeneralRe: C and x86 assembly interface problem Pin
James R. Twine23-Oct-08 0:28
James R. Twine23-Oct-08 0:28 
QuestionHow to open a file and write some data into it ? Pin
kapardhi22-Oct-08 2:44
kapardhi22-Oct-08 2:44 
AnswerRe: How to open a file and write some data into it ? Pin
_AnsHUMAN_ 22-Oct-08 2:49
_AnsHUMAN_ 22-Oct-08 2:49 
AnswerRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 2:51
mveCPallini22-Oct-08 2:51 
QuestionRe: How to open a file and write some data into it ? Pin
David Crow22-Oct-08 3:14
David Crow22-Oct-08 3:14 
AnswerRe: How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 3:25
kapardhi22-Oct-08 3:25 
QuestionRe: How to open a file and write some data into it ? Pin
David Crow22-Oct-08 3:26
David Crow22-Oct-08 3:26 
AnswerRe: How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 3:27
kapardhi22-Oct-08 3:27 
QuestionRe: How to open a file and write some data into it ? Pin
David Crow22-Oct-08 3:30
David Crow22-Oct-08 3:30 
AnswerRe: How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 3:34
kapardhi22-Oct-08 3:34 
GeneralRe: How to open a file and write some data into it ? Pin
David Crow22-Oct-08 3:47
David Crow22-Oct-08 3:47 
GeneralRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 3:34
mveCPallini22-Oct-08 3:34 
GeneralRe: How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 3:36
kapardhi22-Oct-08 3:36 
QuestionRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 3:37
mveCPallini22-Oct-08 3:37 
AnswerRe: How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 3:40
kapardhi22-Oct-08 3:40 

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.