Question about calling the createoleobject function (on the u86 login interface)
Source: Internet
Author: User
Questions about calling the createoleobject function (u86 login interface call by uyou) Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiAPI/html/delphi_20061129223145148.html
I used createoleobject to call the COM control and tracked it and found that there was no problem when using the function. when calling the function in it, the first debugging call was successful, and the second operation reported that the computation overflow or underflow, I don't know why. I used Import Type libary to install the DLL and cannot obtain the classes in the DLL. The following sections Code (I am working on UF's financial interface. This is an error in calling the login window)
VaR
M_netlog: olevariant;
Begin
M_netlog: = createoleobject ('ufsoft. u8.framework. login. UI. clslogin ');
If not m_netlogin.login_2 ('dp ') Then // The logon interface is successfully used in this sentence. Click Cancel in the logon window and debug the call, computing overflow or underflow error is reported for this sentence.
Showmessage (m_netlogin.errdescript)
Else
Showmessage ('login OK ');
End;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service