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...
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
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...
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...
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...
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...
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...
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");
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...
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...
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...
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...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.