I tested the binaries work fine a 32-bit windows xp. May be the 64-bit windows xp is not supported, but that will not be serious problem for me.
On Fri, Apr 5, 2013 at 12:03 AM, Greg Borota <[email protected]> wrote: > Strange message, never seen that before. > > I see that in Visual Studio one can target Itanium too, I wonder is your > processor not Intel x64 compatible? > I tried to use AnyCPU in .net project but that was not working with J.dll > for some reason (which I didn't have time to investigate). Being specific > about the target platform x86 or x64 works with 32bit and 64bit j.dll > binaries. > > > On Thu, Apr 4, 2013 at 10:11 AM, bill lam <[email protected]> wrote: > > > The image file H:\nj\J.Console.exe is valid,but is for machine > > type other than the current machine. > > > > jsmtest.exe gave the same error. > > > > There is no anti-virus running. > > > > Чт, 04 апр 2013, Greg Borota писал(а): > > > Could post the exact message you are getting? > > > Hard to investigate if it doesn't happen on my end. Also if you have > > > antivirus they could also come into play. I know Norton sometimes gives > > me > > > head-aches with binaries that not too many people have run. Saying > > > something like that less than 5 people have run this binary :-) . Seems > > > like every time you run an exe for first time, Norton reports to some > > > central place or something. > > > > > > > > > On Thu, Apr 4, 2013 at 9:46 AM, bill lam <[email protected]> wrote: > > > > > > > Thanks for confirmation. I tested on a win-xp64 vm. net 4 has > > > > been installed, I download all NetJ binaries in linux and copy to > > > > windows. Both 32-bit and 64-bit were tested and both failed. > > > > > > > > I'll try again when I have access to another 32-bit win-xp real > > > > machine. > > > > > > > > Чт, 04 апр 2013, Greg Borota писал(а): > > > > > I have a virtual machine with XP on it. Only the x86 version works > in > > > > > there. I tried J.Console and it works just fine. > > > > > > > > > > 1) Do you have .NET 4? It can be downloaded from > > > > > http://www.microsoft.com/en-us/download/details.aspx?id=17718 > > > > > 2) Did you download all binaries from those folders? They depend on > > each > > > > > other e.g. J.Console.exe -> J.SessionManager.dll -> jsm.dll -> > > j32.dll. > > > > > J.SessionManager.dll is the PInvoke wrapper, jsm.dll is a wrapper > > around > > > > > j(32).dll to manage the huge JT struct variable, which I don't want > > to be > > > > > marshaled between .NET and native back and forth all the time. > > > > > > > > > > 3) You might need to right-click on binaries and say Unblock if you > > > > > downloaded them via a web browser or such. .NET fails with weird > > messages > > > > > which don't tell you anything in cases like this. If you don't have > > > > Unblock > > > > > button then this is not an issue. > > > > > > > > > > > > > > > On Thu, Apr 4, 2013 at 1:19 AM, bill lam <[email protected]> > > wrote: > > > > > > > > > > > I tried both but failed with message saying something like, > > > > > > the file is valid but not for your machine type. > > > > > > > > > > > > I used win-xp so that those executables probably targetted for > > > > > > vista or new. > > > > > > > > > > > > Ср, 03 апр 2013, Greg Borota писал(а): > > > > > > > Hotmail is terrible switching back to Gmail. > > > > > > > So here are the links to PInvoke Binaries: > > > > > > > > > > > > > > https://github.com/borota/NetJ/tree/master/J.701/x64 > > > > > > > https://github.com/borota/NetJ/tree/master/J.701/x86 > > > > > > > > > > > > > > The readme.txt file in each folder explains what each binary is > > for. > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > For information about J forums see > > > > http://www.jsoftware.com/forums.htm > > > > > > > > > > > > -- > > > > > > regards, > > > > > > ==================================================== > > > > > > GPG key 1024D/4434BAB3 2008-08-24 > > > > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > > > > > > > ---------------------------------------------------------------------- > > > > > > For information about J forums see > > http://www.jsoftware.com/forums.htm > > > > > > > ---------------------------------------------------------------------- > > > > > For information about J forums see > > http://www.jsoftware.com/forums.htm > > > > > > > > -- > > > > regards, > > > > ==================================================== > > > > GPG key 1024D/4434BAB3 2008-08-24 > > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
