"Peter Hunnisett" peter@transgaming.com writes:
gdwDPlaySPRefCount is an exported ordinal variable might as well declare it as such.
Note that this creates a copy of the variable, so you can no longer reference it from the C code. I'm not sure this is what you meant to do.
On 21 Feb 2002 13:01:55 -0800, Alexandre Julliard said:
"Peter Hunnisett" peter@transgaming.com writes:
gdwDPlaySPRefCount is an exported ordinal variable might as well declare it as such.
Note that this creates a copy of the variable, so you can no longer reference it from the C code. I'm not sure this is what you meant to do.
Ooops. No. That's not what I had intended; they should be one and the same. I assume that I should be able to do a GetProcAddress on it then in order to be able to use the variable value internally? Or will that not work?
-- Alexandre Julliard julliard@winehq.com
Thanks, Peter
"Peter Hunnisett" peter@transgaming.com writes:
Ooops. No. That's not what I had intended; they should be one and the same. I assume that I should be able to do a GetProcAddress on it then in order to be able to use the variable value internally? Or will that not work?
You could do that, but using 'extern' as it is done now should work just as well. Why do you need to change it?