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

  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

    ...lpszProductVer; LPCTSTR lpszProductType; TCHAR chAppLogAction[VM_BUFFSIZE_ACTION]; TCHAR chLogVMID[VM_BUFFSIZE_VMID]; } MyAppAppLogInfo, *PMyAppAppLogInfo; Delphi Data Structure _MyAppAppLogInfo = record bMsgDriven: Bool; hAppWnd: HWND; lpszProductID: PWideChar...
  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
  16. ahhchu

    Replaced Start Button

    I have hidden the START button and created a button of my own. The ParentWindow of the button is set to 'Shell_TrayWnd'. I have assigned an event processor for the OnClick of the button but it nevers gets called. How do I assign event method to the button so I get called when the new start...
  17. ahhchu

    TToolBar Button Click Problem

    I figured this out... Just override the the Click method of the TToolButton object. I created my own object from TToolButton and then overrode the Click method: type TMyToolButton = class (TToolButton) private // you could create other variable here that // help you identify...
  18. ahhchu

    TToolBar Button Click Problem

    I am using the TToolBar control. I am creating it in code and do not have the control on my form at design time. I need to have a varying number of buttons, this may change during the execution of the program. I can cannot figure out which button is clicked. If I add the button at DESIGN TIME...
  19. ahhchu

    Anybody Recommend a ToolBar

    Steve, Thanks, I have played with it and it is pretty good. Apprecite the response... ahhchu ! :-)
  20. ahhchu

    Write an object to a File?

    Can write the block but the values dont come back properely. AssignFile (f,'test'); Reset (f,1); //must specify size other wise io err 1784 myObject := TObject.Create; BlockRead (f,myObject,512); Any Ideas ? Thanks

Part and Inventory Search

Back
Top