|
Can anyone tell me what is the main purpose of Dll? As we can get the data from Dll, can we put the data in Dll? I am not talking about code, talking about single Dll. If you know about Dll then please share your knowledge..
http://nnhamane.googlepages.com/
|
|
|
|
|
|
Dll is nothing but a reusable code.. its a dead thing it need to invoke from some where ..
by it self DLL cant do anything.
dll can be in any language that supports Pointer Functionality.
Dll is used to process the data
Dll is used to apply Business logic
Dll can be called from any place.
can you please specify what exactly you are looking here in some specific manner???
vikas da
|
|
|
|
|
Nilesh Hamane wrote: Can anyone tell me what is the main purpose of Dll?
Consider you know some function that can be helpful to other programmers and, they are ready to pay you for it, so how would you prefer to give it? you can give your source code, os a better option would be to compile your code as a dll and then sell, because the dll after compilation gets converted to machine code.
Nilesh Hamane wrote: As we can get the data from Dll, can we put the data in Dll?
This is not the purpose of dlls, you should use files or databases for storing your application data.
-Suhredayan
|
|
|
|
|
Hile All
How can i delete shortcut file form desktop?Plz help me
|
|
|
|
|
what is the problem in that? select the file and use shift+ delete button
|
|
|
|
|
Thanks for reply dude..
I want to delete through code.
|
|
|
|
|
Can you not delete it the same way you'd delete any other file? (DeleteFile)
If you're struggling to find the desktop, you can use SHGetFolderPath with CSIDL_DESKTOPDIRECTORY.
Iain.
|
|
|
|
|
i am not struggling to find desktop path,problem is delete shortcut file.So plz give me tips to do that.
Thanks for reply
|
|
|
|
|
Read the first bit of my post. I repeat: "What is wrong with DeleteFile" ?
CString s = szPathDesktop;
s += _T("\\myshortcut.lnk");
if (!DeleteFile (s))
{
dw = GetLastError ();
}
Iain.
|
|
|
|
|
Hi all,
I am facing one problem with my application.
I am using "hnwse.cur" by adding it into resource
code is like
HCURSOR hDragCur = (HCURSOR)LoadImage(_AtlBaseModule.m_hInst, (LPCWSTR)MAKEINTRESOURCE(IDC_HAND_CURSOR),IMAGE_CURSOR, 28, 28, LR_DEFAULTCOLOR);
if(hDragCur)
SetCursor(hDragCur);
This is working fine in Xp but in vista it is showing black hand cursor.
Can any buddy please help me to resolve this problem.
|
|
|
|
|
I wnat to know how can i create a series of edit boxes dynamically.
for exampe in a dialog box there is an edit box and a button. i type in 5 in the edit box and enter the button,
once i click on the button 5 edit box should be created dynamically.. is it possible to do it?
|
|
|
|
|
Yes, take a look at CEdit::Create[^] (BTW, all windows can be created this way).
|
|
|
|
|
Mission Accomplished
Thanks
|
|
|
|
|
Hello,
I need to work with DNS primary lookup zone, rigth now I'm doing it by calling shell, anyone knows which dll should I use to add/remove records?
Thanks in advance
Paolo
|
|
|
|
|
You can use the IP Helper API[^] to add/remove DNS lookup zones. I believe there are some samples of its usage here on codeproject.
Best Wishes,
-David Delaune
|
|
|
|
|
Hiii dear all,
How to compair two GUIds apart from making them const string and then perform strcmp.
Thank you
vikas da
|
|
|
|
|
I would recommend using memcmp()[^]
memcmp(&guidOld, &guid, sizeof(GUID));
Best Wishes,
-David Delaune
|
|
|
|
|
You can also use the == operator on two GUIDs since VC++ has
a built-in overload for comparing GUIDs.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
And he could also use IsEqualGUID [^]. So many choices, whats a software engineer to do? Read the documentation maybe?
-David Delaune
|
|
|
|
|
Randor wrote: Read the documentation maybe?
Maybe
Randor wrote: And he could also use IsEqualGUID [^].
It looks like that's what the compiled == code calls, which eventually uses memcmp().
Wow...so many choices! Heh
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks alot..initially i was having only one choice now i have many ...
Thanks alot...
vikas da
|
|
|
|
|
I have create a rich edit control and use the EM_SETZOOM message to scale the text in the control.
code :
1, #define _RICHED_VER 0x0300
2, Create the rich edit control, the handle of the control is m_RichCtrl;
3, SendMessage(m_RichCtrl,EM_SETZOOM,2,10);
but it seems that the EM_SETZOOM message doesn't take effect,why?
|
|
|
|
|
Hi,
I am working on an mfc application in which there is a chat module.
My CRichEditCtrl is able to display chinese, arabic, hindi and several other languages.
But it is not possible to display languages such as Urdu, Bengali, Gujrati Tamil etc.
What can be the possible reason.
Thanks In Advance
Dhiraj
|
|
|
|
|
Are you missing fonts for these languages?
-Saurabh
|
|
|
|