i find solution my problem with undocument functions, this resolve the problem:
; declaration type
Type prueba
Field nombre$
End Type
; set values
test.prueba = New prueba
test\nombre$ = "a ver si rula.... works!!"
; get the handle of type and set null, the handle is always 32bits in blitz3d :)
; i call dll with this integer value
phandle% = Handle( test )
test = Null
; get type from handle, i get int in call dll and convert this int to type
testfinal.prueba = Object.prueba( phandle )
; test message
Print testfinal\nombre$
WaitKey
; declaration type
Type prueba
Field nombre$
End Type
; set values
test.prueba = New prueba
test\nombre$ = "a ver si rula.... works!!"
; get the handle of type and set null, the handle is always 32bits in blitz3d :)
; i call dll with this integer value
phandle% = Handle( test )
test = Null
; get type from handle, i get int in call dll and convert this int to type
testfinal.prueba = Object.prueba( phandle )
; test message
Print testfinal\nombre$
WaitKey