The best and the most foolproof way I can think of is something like a
system() (CreateProcess) call and data exchange through temporary files.
Igor
On Fri, 24 Oct 2003, Paul Bezzam wrote:
> Hello everyone,
>
> Is there any way I can call an application(a C application using embedded
> Pe
Hello everyone,
Is there any way I can call an application(a C application using embedded
Perl) created on Cygwin from Windows(C++, APIs) environment?
Any pointers would be appreciated.
Thank you.
Paul
On Thu, 23 Oct 2003, Igor Pechtchanski wrote:
> Any DLL that comes with the Cygwin perl is
Paul,
I have no idea how to do that in VB, but in Delphi the following works:
If you build a DLL with -mno-cygwin, you can say
function StartIntegration(inifile: PChar;param :Pointer): integer;cdecl;
extern
'crm.dll' name 'StartIntegration';
in Delphi.
If you build a Cygwin-DLL
Thank you for your inputs Igor, Gerritt.
Paul
On Thu, 23 Oct 2003, Igor Pechtchanski wrote:
> Any DLL that comes with the Cygwin perl is going to depend on cygwin1.dll.
> Same goes for any DLL you build without -mno-cygwin. However, if you call
> these DLLs from Visual Basic, or use -mno-cygwi
Any DLL that comes with the Cygwin perl is going to depend on cygwin1.dll.
Same goes for any DLL you build without -mno-cygwin. However, if you call
these DLLs from Visual Basic, or use -mno-cygwin when compiling, you'll
end up with the dependence on both msvcrt.dll (because of VB/-mno-cygwin)
*an
Thank you for your replies. But here is my problem:
I am trying to make a DLL from a C program that has embedded Perl in it.
I successfully created the DLL, and also created a test C client. The
client successfully calls the DLL. All this is done in Cygwin and without
the "-mno-cygwin" option.
Paul wrote:
> Hello everyone,
> I have this issue: I have a C program that uses embedded perl to call a
> Perl subroutine. This runs successfully when compiled with gcc with
> default options. But, when I use the -mno-cygwin option, I get errors
> indicating that some include files are not ava
On Thu, 23 Oct 2003, Paul Bezzam wrote:
> Hello everyone,
>
> I have this issue: I have a C program that uses embedded perl to call a
> Perl subroutine. This runs successfully when compiled with gcc with
> default options. But, when I use the -mno-cygwin option, I get errors
> indicating that so
Hello everyone,
I have this issue: I have a C program that uses embedded perl to call a
Perl subroutine. This runs successfully when compiled with gcc with
default options. But, when I use the -mno-cygwin option, I get errors
indicating that some include files are not available. (The error mess
9 matches
Mail list logo