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
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...
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
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...
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...
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
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 ..
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...
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...
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
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...
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...
I am looking for a Toolbar that can specifically meet the following:
a. Configurable at runtime by code
b. Automatically resizes depending on number of items or can be commanded to resize
c will show an icon or picture in the button and some text
d. can be docked, undocked or free standing...
Can an object be written to a file and then retrieved back into the object or do I have to break it down into appropriate fields in a record and write the record?
Thanks !
I am trying to create and use an array of objects. I get a memory reference when instantiating the objects of the array
MyObjectA : array of MyObject;
MyObjectA[0] := MyObject.Create;
results in a memory ref error. Is there a different way to do this...
thanks
Any quick code out there that grabs the icon for a particular exe. For example when someone clicks Paint on my form I would like the icon to appear on the form..
Thanks
I notice that when I call a DLL in a function that rtns a string in FORMSHOW of a form I get memory reference errors. Has anyone seen this b4 ? any clues ?
Thanks
I am hooking to a DLL, at the end I have a Exit Procedure that is processed. I free all resources that I create and have traced all the Creates in my code. I am getting a write memory exception past the HALT and EXIT PROC in the DLL. Does anybody have any suggestions?
Thanks
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.