Does anyone know if the new mysql libraries can be called from the old old vc6 (on windows xp)? thanks!
ns
Posts
-
MySQL 5.0 and Visual C++ 6....do they work together? -
How to question about stepping into a dllWindows Xp,Visual studio 6 service pack 3, Win32 c++dll Have a C++ driver and it calls the dll in a loop. The code executes once and crashes before it gets around to the top of the loop. So...I would like to know how to step into the code of the dll. I have the code in a different project. One time i accidentally did this so i know it can be done BUT i don't recall how. Googling is not very enlightening atm :^)
-
making a win32 dll project (visual studio) on a 64 bit machinegone to google 'targeted' :) be back. thanks!
-
making a win32 dll project (visual studio) on a 64 bit machinewell i ran 64 bit compiled code on a 32 bit machine and it ran without crashing but gave me different results from when it ran on the 64 bit machine where it was compiled..... :|
-
making a win32 dll project (visual studio) on a 64 bit machineWhat does this mean? Does the 64 bit machine use 32 bit arithmetic for such a project? thanks
-
32 bit vs 64 bit machine, same c++ code compiled on each....different numerical results!thank you all! I narrowed it down to where if I disable a certain custom function and call an alternate function, the same results are produced by both builds (64 bit and 32 bit machines) So I am going to inspect this function and see what gives. Appreciate the help and I will attempt to be more descriptive in my next question. :-D
-
32 bit vs 64 bit machine, same c++ code compiled on each....different numerical results!This does not compute! Or does it?? I compiled the same code on a 32 bit machine and also on a 64 bit machine and when I run each one the numerical output is different. There are some overlapping results but there are others missing or extra in the others, or slightly different. How can this be?
-
How to make the release version of a visual studio 2008 c++ project so i can step in and debug?Very informative! Reading them now. Many thanks :)
-
How to make the release version of a visual studio 2008 c++ project so i can step in and debug?Thank you!! Thank you!! Thank you!!! I can step in now!:)
-
How to make the release version of a visual studio 2008 c++ project so i can step in and debug?thank you Ash! I did what you said... Make sure you're building with debug information (right click on project->settings, C++->general, debug information format set to program database) then I set a breakpoint in the release version of the code (in the IDE) and ran it expecting it to stop at the breakpoint. But it did not and the breakpoint did not look colored anymore. It just ran on and crashed. I would like the code to stop executing at the breakpoint so I can step in and proceed line by line. thanks!
-
How to make the release version of a visual studio 2008 c++ project so i can step in and debug?there was a way to do it in vc 6...i forget how... the trouble i am having is the debug works fine but the release crashes. so i want to step into the release version.... it could be done in vc6...how to do it in vs2008? thanks!
-
How to launch a progressbar in an mfc dll?There aren't any CDialog type windows, and 'this' is just some abstract class where I have the time-stepping loop. Another thing I tried: Even though it's a dll, I tried adding a form to it, and dragged a progressbar on it, but then didn't quite know how to invoke this form from my abstract class. I'll look up the message loop idea. Thanks for the input. sb
-
How to launch a progressbar in an mfc dll?From within the dll, I did this
// Create a smooth child progress control.
myCtrl = new CProgressCtrl();
myCtrl->Create(WS_CHILD|WS_VISIBLE|PBS_SMOOTH, CRect(10,10,200,30),
(CWnd*)this, 100);where the last parameter (100) is just a number I picked out of thin air. I don't know what I should put there. So when I ran the project that calls this dll, it ran, but no progress bar showed up... ???
-
How to launch a progressbar in an mfc dll?I have an MFC dll which has no gui, and I dont see a Resource tab in the development environment on which I could drag a CProgressCtrl. I want to launch a progressbar from this dll, and don't really want to do message loops and such which I would need if I used CreateWindow(). Appreciate your input, sb
-
_free, _malloc already defined in libc.libGetting these compile errors Linking... MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in libc.lib(free.obj) MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in libc.lib(malloc.obj) I typed in NODEFAULTLIB:library based on this warning defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library but it didnt resolve the problem. thanks, sb
-
MFC project with fortran modules in it, gets linker errorsHi Suman, The fortran modules are just .for text files that reside in the project. They aren't compiled separately and linked. If I make a win32 console app and include these .for files as source files, the app compiles, links and runs fine. I have Visual Fortran on the machine and Visual Studio seem to know what to do in the case of a win32 app. But for an MFC app, it gives linker errors. I dont have a separate fortran project. thanks, sb
-
MFC project with fortran modules in it, gets linker errorsI'm using VC 6++ and MFC. The project has some fortran modules in it. I get linker errors like these: dfor.lib(matherr.obj) : error LNK2005: __matherr already defined in msvcrtd.lib(merr.obj) libc.lib(fpinit.obj) : error LNK2005: __ldused already defined in a previous module libc.lib(fpinit.obj) : error LNK2005: __fltused already defined in a previous module and more also BUBBC.OBJ : error LNK2001: unresolved external symbol _THEPAR@4 BUBBC.OBJ : error LNK2001: unresolved external symbol _EXPARG@4 BUBBC.OBJ : error LNK2001: unresolved external symbol _BDOSE@8 where bubbc.for is the fortran file. Any input is appreciated. thnaks, sb
-
VS 2005 ATL dll not working on non-development machineThat was the problem, Mark. I had built debug dlls. Soon as I changed the project configuration I was able to load the librar. MAny thanks! sb
-
VS 2005 ATL dll not working on non-development machineI created an ATL dll in vs 2005 and invoked it from MAtlab using loadlibrary (in MAtlab). No problems. But when I try the same thing on a non development machine that has no VS on it, I cannot do loadlibrary -- Matlab gives me an error saying the application configuration is incorrect. I googled and seem to gather it is because I dont have VS on the clean machine. I got the VS redistributable exe (said its for non-dev machines so VS apps can run on them) from microsoft and loaded it on the clean machine but still no success. What do I need to do? thanks, sb
-
calling a c++ ATL dll from a c++ test programI just took the .h file straight from my ATL dll project and did a #include in the test harness project. What is it I need to do? thanks, sb