Hi, I have made a DLL in Visual C++, and have been using it in Visual Basic. Now after several updations of my DLL when i try to add the reference of my DLL again it gives a error box "Can't add a reference to the specified file". Now can any one please help me wut can be the problem. I have created the DLL in Visual C++ using the MFC App Wizard (dll), and the strange thing is that once it was running ok but now it doesnt.. any clues? or further readings suggested? Siddique Ahmed Senior Software Engineer Telelogix Software (www.telelogix.com)
Sid_smily
Posts
-
Error Loading DLL -
Sending Events from a DLLHi all, I dont know a lot about COM or DLLs but i am developing a DLL and want to get some thing done. I am developing a DLL in Visual C++, which i eventally want to use in VB.. :doh: I want the VB application to know of some events occuring in a DLL. For example progress of a function in DLL being sent back to the application for showing log or progress bar or anything like that. Can any one tell me how to do it.. any starting points, any clues would be great as well:-D Kind Regards Siddique Ahmed Senior Software Engineer Telelogix Software (www.telelogix.com)
-
PostMessage() problemsHi, i have inherited a class from CEdit, and want to send my application a user defined message from this class. i have used PostMessage function for that reason from my class's LBUTTONDOWN message. The message is captured by my window (a dialog box that has an edit box linked by a variable of my class) and works well while i work in Debug configuration, but causes an unhandled exception in Release Configuration:confused:. I would be obliged if any one can help me.. -------- THE CODE SAMPLE: -------- Dev. Platform : VC++ 6.0 OS: Windows 2000 Professional //class definition class CMyClass : public CEdit { ... } Void CMyClass::OnLButtonDown(UINT nFlags, CPoint point) { // my code... .... CEdit::OnLButtonDown(nFlags, point); //m_hParWnd is the handle of parent dialog claas ::PostMessage(m_hParWnd, TOGGLE, 0, 0); } /*My applications main dialog with a member variable of CMyClass associated with an edit box*/ .. ON_MESSAGE(TOGGLE, OnToggle) ... CMyAppDlg::OnToggle() { .... } Kind Regards Siddique Ahmed Senior Software Engineer Telelogix Software (www.telelogix.com)