CallDLL and Long Far Pointer Return 
Author Message
 CallDLL and Long Far Pointer Return

I've been trying to get calldll to return a long far pointer back from a dll
function call.  I've tried every PyArg_ParseTuple type there is and still
crash upon calling the function.  All of my other functions work flawlessly
in this program and I've narrowed it down to the return type.

I was able to compile a module with C that returns the proper type but want
to avoid having to do that for the other 20 or so dll functions that return
the same type.

The function prototype claims it is returning a LONG FAR Pascal.

Has anyone seen this and/or been able to get around it?

I'm running python 1.5.2 with Win32 extensions build 127.

Thanks ahead of time for any help.


Mon, 01 Jul 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. getting return values from calldll

2. Returning Pointer To Pointer From Function

3. Long post : Full lists of errorcodes I've found so far (with a few solutions)

4. launching a simple VISA-related VI takes far too long

5. Far Pointers and String Instructions

6. far pointer in assembler question

7. Please I would appreciate some input, Far pointer from C++ to asm

8. NASM: How to declare a far pointer?

9. Watcom C/C++ & far pointers

10. les, far pointer on linux

11. Creating a FAR pointer in MS fortran

12. Further enhancements for Tcl hash table [LONG PATCH]


Powered by phpBB® Forum Software