Click to See Complete Forum and Search --> : Marshalling Problem


wwu
April 19th, 1999, 04:01 PM
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