I call an Automation server in a client as following:
int n = 1;
m_serverObj.SetNum(n);
It’s ok. However, If I call if this way:
int n;
::GET_NUM(&n);
m_serverObj.SetNum(ne);
It crashes. I don’t know why? I’d appreciate if anyone could enlighten me.
TIA,
Wenfei Wu


Reply With Quote