This method is avaialble inVB.NET.But I wnat to use in vb6.Kindly support me for vb6 programme
lavate malllik
Posts
-
How to check the double vaue is "1.#QNAN"? -
How to check the double vaue is "1.#QNAN"?How to check the double vaue is "1.#QNAN" in VB 6?
-
Graph Plot : Crystal Report--->C#Can anyone give me a link\TUTORIAL where i can able to draw the graph in a C# CRYSTAL RPORT.? Thanks in advance..
-
Global OLE instance pointers - Termination hangsI need a help regarding OLE objects instantiaton and termination. I have a trial application which uses a dll which uses global instances of OLE pointers of an application as given below FMApplication *fmApp = NULL; FMCase *fmCase = NULL; CoInitialize is called during DLL_PROCESS_ATTACH and the above OLE objects are instantiated henceforth. However, on exit of the application, the process hangs saying issue with OLE pointers. I tried releasing OLE instance in DLL_PROCESS_DETACH. Somehow OLE instances could not release and hangs there. I have ensured CoUninitialize is not called anywhere before OLE instance Release. fmApp->Release(); //Fails here fmApp = NULL; fmCase->Release(); fmCase = NULL;
-
Link error with C++ code with Intel fortran code.I had installed the Intel fortran in my PC. I had created the Test.F90 (fortran code) SUBROUTINE GetNum (num, unit) REAL*8 num,unit unit = num+10 RETURN END I had created the c++ code in Microsft Visual studio 2005. #include<iostream> using namespace std; extern "C" { __declspec(dllimport) void _stdcall GetNum(double&,double&); } void main() { cout << "Hi MalliKARJUN" << endl; double a,b; a=10.0; b=0.0; GetNum(a,b); } I had added the fortan dependencis project with the above c++ project . Above c++ project compile successfullly but it gives following errro while we build the code error LNK2019: unresolved external symbol __imp__GetNum@8 referenced in function _main Kindly help me out to resolve this issue
-
Create function is not working in release mode but working in debug modeWe are having an application which is interacting with the static library(Default library) and in turn this will interact with the DLL. This is written on the application side ***************************************** CNodeView *node_view = NULL; node_view = m_default_mgr->GetGUI(node); (the call goes to if (NULL == m_pMainVseqEditor) return; if (!IsWindow(node_view->m_hWnd)) { CRect rectView = CRect(0,0,700,500); // create the window if(NULL == ((CWnd*)node_view)->Create(NULL, NULL, WS_CHILD | WS_VISIBLE, rectView , m_pMainVseqEditor, 14567)) The create function will work fine in debug mode but in release mode this return NULL. Let me know how to resolve this issue in relesse mode. Is there any specific project settings are there?
-
Using Static Lib For Creating the MFC ControlsHi, I have created the Win32 Static Library which has MFC Support and Using Precompiled Header (This LIB has been created by selecting Win32 Static Library from MFC Project Option ) I have added one class to library which is derived from CWnd, In Derived Class i have overriden the Create()method to create the window. At Application side I have MFC SDI application which has multiple splitters where each pane of splitter corrsoponds to one class. One of the class wants to create the window using the LIB that i have created. when i give call to the Create from application side it is giving assertion on ASSERT(afxCurrentInstanceHandle != NULL) To Test LIB,i have tried for following things I have created the TestApp using MFC SDI and while generating the Application CTestView is derived from the CFormView. here call to Create of LIB is working fine.
-
Using Static Lib For Creating the MFC ControlsHi, I have created a LIB using Win32 Static Library in which i have overriden the CWnd ::Create method. when i use this LIB in MFC application to create the Window its giving ASSERSETION due to parent window handle is becoming NULL.
-
Add menu in ChilFrame.Iam having a MDI application. I have two queris. 1. How to add the menu in childframe 2. For different child how i can add the different menu. Thanks in davance. Regards Lavate Mallikarjun Avanna
-
How to load resource of static librray from exe.?how to invoke the dilaog from exe ? This dialog is created in static library. mallikarjun
-
Resource File :Static LibraryHow to include the resource file in Static lib? How to invoke the dialog which is created in above static lib from Application(exe)? Regards Mallikarjun
-
How to change the text color of selected node in Tree.thanks for ur reply. I want that when user select any node and try to drag and drop at that time the selected node's text color should be changed. let me know how to resolve this issue.
-
How to change the text color of selected node in Tree.How to change the text color of selected node in Tree? lavatema
-
The instruction at 0x00427289 referenced memory at 0x7ffdf000. The memory could not be read.Why does program work in debug mode, but fail in release mode? A: First of all, there is no such thing as 'debug mode' or 'release mode'. The VC++ IDE offers the possibility to define configurations which include a set of project settings (like compiler / linker options, output directories etc.) When a project is created using AppWizard, you get two default configurations: "Win32 Debug" and "Win32 Release". These are just convenient starter configurations with several preset options which are suitable for typical debug builds or release builds respectively, but you are by no means restricted to those settings. Actually, you can modify those configurations, delete them, or create new ones. Now let's see what the two default configurations typically include and what distinguishes them: Win32 Debug: Subdirectory 'Debug' used for temporary and output files Preprocessor symbol _DEBUG defined Debug version of the runtime libraries is used All compiler optimizations turned off Generate debug info Win32 Release: Subdirectory 'Release' used for temporary and output files Preprocessor symbol NDEBUG defined Release version of the runtime libraries is used Various compiler optimizations turned on Generate no debug info There are a few other differences, but these are the most important ones. Now, what's the first implication of all this? That, as opposed to a common misunderstanding, you can debug a release build. Just go to 'Project -> Settings', choose the Win32 Release configuration, tab 'C/C++', 'General' and set 'Debug Info' to 'Program Database'. Then go to the tab 'Linker', and turn on 'Generate Debug Info'. If you rebuild your project now, you will be able to run it in the debugger. Regardless of whether your program crashes or just doesn't behave as expected, running it in the debugger will show you why. Note however, that due to optimizations turned on in the release build, the instruction pointer will sometimes be off by a few code lines, or even skip lines altogether (as the optimizer didn't generate code for them). This shouldn't be a concern, if it is, turn off optimizations. When debugging your release build this way, you will probably discover that at a certain point during execution, a variable has a different value in the release and in the debug build, causing the differing behaviour. And if you go back and see where the value of that variable is set, you will most probably find out that it isn't: You simply forgot to initialize that variable. The reason why the debug bu
-
crash in worker threadIn my application some operations will run in worker therad for 15 time without crash. But when same code will run for 30 times the application will crash. Let me know the reasons behind this crash. lavatema
-
Worker thread->crashIam having a MFC application, in which we have a worker theread. Some operation is happens in worker thread.And we call this application for 10 times it works well.But when we call this application for 25th time it crashes at 25th time. Let me know what will be the reasons behind this. According to me one of the reasons is data type matching.But intially we resolved this problem for 10th time then it works well till. 24th time and at 25th time it crashes. According to me there will be some other reaons behind this crashing. Let me reasons how to rsolve this type of crashing. lavatema
-
Convert dialog based application to SDI/MDI architecture.I have a dialog based application that I would like to convert to a SDI/MDI architecture. Please help me out to resolve the above problem. Thanks in advance. Mallikarjun lavatema
-
Convert dialog based application to SDI/MDI architecture.I have a dialog based application that I would like to convert to a SDI/MDI architecture. Please help me out to resolve the above problem. Thanks in advance. Mallikarjun
-
application crashyes.
-
application crashin debug the application is working fine.But when i run using the ctrl +f5 it crashes.