Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass parameter by reference.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hai All,

I am geting the following error when i pass a parameter (as refernce) to one external function as follows

[c0174 Type of actual parameter cannot be ancestor of formal reference parameter type]
Can any one Help me to solve this ?

Thanks In Advance

Philip


 
hai All
Thank God I have solved this problem!!!!
The problem was due to the following reason
I had two stuctures with same name (one was local and other was global)I was calling the function from the local module that has a structure definition.I removed the local structure definition and the no error Now


Thanks

Philip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top