Thanks guys for response. I tried depends and added the necessary dll for that and GetLastError too. And according to that The operation was successful.
PrafullaShirke27
Posts
-
Problem loading dll compiled in VS2005 on exe VS06 -
Problem loading dll compiled in VS2005 on exe VS06Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?
-
Is it safe to load dll compiled in Visual studio 2005 into application compiled in the Visual studio 6?Is it safe to load dll compiled in Visual studio 2005 into application compiled in the Visual studio 6?
-
Sub menu Item Check and uncheck in Win 32MENUITEMINFO info;
info.cbSize = sizeof (MENUITEMINFO); // must fill up this field
info.fMask = MIIM_STATE; // get the state of the menu item
VERIFY(submenu->GetMenuItemInfo(ID_HELP_TEST, &info));
if( info.fState == MF_CHECKED))
//
else
//This code will help.
-
how to register OCX on the 64 bit vista machineHi Guys, I have 32-bit ocx which i am trying to register using regsvr32 command on 64-bit vista operating system. I am getting the message that registration is successful but later when i am launching my application , exe fails to load the OCX. Can anybody knows how to solve this problem?
-
How touse OpenDocumentFile from MFC-dll?This call is not from MainThread.
-
How to Get Autocad drawing property.You can either use ObjectARx or VBA for getting the entities property.
-
How touse OpenDocumentFile from MFC-dll?.
BOOL CMDIChildWnd::Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CMDIFrameWnd* pParentWnd,
CCreateContext* pContext)
{
if (pParentWnd == NULL)
{
CWinThread *pThread = AfxGetThread();
ASSERT(pThread);
CWnd* pMainWnd = pThread->m_pMainWnd;
ASSERT(pMainWnd != NULL);//I am getting Assert at this position.
ASSERT_KINDOF(CMDIFrameWnd, pMainWnd);
pParentWnd = (CMDIFrameWnd*)pMainWnd;
} -
How touse OpenDocumentFile from MFC-dll?I want to open a document from the MFC dll. I am using the below function.
AfxGetApp()->OpenDocumentFile(szlstfile.GetBuffer(0));
; It is giving the assert message But its neither opening the File main application . szlstfile is the CString object holding the path of filename. Anybody has idea how to open a Document from any MFC dll .
-
Memory allocation problem !!!What is OP post?
-
Memory allocation problem !!!char **argv = NULL;
argv = (char**)malloc(3*sizeof(char*));
//argv[0] = argv1[0];
argv[1] = (char*)malloc((20)*sizeof(char));
argv[1] = "D:\\Input.jpg";
::MessageBox(0,(LPCTSTR)argv[1],(LPCTSTR)"test" ,0); -
Memory allocation problem !!!char **argv = NULL;
argv = (char**)malloc(3*sizeof(char*));
argv[1] = (char*)malloc((20)*sizeof(char));
argv[1] = "D:\\Input.jpg";
cout<Its working guy.
-
Making an Application Hang.You want to construct or Destruct the application ? :-D
-
Change background color of combo box's dropdown list.Using colors in CEdit and CStatic[^] This article will help you to understand how to create the custom control according to requirement. After understanding those start working on your combo box.
-
combobox in msflexgrid cellOnClick Event on cell you should Get the Cell Client Rectangle Create your Dynamic Combo box by passing the ClientRect Delete the combo box once you finish.
modified on Tuesday, November 3, 2009 7:03 AM
-
Change background color of combo box's dropdown list.1.Derive the Combo box class 2.Overide the WM_CREATE message i.e CBS_OWNERDRAWFIXED in Create function 3. Handel the DrawItem function of Combobox Here a. Fill the Item's rectabgle with the color you wanted to show as background b. Then drawtext on top of it. I think this much clue is sufficient.
-
create smooth linehttp://www.ibiblio.org/e-notes/Splines/Bezier.htm[^] Please go through this articles.You will get the answer to your question.