1. sendBlat help

Can someone tell me what this error is telling me?

C:\Acutrack\bin\opr400.exe:10535 in function sendBlat() c_proc/c_func: bad routine number (-1)

Is this a missing blat.dll??

new topic     » topic index » view message » categorize

2. Re: sendBlat help

GeorgeWalters said...

Is this a missing blat.dll??

Sounds like it. Can you echo back the variable you're assigning to open_dll()?

atom blat 
blat = open_dll( "blat.dll" ) 
? blat 


If it's zero, then the library was not found. Is it in a location under your PATH?

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: sendBlat help

GeorgeWalters said...

Can someone tell me what this error is telling me?

C:\Acutrack\bin\opr400.exe:10535 in function sendBlat() c_proc/c_func: bad routine number (-1)

Is this a missing blat.dll??

George:

Here is the web site referred to by Michael Raley in the archive.

http://www.blat.net/

I looks like a bad callback but I am not familiar with software.

new topic     » goto parent     » topic index » view message » categorize

4. Re: sendBlat help

Thanks, guys. It was a missing blat.dll. The computer was remote from me and I needed to tell the local pc guy what to look for. I think for the future I'll mod sendBlat and check the return code and print a meaningful message where Greg put ?blat.

new topic     » goto parent     » topic index » view message » categorize

5. Re: sendBlat help

GeorgeWalters said...

Thanks, guys. It was a missing blat.dll. The computer was remote from me and I needed to tell the local pc guy what to look for. I think for the future I'll mod sendBlat and check the return code and print a meaningful message where Greg put ?blat.

I always do something like this:

global function link_dll( sequence name ) 
 
    atom dll 
 
    dll = open_dll( name ) 
    if dll = 0 then 
        printf( 2, "Unable to link dll: %s\n", {name} ) 
    end if 
 
    return dll 
end function 


-Greg

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu