Python和QuickBooks POS-SDK:COM文件使用什么字符串?

2024-04-25 18:19:04 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在QuickBooks POS和Python中的在线购物车之间创建一个集成应用程序。在

我在Python(http://blog.bflarsen.com/?p=132)中找到了使用win32库与QB-SDK交互的示例代码,但这段代码似乎已经过时,访问COM的字符串也已更改。在

文件中有这样的内容:

You can find examples of QBPOS communication in languages other than Visual Basic in the QBPOS SDK subdirectory \Samples\qbpos. For languages that are not sampled in that directory, refer to the COM interface definitions for the Request Processor API or, optionally, for the qbposFC library. These are in the abposXML and qbposFC type libraries, respectively, and can be viewed with various object browsers, such as the Visual Studio Object Browser.

但是,它不提供访问COM的字符串。在

谷歌什么也没发现。我在注册表中搜索了RequestProcessor,我能找到的唯一COM是QBPOSXMLRPC.RequestProcessor,这确实有效,但尝试连接到服务器,而不是与我的QuickBooks交互,这正是我需要的。在

我的问题是,什么是正确的COM文件使用?如果没有,是否可以将我的QuickBooks转换为RPC服务器?在

提前谢谢你!在


Tags: 文件the字符串代码incomforthat
1条回答
网友
1楼 · 发布于 2024-04-25 18:19:04

我需要用regsvr32注册DLL。在

regsvr32 "C:\Program Files\Common Files\Intuit\QBPOSSDkRuntime\QBPOSSMLRPLib.dll"
#       <"C:\path\to\intuit\install\dir\....">

此命令需要以管理员权限运行。在

因为这通常是在“程序文件”中,所以必须用引号将字符串包含在一个参数中。在

之后,COM字符串是QBPOSXMLRPLib.RequestProcessor在

^{pr2}$

希望将来能帮助别人。在

相关问题 更多 >