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 Wanet Telecoms Ltd 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. MoonchildHK

    BCB5 -> BCB6... missing COW32.obj

    Hi, I just had to reformat my hard drive and although I have been working on BCB5, I had to install BCB6 since that is the only one we have in the office. When I tried to compile my project I ended up with a fatal error: Unable to open file: COW32.obj Does anyone have any idea what this...
  2. MoonchildHK

    Hex from Registry to Integer

    HI All, I have been trying to get this right for ages, and have ended up with about 10 lines of code for what I;m sure can be done in 1 statement! I have a block of data stored in the registry. The block is binary: Ax Bx Cx Dx Ex Fx Gx Hx (8 Bytes) Here is my problem: ExFx is an Integer I...
  3. MoonchildHK

    CD Rom control?

    Anyone have any pointers to how I can stop / start and read the playing time of a CD in the computers CDRom drive? Thanks, Steph
  4. MoonchildHK

    AnsiString to UTF8?

    Does anyone know how I can convert an AnsiString into a UTF8 coded string? The word UTF8 does not even see to be in any of the Help files with Borland C++ Builder 5!! Any help would be much appreciated!
  5. MoonchildHK

    Can a DLL access components from calling program?

    I am writing a simple plugin system for one of my programs usng DLLs (Dyamically linked, using GetProcAddress), but have run into a problem: I am passing the pointer to a TTreeView to one of the functions in the DLL, but when the DLL tried to add a node to that TreeView, it throws and...
  6. MoonchildHK

    Unicode Application?

    Hi, I am trying to write a unicode application for windows, but not having much luck. I noticed that on Internet Explorer (and other windows programs, even the 'Run' box) you can paste in double-byte characters (chinese in this case, I ctrl-c the text from Yahoo! Hong Kong website). The text...
  7. MoonchildHK

    Wordwrap in TListBox

    Hi All, I am writing an IRC client. For the main message list I am using a TListBox set to LBOwnerDrawFixed. I do this because I want to display the Username first (in one color) and then the message (in another color). Everything works fine except that the ListBox has no word wrap.. When I...
  8. MoonchildHK

    TClientSocket eats ALL my memory??

    Hi All, I am having serious problems with the ftp part of a program I am writing. I have a several TClientSocket, the first of which connects to the control port (21) of the ftp server. The other one is used to actually x-fer the data (on a port assigned using PASV). My problem is that when I...
  9. MoonchildHK

    TStringGrid causes program termination

    Hi All, I am using a TStringGrid in a progra, with one fixed row and no fixed columns. When I write to the 3nd row of the grid, the program unexpectly terminates? I can't figure out any reason.. no errors, no exxceptions, nothing. Just quits! I have ensured there are enough rows to write to...
  10. MoonchildHK

    ReceiveText / ReceiveBuf gives garbage

    Hey All, I am trying to make a connection to an SQL server using a TClientSocket with BCB5. Although I have no problem reading and writing data to other connections (FTP, SMTP, HTTP etc) I can't seem to get any sense out of a connection to a remote MySQL server. When I use ReceiveBuf I just...
  11. MoonchildHK

    BSTR, wchar_t and Character Arrays

    Hi again, I have a line of code from an example program like this: CComBSTR bstrFileName( L"c:\\Test.avi" ); I want to replace the text with a string variable read from a text file. So I have something like... char *FileName; . . . CComBSTR bstrFileName( charFileName ); But...
  12. MoonchildHK

    Windows Media Encoder (From VBS)

    Hi All, I am trying to figure out how to use Windows Media Encoder in a BCB application. I have some VBS code that does what I need, but I want to do it in C++. Here is a snipit of the VBS code: [code] ' Create Encoder Object Dim encoder Set encoder =...

Part and Inventory Search

Back
Top