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: *

  • Users: BM
  • Order by date
  1. BM

    Service packs for VStudio/VC++

    Thanks Monguse, I will try that. Barry
  2. BM

    Service packs for VStudio/VC++

    Hi all, Anyone know how to get service pack 5 for VStudio, in the UK, without downloading hundreds of Mbytes over the net. (very time consuming and expensive). There are smaller downloads but they appear not to contain CVC++ info. Thanks Barry
  3. BM

    FLOAT type number & Bytes

    Hi Matt, thanks for the reply, I will try that Barry
  4. BM

    FLOAT type number & Bytes

    Hi all, Anyone know a good clean way of extracting a FLOAT type number from four bytes in byte array? Thanks. Barry
  5. BM

    CDib class

    Hi all, I have used a CDib class in the past but on my new PC with Windows ME it causes problems, does anyone know if there is an up to date version or a good alternative, perhaps with the ability to load files other than .bmp? Thanks Barry
  6. BM

    Font list in windows

    Hi, Does anyone know where windows stores it's font list? I would like to print a sample of each font on my PC, is there a program around that does this already? Thanks Barry M
  7. BM

    CTreeView & CImageList

    Hi, I am using CTreeView to list some files and would like the root to have a different image to the rest of the Items. Also I would like the images to change on selection. How do I arrange the CImageList to do this and how do I access bitmaps in it from the insert statement, how do I change...
  8. BM

    Maths functions

    Anyone know of a header file which contains functions for secant/cosecant? Barry M
  9. BM

    Win32 & MFC window handles again

    Hi Pete, My piece of global code is using the HWND normally passed to WinProc; it uses it to perform a SetWindowLong for a structure. When I pass the result of AfxGetMainWnd to the code it crashes, am I using the wrong routine to get the HWND? The application is SDI. Thanks Barry
  10. BM

    Win32 & MFC window handles

    Hi, In a Win32 application CreatwWindow returns an HWND which can be utilised in the program, in the MFC window creation process this handle is not apparent, how do I access it? I know I should be using pointers but I am using some Win32 code chunks in the global area. Thanks Barry
  11. BM

    COM port cutting up incoming data

    Hi I am reading from the COM1 port, data at 4800 baud, and the mesages are being split into 8 char chunks after the initial message looks OK. I think that it may be a timing fault, any ideas ? Thanks Barry
  12. BM

    How do I activate the TRACE facility?

    Hi, I am trying to utilise the TRACE facility in VC++6.0. I have put TRACE statements in my program but have no output, does it print into the debug area or does it have a separate window or have I not activated it properly?? Barry M
  13. BM

    Accesing a View from a global Function

    Hi out there, How do I get a View to perform an OnDraw from a Global Function and what parameter do I need to pass to the Function? The function will be a Thread when I get it to work!! Barry M
  14. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi Pete, Thanks for the reply, my first efforts were indeed in a Document but I had problems getting the thread class to accept the CommWatch function. Does this routine have to be global? I would appreciate any pointers as to how the CWinThread functions might be implemented. Thanks again Barry
  15. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi again Pete, I have tried to do the threads on my own but have failed miserably. I have taken a standard MFC SDI application and tried to follow the TTY layout, Open Setup etc, inside the MainFrame Class, allowing Documents to access the input. Is this the best way to do it or is there a...
  16. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi Pete, I have had a brief look at your code and it looks good. I have done a quick build, sorted out some comment 'errors'(they had somehow lost their // I think!). I will make my own class for the link info, baud rate etc and give it a whirl!! Thanks a million Barry
  17. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi Pete, Thanks for the reply, I think that I could handle the thread activity provided it is in the 'AfxBeginThread category, so I would be very glad to get a copy of your class and any help you can give. I will try the htm file that you have listed and get back to you. Thanks Barry
  18. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi Pete,<br>Thanks for your reply, I would indeed be interested in your Win32 API class.&nbsp;&nbsp;I would like a copy of it whenever it is convenient for you to transfer it, it appears to do everything that I want to do.<br><br>Thanks very much<br><br>Barry<br>
  19. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi Pete,<br>I am indeed building a terminal application into an MFC project.&nbsp;&nbsp;I am doing this in order to get an insight into how the WIN32 COMM API works with a view to using it to interface to a GPS unit.<br><br>Barry<br>
  20. BM

    Win32 API Comm sample TTY - Porting to MFC format

    I am trying to port the TTY sample program to the MFC environment(having given up on the VCTERM sample) and am getting a type cast fault in the CreateThread statement.<br>Has anyone out there tried this port or can throw any light on the fault.&nbsp;&nbsp;I would be happy to send more details of...

Part and Inventory Search

Back
Top