|
Ordinary DLL s don't need registration. On the other hand COM DLL s (e.g. ActiveX components) need it (technically is even possible using COM DLL 's without registration, neverthless registration is by far the most common way).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Thank you so much....
Would you please help me with some examples, how can I use COM dll without registering it?
Thank you
|
|
|
|
|
|
|
Hi Experts,
I am using CMainFrame::OnClose(); function in any other function to close the application as soon as processing gets complete.
Program generating exception after closed. If I manually close the aplication Its fine.
Is this correct methos to close the application like this....
|
|
|
|
|
Closing the application from inside a function is not common way.
If you want to do this necessarily how about PostQuitMessage[^] or exit(0);
Thanks,
Suman
--
"Programming is an art that fights back!"
|
|
|
|
|
pther wrote: Is this correct methos to close the application like this....
Use PostQuitMessage!
Nibu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
|
|
|
|
|
Or pWnd->DestroyWindow ()
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
Do you want to close your program or other programs?
|
|
|
|
|
hi
Why we r using COLEDocument class in MFC what is the advantage for it?
Regards
NISHA.S
|
|
|
|
|
If your application is related to OLE then you can use COleDocument class to get Doc/View architecture support of MFC.
Take a look at here: COleDocument Class[^]
Thanks,
Suman
--
"Programming is an art that fights back!"
|
|
|
|
|
I need to change the static IP address of a machine programatically.I tried to change the IP at Registry location , HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces. But this change is taking effect only after restart of the computer. Is there any method to change IP without restart of the computer ? I tried AddIpAddress() function it shows some problem in version compatibility. I am using Visual C++ 6.0.
Proud To Be an Indian
|
|
|
|
|
Hi,
I Hope this answer give you some idea:
Change IP address[^]
Thanks,
Suman
--
"Programming is an art that fights back!"
|
|
|
|
|
|
When I try to include "iphlpapi.h" it shows some error inside visual C++, not in my program.It says some stucture inside iphlpapi.h is undefined.
Proud To Be an Indian
|
|
|
|
|
vivekphlp wrote: When I try to include "iphlpapi.h" it shows some error inside visual C++, not in my program.It says some stucture inside iphlpapi.h is undefined.
Do you have latest platform SDK installed!
Nibu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
modified on Tuesday, April 15, 2008 5:09 PM
|
|
|
|
|
Did you search on the codeproject?
|
|
|
|
|
Sorry Guys, This post was done by my bro & he is now out of station. He did searched in CP but was not successful in getting the desired result. He will be back within 2 days.
Thanks for the replies
Proud To Be an Indian
|
|
|
|
|
HI
Please guide me in streaming video over network using WMP activeX control.
Thanx in advance.
|
|
|
|
|
what do you want to do video streaming or playing streaming video
Trioum
|
|
|
|
|
to play streaming video....
|
|
|
|
|
I am trying to upload one directory to the perticular server
I have written the code as
CInternetFile *pInternetFile = 0;
pInternetFile = pFtpConnection->OpenFile(strDestFilePath, GENERIC_WRITE, FTP_TRANSFER_TYPE_BINARY,
FtpConnection->GetContext());
CFile LocalFile;
LocalFile.Open(strSrcFilePth, CFile::modeRead);
TCHAR szBuffer[256] = "";
int iRC = 0;
while((iRC = LocalFile.Read(static_cast<void *="">(szBuffer), sizeof(szBuffer))) != 0)
{
// Write to file
pInternetFile->Write(static_cast<const void="" *="">(szBuffer), iRC) ;
m_lDestFileSize = m_lDestFileSize + sizeof(szBuffer);
// Clear buffer
memset(szBuffer, 0, sizeof(szBuffer));
}
This code works for only one file and fails for second.
Please help me go this.
Thank you
|
|
|
|
|
Hi,
What error is happening and which line it is happening.
Give more specific information.
Thanks,
Suman
--
"Programming is an art that fights back!"
|
|
|
|
|
Which line has the error?
|
|
|
|
|
Hi,
I want to catch the Minimize event before the window is Minimize ( and in some cases to avoid of the Minimize action ).
How can i do it ?
Thanks for the help.
|
|
|
|