Following the tutorial, I modify my code..
But when I call a dll method from C# application, it immediatly freeze.
Here the code:
faddll.h
#include
#include
#include
namespace cygwin
{
class padding {
public:
padding ();
~padding ();
private:
std::vector< char > _backup;
Ken Turner wrote:
I've posted on this problem before
(http://www.cygwin.com/ml/cygwin/2006-11/msg00568.html) but now have a
better idea of what's going wrong. (I haven't supplied "cygcheck"
output as my question
is generic.)
Our Unix file server uses the TAS program to deliver files via SMB t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A new release of git, 1.5.6.4-1, has been uploaded, leaving git-1.5.6-1 as
the previous version. This build replaces 1.5.6.3-1, which was
temporarily available only as an experimental version.
NEWS:
=
This is a new upstream release. I've applie
Raul Acevedo wrote:
Supposedly urxvt 7.x supports tabs via a Perl module by running it as:
# urxvt -pe tabbed
Supposedly this has been possible since urxvt 7.3 (see
http://linux.die.net/man/7/urxvt). Why does this not work under Cygwin?
Because urxvt is configured with:
--
| >>> It turns out that these files are being served up with a fake domain
| >>> name "D1" (because our Unix server isn't part of a Windows domain).
| >>> When I log in I am authenticated against a real domain "D2". As a
| >>> result, "D2\kjt" cannot access files whose permissions are set for
| >>>
Ken Turner wrote on 23 July 2008 21:10:
>>> It turns out that these files are being served up with a fake domain
>>> name "D1" (because our Unix server isn't part of a Windows domain).
>>> When I log in I am authenticated against a real domain "D2". As a
>>> result, "D2\kjt" cannot access files wh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nathan Thern wrote:
| That sounds great. However, I can't get it to work:
| "gcc -o scheme.exe *.o -Wl,--out-implib,scheme.dll.a" creates a
| working scheme.exe, but silently doesn't create scheme.dll.a
| and
| "gcc -shared -o scheme.exe *.o -Wl,--o
On Tue, Jul 22, 2008 at 7:19 PM, Brian Dessent <[EMAIL PROTECTED]> wrote:
> Nathan Thern wrote:
>> I'm following the build instructions for generic x86 *nix, going under
>> the assumption that cygwin fits in that category. I believe the
> Cygwin can't change the fact that fundamentally these are di
Supposedly urxvt 7.x supports tabs via a Perl module by running it as:
# urxvt -pe tabbed
And adding to your ~/.Xresources:
URxvt.perl-ext-common: default,tabbed
However this doesn't work under Cygwin:
[505 ~] urxvt -pe tabbed
urxvt: "pe": unknown or malformed option.
urxvt: "tabbed"
On Wed, Jul 23, 2008 at 4:20 PM, I wrote:
> "$(cygpath -u "$COMSPEC")" /c start /wait notepad.exe /p "$tmp_file"
Whups, that's not going to work. Needs to convert the temp path to Windows form:
"$(cygpath -u "$COMSPEC")" /c start /wait notepad.exe /p "$(cygpath -w
"$tmp_file")"
--
Mark J. Reed
On Wed, Jul 23, 2008 at 4:00 PM, Wilfried wrote:
> I had tested my script and it worked for me.
That's usually the case. Most bugs are things the author didn't think of. :)
> I agree that just 5 parameters may be not enough.
Then why use that number? Why use any number of parameters, instead of
| > It turns out that these files are being served up with a fake domain name
| > "D1" (because our Unix server isn't part of a Windows domain). When I log
| > in I am authenticated against a real domain "D2". As a result, "D2\kjt"
| > cannot access files whose permissions are set for "D1\kjt". The
"Buchbinder, Barry" wrote:
> Wilfried wrote on Monday, July 21, 2008 10:11 AM:
>
> > Ehh, I just saw that Rodrigo Medina addressed all these problems.
> >
> > So the script would probably look like this:
> >
> > --snip-
> > #!/bin/sh
> > $1 $2 $3 $4 $5 | unix2dos > tmp_f
I'm new on C++ programming..
Can you write an example of 4K scratch space at the bottom of stack on my
simple code:
#include
#include
#define DllExport extern "C" __declspec(dllexport)
DllExport int Somma(int a,int b);
int Somma(int a, int b)
{
HMODULE h = LoadLibrary("cygwin1.dll");
Stefano Facchetti wrote on 23 July 2008 19:08:
> The FAQ tell to read the document: winsup/cygwin/how-cygtls-works.txt
> I'm using cygwin under windows vista. Where I can find the document..?
The path refers to a location in the sourceware.org CVS repository. You
could check out the winsup mod
>There is no fix for csih yet. As a workaround, install the older
>OpenSSH 5.0p1-1. I changed the installation dir on cygwin.com, so that
>that version should be available (again) on the mirrors in a couple of
>hours.
>Corinna
Thanks, I'll install the old version for now. I look forward to th
The FAQ tell to read the document: winsup/cygwin/how-cygtls-works.txt
I'm using cygwin under windows vista. Where I can find the document..?
Thanks,
Fad
Brian Dessent wrote:
>
>
> That is not sufficient to dynamically load the library. You need to
> re-read the part of the FAQ that explains
On Jul 23 13:47, Matt Kemmerer wrote:
> What version of csih should I look for with the fix? All the versions I
> see on the mirror were modified on 7/19.
There is no fix for csih yet. As a workaround, install the older
OpenSSH 5.0p1-1. I changed the installation dir on cygwin.com, so that
that
Stefano Facchetti wrote:
> int MySum(int a, int b)
> {
>HMODULE h = LoadLibrary("cygwin1.dll");
>void (*init)() = (void(*)()) GetProcAddress(h,"cygwin_dll_init");
>init();
>
>return a+b;
> }
That is not sufficient to dynamically load the library. You need to
re-read the part of
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Corinna Vinschen
Sent: Wednesday, July 23, 2008 12:35 PM
To: cygwin@cygwin.com
Subject: Re: ssh-host-config script fails
On Jul 23 11:25, Matt Kemmerer wrote:
>> I've recently installed cygwin on a Windows X
I build my custom dll using g++ and Cygwin environment.
Whe I try to call it, from C# application, it immediatly freeze.
How can I do..?
Fad.
C# code:
[DllImport("faddll.dll", CharSet = CharSet.Auto, EntryPoint = "Somma")]
public static extern int MySum(int a, int b);
int x = MySum(1,2);
C++ co
On Jul 23 11:25, Matt Kemmerer wrote:
> I've recently installed cygwin on a Windows XP box. I followed the same
> procedure I have in the past but this time I received a number of
> errors. Here's what I did:
>
> * Downloaded setup.exe from cygwin.com
> * Installed from the internet and selected e
Ken Turner wrote on 23 July 2008 16:46:
> It turns out that these files are being served up with a fake domain name
> "D1" (because our Unix server isn't part of a Windows domain). When I log
> in I am authenticated against a real domain "D2". As a result, "D2\kjt"
> cannot access files whose perm
I've posted on this problem before
(http://www.cygwin.com/ml/cygwin/2006-11/msg00568.html) but now have a better
idea of what's going wrong. (I haven't supplied "cygcheck" output as my question
is generic.)
Our Unix file server uses the TAS program to deliver files via SMB to Windows
clients. Up t
Stefano Facchetti wrote on 23 July 2008 16:17:
> How specify in FAQ 6.16 I try to compile this code:
>
> ...
> HMODULE h = LoadLibrary("cygwin1.dll");
> void (*init)() = GetProcAddress(h, "cygwin_dll_init");
> init();
> ...
>
> The compiler give my the following error:
>
> festivalDll.cc: In
I've recently installed cygwin on a Windows XP box. I followed the same
procedure I have in the past but this time I received a number of
errors. Here's what I did:
* Downloaded setup.exe from cygwin.com
* Installed from the internet and selected emacs and OpenSSH to be
installed
* Started up a sh
How specify in FAQ 6.16 I try to compile this code:
...
HMODULE h = LoadLibrary("cygwin1.dll");
void (*init)() = GetProcAddress(h, "cygwin_dll_init");
init();
...
The compiler give my the following error:
festivalDll.cc: In function `void festival_init()':
festivalDll.cc:18: error: invalid c
Hi,
Due to problems with the parrot-perl6 and parrot-languages I've removed
them temporarely from setup.
I already have fixed the trouble with a wrong config hash pointing to my
private build_dir, but during testing I found some more problems with
some languages, and the parrot developers ar
I've just updated the version of OpenSSH to 5.1p1-3.
This is a bugfix release which fixes the broken symlinks /usr/bin/slogin
and /usr/share/man/man1/slogin.1. Other than that, it's still the same
as the 5.1p1-1 release.
The official release message of 5.1p1:
===
Without "-lfestival", I have some errors.. because in my code, I use some
functiond defined in the libfestival.a
Ken Jackson-3 wrote:
>
>
> Wait. The switch "-lfestival" tells the linker to use archive
> libfestival.a, which presumably has stubs for festival.dll.
>
> But you are creating fes
Stefano Facchetti writes:
> g++ -shared -o festival.dll festivaldll.o -L. -lfestival -lestools
> -lestbase -leststring -ltermcap -lwinmm -I ../src/include/
> -I ../../speech_tools/include/
> -I ./ -mno-cygwin -I./mingw/include -L./mingw/lib/
Wait. The switch "-lfestival" tells the linker
31 matches
Mail list logo