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
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...
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...
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...
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....
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
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.