foxpro和dll [英] foxpro and dll

查看:147
本文介绍了foxpro和dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有

我有一个很大的应用程序

I have a big application

表格中存在的所有代码以及prg文件中的其他代码

all the codes inside application present at the form and tho other at prg file

我想开始将我的应用程序转换为使用dll文件

I want to start convert my application to be using dll files

和exe文件只调用dll

and exe file only call dll

我不知道怎样才能创建一个dll?

I don't know how can i create a dll?

可以在dll文件中创建一个游标,我的表单接收这个游标来执行某些功能吗?

could dll file create a cursor and my form recieve this cursor for doing some function?

可以dll文件从表单接收光标并执行活动吗?

could dll file recieve cursor from form and do activity?

我可以使用dll在报表中执行某些功能吗?

can i use dll for doing some function inside a report?

我的想法是好还是坏?

提前谢谢

推荐答案

DLL不会帮助你。您只能创建COM服务器DLL,它们总是会运行自己的会话,即使您没有基于会话类。

DLLs won't help you that way. You can only create COM Server DLLs and they always will run with their own session, even if you don't base them on the session class.

您可以将库放在APP或EXE文件中,有一些主要的prg不会做任何事情。

You can put libraries in APP or EXE files, with some main prg that won't do anything.

但是你没有获得太多收益,只引入了可能的困难和依赖关系,你在同一个EXE中没有任何东西。  

But you don't gain much and only introduce possible difficulties and dependencies, you don't have with anything in the same EXE. 

再见,奥拉夫。


这篇关于foxpro和dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆