能否在平板电脑上运行我的Windows 8 C/go/html程序?

huangapple go评论66阅读模式
英文:

Is it possible to run my Windows 8 C/go/html program on a tablet

问题

我正在使用Go/C编写后端程序,使用JavaScript/HTML编写前端。这不是一个Web应用程序,但它运行一个本地服务器,将数据发送给客户端(firefox)。然后客户端显示这些数据,并使用Websockets将任何用户交互发送回服务器。

后端部分使用C部分编写,因为我必须动态加载一个32位DLL文件来与我的硬件通信。硬件(我已经获得了64位和32位驱动程序)通过USB将其数据发送到我的后端,后端处理并将其显示到前端。硬件、驱动程序和DLL文件来自第三方,所以我改变它们的机会非常低。

我使用GCC(MinGW)作为C代码的编译器,因为Go和Microsoft的编译器不太兼容,我使用32位编译器,因为我加载了一个32位的DLL。

该程序在我的64位联想Thinkpad上编译和运行,运行的是Windows 8专业版(在传统模式下运行),但现在我想知道是否可以在Windows平板电脑上运行相同的程序。不幸的是,我没有Windows平板电脑,那么我如何确定它是否能在平板电脑上运行而不实际购买一个呢?我知道Microsoft有一种模拟器,但它能与GCC一起使用吗?平板电脑的处理器架构会有影响吗?相同的驱动程序会起作用吗?DLL文件会起作用吗?

英文:

I am writing a program in Go/C for the backend and JavaScript/HTML for the front-end. It is not a web application but it runs a local server which sends data to the client(firefox). The client then displays this data and sends any user interaction back to the server using websockets.

The backend is written partially in C since I have to dynamically load a 32 bit DLL file to communicate with my hardware. The hardware (for which I have aquired both 64 and 32 bit drivers) sends its data via USB to my backend which processes and displays this to the frontend. The hardware, drivers and DLL file are from a third party so my chances of changing any of those are very low.

I use GCC (MinGW) as compiler for the C code since Go and Microsoft's compiler didn't get along very well and I use the 32 bit compiler since I am loading a 32 bit DLL.

The program compiles and runs on my 64 lenovo Thinkpad with Windows 8 professional(running it in legacy mode) but now I wonder if it would be possible to run the same program on a Windows tablet. Unfortunately I don't have a Windows tablet so how can I determine if it will work on a tablet without actually buying one? I know that Microsoft has some sort of emulator but will it work with GCC? Will the processor architecture of the tablet matter? Will the same drivers work? Will the DLL file work?

答案1

得分: 1

是的,如果平板电脑运行Windows 8的话。如果平板电脑运行Windows RT的话,则不支持。例如,

微软Surface - 新的平板电脑

Surface Pro规格

Surface RT规格

哪款Surface适合您?- SKU选择器

英文:

Yes, if the tablet runs Windows 8. No, if the tablet runs Windows RT. For example,

Surface by Microsoft - the New Tablet PC

Surface Pro specifications

Surface RT specifications

Which Surface is right for you? - SKU Chooser

huangapple
  • 本文由 发表于 2013年6月14日 21:59:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/17110290.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定