Hi. I'm getting a strange overflow error when control returns to VB from a DLL. The error does not occur on the DLL call line, nor on the line after. It occurs on the first attempt to assign a real number to a variable declared as single precision. Assignmenst to integers, boolean, etc., do not generate the error message. The error message should not occur as a result of the assignment statement. (X = 10).
My question is, how does VB generate error conditions? Why would the statement X = 10.0, result in an overflow when the previous line X_int = 10, works fine, provided X_int is declared as an integer.
Is something being passed through the DLL argument list that I can't see? Something that inadverdently generates a VB error interrupt?
I am completely stumped here as the interfaces ARE solid. The problem is NOT the interfaces but is either an inherent limitation of VB, (visual studio 6.0) or something in the DLL that is corrupting VBs memory.
I'm desperate at this point!!!
My question is, how does VB generate error conditions? Why would the statement X = 10.0, result in an overflow when the previous line X_int = 10, works fine, provided X_int is declared as an integer.
Is something being passed through the DLL argument list that I can't see? Something that inadverdently generates a VB error interrupt?
I am completely stumped here as the interfaces ARE solid. The problem is NOT the interfaces but is either an inherent limitation of VB, (visual studio 6.0) or something in the DLL that is corrupting VBs memory.
I'm desperate at this point!!!