> -----Original Message----- > From: L Anderson [mailto:lowe...@mvseac.com] > Sent: vrijdag 4 juni 2010 13:10 > To: Ruben Thijssen > Cc: gnuwin32-users@lists.sourceforge.net > Subject: Re: [GnuWin32-Users] File (magic1.dll) - No current entry for > continuation > > Ruben Thijssen wrote: > > Hi there, > > > > I am currently working on a C# wrapper/binder applications that is > going to use the file command (well the library to be specific). I > downloaded the file binaries and I am using the library file > "magic1.dll". > > Calling the methods from a C# environment works fine but I am running > into some problems. Magic_open does seem to function correctly (I > think, because I don't get any errors back) but when I'm executing > magic_load(pointerToMagic_t, "Location of the Magic Files (magic and > magic.mgc)") I get the following error: No current entry for > continuation. > > Does anybody have a idea where this error is coming from and how I > can prevent it? > > > > Thanks. > > google "No current entry for continuation" and you'll get a dozen hits > that > might give you a clue. > > LA
I didn't find it trough that method. I already tried it and (in my opinion) it wasn't very useful. But I found the solution. I had to use the following line in front of my string parameter to make it successful: [MarshalAs(UnmanagedType.AnsiBStr)] Also I copied all the .DLL files from the binary and I copied the files from share/misc. These files are now in one folder. The last thing was to letting magiclib know where my magic file was: magic_load(ms, "<foldername>/magic"); May for you guy's this speaks for itself but it was difficult for me haha. Sorry I bothered you but I hope someone else with the same problem can use my solution. Thanks. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users