E.g. "mystructASM _MY_STRUCT <>" is defined in ASM. I tried using the structure object "mystructASM" in C file using the EXTERN keyword but wasn't able to use its members. Similar way when I try to do the same thing from C file to ASM, the same problem occurs. But in case of normal integer and character variables I am able to use those using EXTERN keyword
Posted on 2011-09-21 10:43:04 by vaskar_paul
E.g. "mystructASM _MY_STRUCT <>" is defined in ASM. I tried using the structure object "mystructASM" in C file using the EXTERN keyword but wasn't able to use its members. Similar way when I try to do the same thing from C file to ASM, the same problem occurs. But in case of normal integer and character variables I am able to use those using EXTERN keyword. Please suggest. I am using MASM 64-bit

Posted on 2011-09-21 10:51:25 by vaskar_paul
Merged 2nd post from Windows subforum category.  Please do not spam forums with same post.
Posted on 2011-09-21 16:38:57 by p1ranha
make the symbol public with the "public" keyword.

public mystructASM
Posted on 2011-09-21 22:11:10 by drizz