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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ahhchu

  1. ahhchu

    convert string to array of char

    think I solved my own prob Move (a[1],b[0],length(a)); think this does it.... thanks to anyone that looked...
  2. ahhchu

    convert string to array of char

    Is there a simple way ot convert a string to a array of char? var a: string; b: array [0..24] of char; is there a way to get the equivalent: b:= a; // ?? Thanks
  3. ahhchu

    Console App and QApplication?

    mgauss SysUtils and dlldata, a unit I created are all thats specified. The dlldata unit is: unit dllData; interface type PDllCommonData = ^TDllCommonData; TDllCommonData = record sToken : string [64]; // make it long enough that typing it is a pain end; implementation end...
  4. ahhchu

    Console App and QApplication?

    Doug, When I run it in a regular Delphi GUI app I dont see the message. The QApplication object is part of the QT stuff for creating open apps. I dont understand where it comes from in either the console app or the DLL as they are both delphi projects. In any case is there a way to suppress...
  5. ahhchu

    Console App and QApplication?

    I created a simple CONSOLE applicationt that calls a shared memory DLL to retireve some data. The application is all of 15 total lines. When I run the application I get the following message: QApplication::palette: This function can only be called after the QApplication object has been created...
  6. ahhchu

    locking NT4 Workstation

    I want to be able to execute code and LOCK an NT4 workstation like the LockWorkStation command for Win2k. Is there a function call to make this happen or do you have to fake key strokes to the system? Thanks
  7. ahhchu

    C DLL Unicode

    Having a heck of a time getting data back from a C++ DLL that uses UNICODE. I have used Dr Bobs head Convert program to convert the header and get the function address, and structure, that program is EXCELLENT. The Delphi unit that is generated did not understand TCHAR in C++, neither do I...
  8. ahhchu

    Stop Change Display Properties

    My users change the display properties all the time. I want to disable it completely does anybody know how to do this ? Thanks....
  9. ahhchu

    WinBatch and Delphi

    WinBatch has the capability to call DLLs in the DllCall function. I can make this work with a parameterless procedure. WinBatch says they can call C/C++ Dlls. When I want to pass parms to my Delphi dll I get a bunch of errors. I have tried cdecl, stdcall thinking they would be the same as C...
  10. ahhchu

    Too many files open error

    I am getting a "Too many files in use error". I have hunted through control panels far and wide and the reg and cannot find where to set the env for this. I remember this used to be a config.sys option, hadn't run into this till I installed Oracle on this machine.... Thanks
  11. ahhchu

    DLL Life?

    Can a DLL have a life of its own. I would like a DLL to have control loop running that could monitor a particular process. I guess in some way that is what a service is but I need to run on all the OSs and I dont like the visibility of a service. Thanks ..
  12. ahhchu

    Connected to Network

    Can anybody tell me how I can detect if I am connected to a network. Let me clarify, not if the machine should be connected to the network, ie the lan adpator is configured. More like is the lan adpator live.... I guess I could ping a specified connection. But there must be another way other...
  13. ahhchu

    Problem w/NMFTP

    TonHu Thanks for the pointer I will take a look at the others. I have put this code into a loop and probably moved 5-10k files with it, with no problems, it seems to be the notification process....
  14. ahhchu

    Problem w/NMFTP

    I notice that when I use NMFTP I can receive notification of a successful upload and download ONCE in a session. If I FTP upload I recieve successful notification, if I immediatley do it again I get not notification. Is there a way to reset the process short of opening another session? Here is...
  15. ahhchu

    ParentWindow of BitBtn

    I am trying to set the ParentWindow of a BitBtn. I notice this is possible with a TButton. Does anyone know how to set this or expose the property of the class? Thanks

Part and Inventory Search

Back
Top