Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TimeOut

    Already defined functions?

    It OK! I've managed solve it (phew). Sorry for wasting your time. Thanks
  2. TimeOut

    Already defined functions?

    Hi all I'm not sure if this question makes any sense, but I'm really stuck and had to ask... I have some linking errors (mostly 2005) that I can't solve. One example is: error LNK2005: "public: __thiscall play::play(void)" (??0play@@QAE@XZ) already defined in Ch10Ex3Doc.obj Has...
  3. TimeOut

    Adding Bitmaps to Buttons?

    I've tried following the help in Visual C++, but it's quite difficult to understand for a beginner (well at least for me, anyway). Wondering if anyone could give me a 'dumbed down' explanation? Would be really grateful for any help, as always. Thanks.
  4. TimeOut

    'Globally define a conditional'?

    Hi CraigD Thanks for your reply. Most grateful. Even though it wasn't exactly the solution, your reply made me look at the problem more deeply and I was able to work it out for myself. Thanks alot.
  5. TimeOut

    'Globally define a conditional'?

    Hi all I was a reading a MIDI Visaul C++ book and in one line it read: 'Globally define the conditional _MIDIIN' Anyone know how I would globally define a conditional? Would be most grateful for any advice given. Thanks alot.
  6. TimeOut

    Creating a new file dialog

    Thanks for your tips cibrran and Kapadia. I managed to solve it by declaring the data type to CString nameoffile. Once again thanks for your replies. See you around...
  7. TimeOut

    Creating a new file dialog

    Hi all! I'm trying to recreate an existing file (copy old file to a new file). I'm using CFileDialog class to do this. I'm stuck as I get an error. nameoffile = NewFile.GetFileTitle (); The line above gives me the error: error C2440: '=' : cannot convert from 'class CString' to 'char [260]'...
  8. TimeOut

    Converting double type to 32-bit character string (LPSTR)

    Hi everyone! Please can somebody stop my heartache... How do you convert a double type to a 32-bit character string (a LPSTR), without losing any data? I can do this by using 'sizeof' but too much data is lost! Here is my warning... warning C4244: '=' : conversion from 'double' to 'char'...
  9. TimeOut

    Class Templates Question

    Hi everyone! I'm having trouble making a class template (I think this what I'm supposed to do). I want to use the polar function in <complex>. i.e Syntax of polar template<class T> complex<T> polar(const T&amp; rho, const T&amp; theta = 0); How can I use the 'polar' function in my program...
  10. TimeOut

    unreslove external problem..

    Hi yuppie You said &quot;MSDN search database that you've mentioned is it the HELP in MS VC++ 6.0? Because due to something, I've loaded in my MS VC++ without any help...&quot; If you go to Help|Search you can search for functions causing errors and find libs and *.h files needed to stop...
  11. TimeOut

    Linking Error 2001...Newbie Question

    Hi everyone! I downloaded C++ code (FFT algos) and couldn't get it to work and got two link errors! LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/fftdom.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I tried looking up these errors in...
  12. TimeOut

    How do I call member functions from header files?

    Hi Brother C I found out how to open a wav. file for my application on my own. Though your reply did not help me much I still really appreciate you efforts friend. On behalf of everyone else on this forum, Thanks *TOPIC CLOSED*
  13. TimeOut

    How do I call member functions from header files?

    Thanks for your reply Brother C. Your advice was really helpful and I am really grateful. But now I have another problems! I don't really know how to open a file in Visual C++. Here is my code so far... CFileDialog ofd(TRUE, NULL, NULL, NULL, &quot;Wave File (*.wav) |*.wav|All File (*.*) |...
  14. TimeOut

    How do I call member functions from header files?

    Thanks for your reply Brother C. Glad someone is willing to help me. I know how display a messagebox in *Dlg.cpp (created a dialog based application using MFC wizard) via MFC classwizard. I have have header files in plain 'non visual' C++ code. I would like to change the Cout commands in the...
  15. TimeOut

    How do I call member functions from header files?

    I'd like to re-phrase my question because I don't think it makes sense! How do I display a window dialog/messagebox in a header file? What header file do I need to call? What do I do? I've read displaying dialog/messagebox is something to do with the CDialog class. What header file can I find...
  16. TimeOut

    How do I call member functions from header files?

    I am a beginner to Visual C++ (so I hope my question makes sense). I have a 'DOS' based application (cpp and header files). The headers and cpp files uses cin and cout commands. I have created an MFC application and want to call member functions from the DOS header files when the user clicks...

Part and Inventory Search

Back
Top