|
Ignore both my previous comments - I think the setting actually creates a file called <projectname>.h which contains the __declspec(dllexport) declarations so that you can export from the DLL.
Darka [Xanya]
|
|
|
|
|
Darka wrote: I think the setting actually creates a file called .h which contains the __declspec(dllexport) declarations so that you can export from the DLL.
Both "Export symbols" checked and unchecked projects have the same declarations in "ProjectName.h"s.
#ifdef EXP_EXPORTS
#define EXP_API __declspec(dllexport)
#else
#define EXP_API __declspec(dllimport)
#endif
And EXP_EXPORTS is defined in the preprocessor definition setting.
Maxwell Chen
|
|
|
|
|
I am using visual studio .net 2003 and get the results I mentioned earlier, I guess it may be different in 2005 but I cannot find any information on the setting.
Darka [Xanya]
|
|
|
|
|
Hi,
I am creating a Win32 DLL, using VS.NET. I build the project and want to use functions from dll, but i am wondering where is the .lib file. the dll file is there in debug folder of project.
any pointer will be helpful
Thanks in advance
Abhishake Lahare
|
|
|
|
|
there may not be one, a dll is a dynamic library and a lib is a static library.
Darka [Xanya]
-- modified at 5:42 Wednesday 12th July, 2006
also a .lib file can be a type library for a .dll
|
|
|
|
|
1)how can we confirm that it do not generate any lib file?
2)Whether that means you cannot statically link?
Regards
Abhishake Lahare
|
|
|
|
|
|
When you create the project for a DLL, you can specify whether you want to produce the .lib file too (export symbols checkbox) but i can't remember how you modify an existing project to do this.
Darka [Xanya]
|
|
|
|
|
see Property Pages / Configuration Properties / Linker / Advanced. put the path to the file you want to create in the field labeled "Import Library" (ex. "./Debug/MyDLL.lib")
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
Can you explain this
"Difference in threads & multithreads"
Thank you
|
|
|
|
|
|
Nirmal Khatri wrote: Can you explain this "Difference in threads & multithreads"
The word "multi." They both imply more than one thread.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All,
Can someone provide a good link that relates to the designing and development of code for creating efficient user interfaces.(Only Win32)
I tried googling for the same without any satisfactory results.
Some good articles on codeproject or some where else.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Sometimes it difficult to define efficent. i have experienced in many cases where i have to change the efficent UI( from functional and user point of view), but customer does'nt need that UI.
I know it sound silly, but just designed what customer wants
Regards
Abhishake Lahare
|
|
|
|
|
|
Thanks Nave for Good source
Regards
Abhishake Lahare
|
|
|
|
|
|
|
Can you show your error i cant load your address(jpg)
whitesky
|
|
|
|
|
sure!
take it:
errer C2039:'IDD': Is not a member of 'DigStatic'
error C2065:'IDD':undeclared identifier
SnaidiS(Semion)
|
|
|
|
|
Whats DigStatic CDialog and do you incldue h file and if this isnt your answer can you show your code that has error,please
I see you include #include "Digistatic.h" in digitaldlg.h
wheres class CDigistatic(i think i had like this error already)
whitesky
|
|
|
|
|
In your .h file
you must have deleted the enum
something like this
// Dialog Data
enum { IDD = IDD_MYAPP_DIALOG };
where IDD_MYAPP_DIALOG is a dialog box template
Regards
Abhishake Lahare
|
|
|
|
|
No, I haven't deleted it here is the code:
<br />
<br />
#pragma once<br />
#include "Digistatic.h"<br />
#include "afxwin.h"<br />
<br />
class CDigitalDlg : public CDialog<br />
{<br />
public:<br />
CDigitalDlg(CWnd* pParent = NULL);
<br />
enum { IDD = IDD_DIGITAL_DIALOG };<br />
protected:<br />
virtual void DoDataExchange(CDataExchange* pDX);
<br />
<br />
protected:<br />
HICON m_hIcon;<br />
<br />
virtual BOOL OnInitDialog();<br />
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);<br />
afx_msg void OnPaint();<br />
afx_msg HCURSOR OnQueryDragIcon();<br />
DECLARE_MESSAGE_MAP()<br />
public:<br />
CDigiStatic m_LedText;<br />
};<br />
SnaidiS(Semion)
|
|
|
|
|
The error came from the "DigStatic" class not from the CDigitalDlg. Plz show the header of DigStatic class
nave
|
|
|
|
|
yes my guess is DigStatic
whitesky
|
|
|
|