DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: melqui
今日帖子: 4
在线用户: 1
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/14 0:34:55
标题:
请教远程桌面ActiveX控件怎么调整分辨率 浏览:1953
加入我的收藏
楼主: TMsRdpClient9 想远程桌面分辨率随 FormResize 自动调整,不知道用哪个
此帖子包含附件:
PNG 图像
大小:20.1K
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/7/14 6:33:42
1楼: @Dalas

Maybe help you...

THIS:
https://jussiroine.com/2019/04/making-remote-desktop-fun-again-dynamic-resizing-and-resolution-changes-while-connected/

a GitHub project non-MS
https://github.com/Terminals-Origin/Terminals

NOTE: Microsoft Store app is not same than MSWindows-native app
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/14 20:31:02
2楼: @emailx45 (emailx45)

这个项目,跟我一样的问题,也没有自适应。
另外,用 MobaXterm 连接远程桌面,发现它是通过先断开,再重新登陆,达到适应窗口。
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/7/14 22:59:47
3楼: in some articles, somes developers talking about use of Microsoft Terminal using from "Microsoft App Store", but thay talk that this "app" is a "lite version" from app-native in MSWindows installation. and with this "lite version" is possible have a "update automatic" in terminal-screen according with "display" size on client.

verify this information.

hug
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/7/14 23:06:28
4楼: I have tryed install the "ActiveX" on "Components" menu, in RAD Studio 10.3.3 Arch, but i have this error... do you know it?

---------- 
generate by IDE -> Components -> Install -> ActiveX -> Microsoft Terminal Serices Active Client 1.0 Type Library
---------
// File generated on 14/07/2021 12:04:50 from Type Library described below.
...
  IMsRdpClientAdvancedSettings = interface(IMsTscAdvancedSettings)
...
property ConnectWithEndpoint: POleVariant1 write Set_ConnectWithEndpoint;   <----------
...

--> [dcc32 Error] MSTSCLib_TLB.pas(1060): E2008 Incompatible types

----------

and dont compile or install in my IDE.
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/15 15:13:12
5楼: 以窗口模式登陆远程桌面,改变窗口大小,远程桌面就不会自动适应窗口大小,旁边出现空白区域了
此帖子包含附件:
PNG 图像
大小:56.7K
----------------------------------------------
-
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/15 15:14:16
6楼: @emailx45 (emailx45)

新创建的 MSTSCLib_TLB.pas 是有这个错误,如下改一下就可以编译了:

    //procedure Set_ConnectWithEndpoint(const Param1: OleVariant); safecall;
    procedure Set_ConnectWithEndpoint(const Param1: POleVariant); safecall;

OleVariant 改成 POleVariant
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/7/15 22:31:19
7楼: @Dalas

my scenary:
-- MSWIndows 10 Enterprise 21H1 build 19043.1110


your "POleVariant"  DONT WORKS HERE...

BUT "POleVariant1"  WORKS!... COMPILED WITHOUT ERRORS!

stay:
;;;
IMsRdpClientAdvancedSettings = interface(IMsTscAdvancedSettings)
...
    // procedure Set_ConnectWithEndpoint(const Param1: OleVariant); safecall;
     procedure Set_ConnectWithEndpoint(const Param1: POleVariant1); safecall;
    //
...
    property ConnectWithEndpoint: POleVariant1 write Set_ConnectWithEndpoint;
;;;
  end;


---------- unit MSTSCLib_TLB.pas;
....
  // **********//
  // Declaration of structures, unions and aliases.
  // **********//
  wireHWND     = ^_RemotableHandle;
  POleVariant1 = ^OleVariant; { * }   /// line 463
  PWordBool1   = ^WordBool;   { * }
  PInteger1    = ^Integer;    { * }
;;;
----------

thanks
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/16 0:36:26
8楼: POleVariant1 和 POleVariant 其实是一样的,只是在不同地方定义的,我是把
property ConnectWithEndpoint: POleVariant write Set_ConnectWithEndpoint;
这里也改成 POleVariant,忘了说了。这两个地方都改成 POleVariant,是可以编译通过的。用 POleVariant1 或许更好些吧,同一个地方定义和使用。
此帖子包含附件:
PNG 图像
大小:234.9K
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/7/16 4:52:12
9楼: ok!

@Dalas

is possible you send me your code to create and call the MSTerminal (RDP) in your project?

I'm want learn a little more about this part. Im dont know very so much this API, then, I would like try something for test here.

If not possible, dont worry.

if you can, send me on email: emailx45----yahoo----com----br

hug
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/16 23:47:20
10楼: 邮件已发
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2021/7/17 3:39:09
11楼: @Dalas

感谢您的理解!
我会努力学习,看看我是否能学到更多。
拥抱
----------
Thank you for your understanding!
I will try to study to see if I learn a little more.
hug
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/7/29 10:59:14
12楼: 无法调整分辨率,有没有人知道怎么搞?
此帖子包含附件:
PNG 图像
大小:24.5K
----------------------------------------------
-
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/8/1 11:06:58
13楼: 基本功能差不多都做好了,试一试,哈哈
首次运行创建数据库(SQLite),设置密码(也可以不设置密码,但数据库文件不会加密,记事本打开就能看到账号密码),左边TreeView上右键添加目录和站点
此帖子包含附件:dalas_202181113416.rar 大小:1.72M
----------------------------------------------
-
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2021/8/1 11:20:24
14楼:
此帖子包含附件:
PNG 图像
大小:30.6K
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行136.7188毫秒 RSS