Is the DLL called from 64-bit J a 64-bit DLL?

It looks like it's impossible to mix 64 and 32-bit
code (calling DLLs in any direction). One of the ways
to obviate it is to use IPC (inter-process communication)
and surrogate processes:

http://www.dnjonline.com/article.aspx?ID=jun07_access3264

Which may suggest that it would be easier to make
the call into an out-of-process COM component (ActiveX EXE),
which uses this sort of setup behind the scenes.

Incidentally the role of out-of-proc server could be played
by J itself:
  64-bit J uses COM to call 32-bit J, 
  which in turn calls 32-bit DLL. 


--- Kairit Sirts <[EMAIL PROTECTED]> wrote:

> Hi!
> 
>  
> 
> I'm again stuck with my syllabification dll. I have 64bit computer and I
> have there both 32bit and 64bit J.  When I call the dll form 32bit J then
> everything works fine, but calling it from 64bit J causes cd error with
> cder'' result 1 0.
> 
>  
> 
> My system is configured by following the guidelines a got from this forum:
> 
>  
> 
> I was able to get beyond the 1 0 error.  I used the downloads from 
> 
> http://www.eki.ee/tarkvara/silbitus/ .  I used the following steps:
> 
>  
> 
> 0. Create C:\j601\addons\syllabif.
> 
> 1. Unzip http://www.eki.ee/tarkvara/est_morpho_data.zip into it.
> 
> 2. Unzip http://www.eki.ee/tarkvara/silbitus/syll_code.zip into it.
> 
> 3. Use the following code:
> 
>  
> 
> script_z_ '~system\main\dll.ijs'
> 
>  
> 
> syllabify=: >@{.@('C:\j601\addons\syllabif\syllabif.dll syllabify i i'&cd)
> 
>  
> 
> foo=: 3 : 0
> 
> 1!:44 'C:\j601\addons\syllabif'
> 
> syllabify <'This is a test'
> 
> )
> 
>  
> 
> 4. test:
> 
>  
> 
>     foo''
> 
> |domain error: cd
> 
> |       syllabify<'This is a test'
> 
>     cder''
> 
> 6 0
> 
>  
> 
> I configured everything the same way with J601_64, directory names changed
> accordingly, of course.
> 
>  
> 
> Any idea, what could possibly cause the problem?
> 
>  
> 
> Kairit Sirts
> 
>  
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



      
____________________________________________________________________________________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  
http://overview.mail.yahoo.com/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to