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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AFX_VBX error

Status
Not open for further replies.

232323

Programmer
May 14, 2001
10
CA
Need help this is part of my code:

//{{AFX_VBX_REGISTER_MAP()
UINT NEAR VBN_CLICK = AfxRegisterVBEvent("CLICK");
//}}AFX_VBX_REGISTER_MAP

when I compile it however i get the following error:

error C2065: 'AfxRegisterVBEvent' : undeclared identifier


any ideas would be IMMENSELY appreciated.
thank you!!!
 
//{{AFX_VBX_REGISTER_MAP()

I have never seen this and cant find any documentation on it. Where did you find this?

Concidering it is not choking on this line but the line after it must be defined. With that in mind, try
AfxRegisterVBEvent(CString clk = "CLICK"); I assume the funciton AfxRegisterVBEvent has been defined.


I am just shooting from the hip here. I have never seen this before and I am just making an assumption.

Matt

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top