Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 4 of 4 total |
RemoteProcedures inside a DLL |
Fri, Feb 17 2006 4:05 AM | Permanent Link |
"Jose Eduardo Helminsky" | How can I fix the code to work with RemoteParams using RemoteProcedures
inside a DLL ? I have made a new server app and load a DLL. When I call the RemoteProcedure it only works without parameters. When I put some parameters or need to return something, it will result in AV. My doubts: 1) Should I put ShareMM at server side ? 2) I am using DBISAMMM (server app), it could be a problem ? 3) I am using {$M+} in both sides (server and DLL). Is this correct ? Thanks Eduardo |
Fri, Feb 17 2006 11:49 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Jose,
<< How can I fix the code to work with RemoteParams using RemoteProcedures inside a DLL ? >> Are you trying to pass the RemoteParams object to a DLL ? If so, then that is a no-no. You should use a runtime package instead or you'll have to convert the RemoteParams to "raw" buffers (PChars) for sending to the DLL. -- Tim Young Elevate Software www.elevatesoft.com |
Fri, Feb 17 2006 12:43 PM | Permanent Link |
"Jose Eduardo Helminsky" | Tim
> Are you trying to pass the RemoteParams object to a DLL ? If so, then > that is a no-no. You should use a runtime package instead or you'll have > to convert the RemoteParams to "raw" buffers (PChars) for sending to the > DLL. My real intention is deploy a standard server and just code remote procedures inside a DLL. When you say "runtime package" I don't know exactly what you are talking about, but I caugh the idea of convert RemoteParams to "raw" buffers. Thanks for explanation. Eduardo |
Mon, Feb 20 2006 10:32 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Eduardo,
<< My real intention is deploy a standard server and just code remote procedures inside a DLL.When you say "runtime package" I don't know exactly what you are talking about, but I caugh the idea of convert RemoteParams to "raw" buffers. >> I mean a standard Delphi runtime package. Using runtime packages allows you to pass object references and long strings back and forth to the external package, something that you cannot do with plain DLLs. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |