think the question/discuss fit better in this place..
im very excited by the new inputbox popup, but i tried all the afternoon varous cast wide_char/string ect and still fail
the most simple/ logical way for me to test at first was:
AnsiCharPtr test; test = sdkDialogInputBox("Enter value: ", "value:", "no name"); ///caption,prompt,dft sdkTraceChar(test);
could anyone find the trick? olivier heelllllllllllllllp ^^
still failing arf, did the following workaround by waiting enlights:
creating 'popup' datafield and/or textfields inputs parameters, and set them via iml queries from the module works, but less sexy ..
sdkSendUsineMsg("INPUT_QUERY_VALUE 'Enter value: ' POPUPVALUE 50");
sdkSendUsineMsg("SET_VALUE USER popup POPUPVALUE");
The new routine doesn't seem to work. After each query it returns an empty string, whether you enter anything in the box or not.
The returned pointer is different every time, but always points to a memory location with the NULL character ('\0') in it.
If it was returning Unicode like the new settings string does, you would at least see the first character.
So it might need to be a bug report.
Last edited by sm_jamieson (2018-01-09 21:41:48)