|
It looks ok.
I feel , you are missing something very simple. Just last try, make sure, you rebuild you dll with added functions. make sure you copy updated .lib and .dll in correct folder.
|
|
|
|
|
Thank you for the help Prasad, someone else gave me the same answer on the MSDN forum and I got it working.
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
cheers !
|
|
|
|
|
hi,
Since i am new to vc++ i want to know the entire procedures for using a tab control and progress bar in a dialog box.Starting from the initiallizing state till the working of progress bar and tab control using activex control in MFC.
I saw MSDN for reference but i dont know how to proceed with it.
Plz help me out,its v.urgent
Thanx in Advance,
zari
|
|
|
|
|
|
In a MFC active x control application , I have created a dialog box and placed a tab control in that now how to proceed???????????
zari
|
|
|
|
|
|
Hi Friends,
Following error is troubling me from last couple of days, I am looking for some help from the group
I am doing following steps:
1. Adding a dialog box with ID=IDD_DLG_ORG_IMAGE in the SDI application
2. Adding class using class wizard with class name ‘COrgImgDlg’ derived from ‘CDialog’ for the above created dialog
3. After Compiling a code I am getting following error
--------------------Configuration: IP - Win32 Debug--------------------
Compiling...
MyTabCtrl.cpp
e:\dinesh\ip\orgimgdlg.h(23) : error C2065: 'IDD_DLG_ORG_IMAGE' : undeclared identifier
e:\dinesh\ip\orgimgdlg.h(23) : error C2057: expected constant expression
Error executing cl.exe.
IP.exe - 2 error(s), 0 warning(s)
Following is the part of the orgimgdlg.h file where I am getting error
class COrgImgDlg : public CDialog
{
// Construction
public:
COrgImgDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(COrgImgDlg)
enum { IDD = IDD_DLG_ORG_IMAGE };
// CMyTabCtrl m_ImageTabs;
//}}AFX_DATA
Please help me out I am not understating why this error is occurring in the same header file of the dialog.
Thanks and Regards,
-Dinesh
|
|
|
|
|
Check whether, dilaog you wnat to base class upon is having id IDD_DLG_ORG_IMAGE .
And resource.h is included appropriately .
|
|
|
|
|
Did you include Resource.h
|
|
|
|
|
What #include directives do you have at the top of orgimgdlg.cpp and orgimgdlg.h ?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I am trying to do this steps but i am not able to see the "new ATL object in my project,can anybody help me what went wrong.....
Insert > New ATL Object > Data Access > Consumer. It will ask you for a data source, select the data source which you have made with ODBC.
from the source http://www.codeproject.com/database/YulOLEDBdatabase.asp[^]
|
|
|
|
|
abrakadbra wrote: I am trying to do this steps but i am not able to see the "new ATL object in my project
What you want to say. There is no menu "New ATL object". Which version of VS you are using ?
|
|
|
|
|
vc6 and that is not present there
|
|
|
|
|
Maybe you need to ATL OLE DB Consumer Wizard
|
|
|
|
|
|
|
sorry to ask you silly question but how to get this wizard....can you pls help me in simple words
|
|
|
|
|
You dont need to say sorry
Right click on project in solution window and select Add Class>then select ALT OLEDC Consumer
|
|
|
|
|
Do your problem solve?
|
|
|
|
|
no still it is there..do i need to start my project with ATL wizard then only i can get the atl wizrad and class ..i am still confuse for this...pls help me..vc++ is all new to me..
|
|
|
|
|
I guess your problem was on that option but if you have problem you can ask from author that article
|
|
|
|
|
thanks i will try that way.
|
|
|
|
|
|
I got error,
compiler limit : internal heap limit reached; use /Zm to specify a higher limit
I looked in msdn ididn't under wehere the /Zm Value to be set?
Plz Help me
|
|
|
|