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 Chris Miller 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. philrosenberg

    Can not access www.hsbc.co.uk website!

    I am having a similar problem with my home network. Our previous setup was a windows xp machine connected to a broadband connection via a usb modem, we then had a windows 2000 laptop connected to the xp machine with intenet access via ics. At this point both computers could load the hsbc.co.uk...
  2. philrosenberg

    frstream problems

    cheers cpjust It was an issue with reusing the stream, The file before had fewer values in than it was supposed to so I kept reading in and there was nothing for it to read. I guess just closing it didn't clear the errors. Thanks Phil
  3. philrosenberg

    frstream problems

    I'm ripping my hair out over reading data in through an fstream. I open the fstream and read the values in the file into a double then push them into a vector. Only problem is the values aren't being read. is_open() returns true, but tellg() returns -1, and after trying to read in a value both...
  4. philrosenberg

    using third party libraries in c++

    I have a manual for use of the functions which includes function names and parameters, but does not specify return types or parameter types. The dll also comes with functionality for use in excel spreadsheets which is what the manual focusses on. Perhaps I'll give it a go writing my own...
  5. philrosenberg

    using third party libraries in c++

    Hi all I'm trying to use a third party library I have been provided with. The libraty comes as a .dll and a .lib, but there is no header file. I don't regularly use third party stuff so I'm a little sktechy on how to do it. Is it possible without a header file? I'm not sure what the library was...
  6. philrosenberg

    Sending keystrokes to DOS program

    I'm writing a program that needs to run a number of DOS programs and send keyboard input to them. I'm currently using CreateProcess() to open the applications and keybd_event() to generate the input. However this seems a very inelegant way to do this, especially as it seems that the application...
  7. philrosenberg

    Continual monitoring

    Hi everyone. This is more an programming for windows/algorithm question rather than a code question, if any of you can help I'd be really greatful. I'm trying to use a pc to monitor input and set output to the parrallel port. (for those of you that are interested I'm using a PICO interface to...
  8. philrosenberg

    Drawing vertical text

    thanks teriveret for the reply. After much searching through various forums I found this out. I was using the system font I have now changed to arial and it works. For anyone who views this thread later this is done by adding the line strcpy(lf.lfFaceName,"Arial");
  9. philrosenberg

    Drawing vertical text

    I'm having a bit of trouble drawing text on a window. I am trying to get the text vertical so I'm getting the LOGFONT from the default font, spinning it 900 tenths of a degree then creationg a new font with this LOGFONT, selecting it with the DC and then using TextOut to output the text. However...
  10. philrosenberg

    Problem adding items to a listbox

    thanks zyrenthian. I can use AddString in the OnInitDialog function so I'll pass the strings to member variable strings and then add them to the listbox when OnInitDialog is called. As an additional point I get the same error during runtime if I try to use addString in the dialog box...
  11. philrosenberg

    Problem adding items to a listbox

    Hi all This seems like it should be so easy yet I can't get it to work. I'm using microsoft visual c++ to create a dialog based application. I've created one dialog box resource with a listbox in. Then added a CListBox object associated with it called m_list. All I want to do is when the dialog...
  12. philrosenberg

    Modeless dialog behind main window

    Hi, I'm fairly new to programming for windows and am having some trouble with modeless dialogs. I've created and shown a modeless dialog, but when the main application is given the focus it moves in front of the dialog wheras I want the dialog to stay in front, also the dialog box has its own...
  13. philrosenberg

    number next to a variable - allowed?

    Thank you very much, you've been extremely helpful and patient. Thanks again Phil
  14. philrosenberg

    number next to a variable - allowed?

    thanks for the reply CaKiwi. At first I thought something similar but this line was just above it BETA0 = D0 * DPDD / P0 which made me think D0 was a variable, any idea what this then means if D0 is not a variable? Thanks again Phil
  15. philrosenberg

    number next to a variable - allowed?

    Hi I'm trying to find a bug in a FORTRAN program my office has purchased, but as a person who has not used fortran before I'm hoping someone may be able to give me a couple of hints. One line of the code is TRM1 = 1.0D0 - DFXDT * (2.0D0 - DFXDT) where TRM1, D0 and DFXDT are all variables. The...

Part and Inventory Search

Back
Top