goooch
3rd March 2004, 12:47
Hi All
How to recognize client OSes (and bx, bw, ba) from Baan IV script?

Thanks

dorleta
3rd March 2004, 13:45
perhaps of this way:

long srv_data(SRVMAXSIZE)

on case get.display.data(srv_data)
case DSNOSERVER: | Is this possible ???
| Error
break
case DSBA: | ASCII interface
| BA
break
case DSBW:
| BW
break
case DSBX:
| BX
break

endcase

Hitesh Shah
3rd March 2004, 13:56
U can get client OS with following command besides UI (ba,bx,bw etc)

srv.display.os.type(server_data) like
- DSBW_WIN_311
- DSBW_WIN_NT
- DSBW_WIN_95
- DSBW_WIN_98

goooch
3rd March 2004, 14:56
Thank you
Sounds good, but ...

win98 and win2000 look like DSBW_WIN_95 and using DSBW_WIN_98 raise compile error (although maybe this macro is located in the later service pack that I have)

And what about version of bw?

Hitesh Shah
3rd March 2004, 16:23
Help on this aspect does not specify these OS's (viz. DSBW_WIN_98 and later version) . Ours is SP12. I wrote it just on assumption that like 95 there should also be 98.

I think the distinction between this 3.11, NT and 95 is because of some technical difference the way BW works on all these OS. If u test , the program will return only DSBW_WIN_95 for all the later windows OS.

I don't think there is a way to know about BW version . Some body can shed light.

NPRao
3rd March 2004, 19:59
This looks like an old topic discussed many times.

Refer to the links -

Client Info (http://www.baanboard.com/baanboard/showthread.php?s=&postid=37887#post37887)

Client type (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=1705&highlight=client)

Hitesh, in the newer BW versions you can find the BW version info too.

goooch
4th March 2004, 09:08
Sorry for old topic, i was in a hurry

For information: GetFileVersionInfo for ONE BW client for different oses gives different results (W2000 shows "6.1.3.67", W98 - "B40c.67" ), why?

Thank you