Hi, I've just been shocked.
I opened one of my base forms(inDelphi), and then I saw an error: "Class frxDBDataset not found".
So I looked through Delphi component list, and saw FastReport tabs, but not FastReport 4 which I use directly.
I closed the application and opened another one. I looked...
Haha! That's just not true :)
The only thing that I had to do was to allocate memory for the PChar field:
GetMem(myrec.field1, length(str_which_I_assign));
myrec.field1:=PChar(str_which_I_assign);
And then I can pass the pointer to myRec to the dll :)
Hi, I've got a problem with passing a record to dll.
I do it like this:
type
TMyRec = record
field1: PChar;
field2: integer;
end;
type
PMojRec = ^TMojRec;
//of course in my application there is more fields
Then in main application I create array of those records and fill them...
I don't understand you or you don't understand me :)
The whole problem is that I want the plugins to use some functions from my application.
Only reasonable solution to that is by interfaces. But for any reason I can't pass my interfaced object to dll.
Hi, I have to write an application that can use plugins. What's more, plugins should may use some functions from my application.
I have read some articles about writing applications with plugins(but, there isn't many), and got to know that I have to use interfaces.
But something's wrong with...
Hi, I've got an unit which will be added to other my applications. And I've got a problem.
In certain moment I must close application, but I have to be sure that code included in OnClose event will be executed.
Another problem is that some applications will have OnCloseQuery event, and some...
Hi, I've got a sql script file in which I create some tables, then I create stored procedure(I use variables in MSSQL format, it means: @variable).
Until there was only part that creates tables everything worked fine, but after I added part that creates procedure I get an error during execute...
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.