Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-24 Thread Igor Pechtchanski
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

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-24 Thread Paul Bezzam
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

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Demmer, Thomas
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

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Paul Bezzam
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

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Igor Pechtchanski
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

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Paul Bezzam
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.

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Gerrit P. Haase
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

Re: Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Igor Pechtchanski
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

Compiling errors with '-mno-cygin' option on Cygwin

2003-10-23 Thread Paul Bezzam
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