在运行时编译? [英] Compile at runtime?

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

问题描述

大家好,


是否可以在运行时执行''CompileAndSaveAll'这样的命令?


在新的应用中我使用的是一个代码库。 (该应用程序仍在更改,也是codelib)

我在启动时使用代码将此lib添加到引用。


通过添加lib,db进入''反编译''状态。

我想在运行时编译或者这不需要吗?


顺便说一句:我也用代码删除了这个lib应用关闭。


有什么想法吗?


Arno R

Hi all,

Is it possible to execute a command like ''CompileAndSaveAll'' at runtime?

In a new app I use a codelibrary. (The app is still changing, codelib also)
I add this lib to the references at startup with code.

By adding the lib the db enters a ''decompiled'' state.
I would like to compile at runtime or is this not needed?

Btw: I also remove this lib with code when the app closes.

Any ideas?

Arno R

推荐答案



" Arno R" < AR *********** @ tiscali.nl>在消息中写道

news:43 ******************** @ dreader2.news.tiscali。 nl ...

大家好,


是否可以在运行时执行''CompileAndSaveAll'这样的命令?

在新的应用程序中,我使用了一个代码库。 (该应用程序仍在更改,也是codelib)

我在启动时使用代码将此lib添加到引用。


通过添加lib,db进入''反编译''状态。

我想在运行时编译或者这不需要吗?


顺便说一句:我也用代码删除了这个lib应用关闭。


有什么想法吗?


Arno R

有趣的问题。我不是专家,所以我很想看到

其他人对此的答复(过去,Michka非常擅长这些类型的问题)。这是我的理解,编译总是按需要完成,

所以没有必要强迫它。但是,库中的代码是不是已经编译好了?


兰迪


"Arno R" <ar***********@tiscali.nl> wrote in message
news:43********************@dreader2.news.tiscali. nl...
Hi all,

Is it possible to execute a command like ''CompileAndSaveAll'' at runtime?

In a new app I use a codelibrary. (The app is still changing, codelib also)
I add this lib to the references at startup with code.

By adding the lib the db enters a ''decompiled'' state.
I would like to compile at runtime or is this not needed?

Btw: I also remove this lib with code when the app closes.

Any ideas?

Arno R
Intriguing question. I am no expert so I''m anxious to see replies from
others to this (in the old days, Michka was really good at these kinds of
questions). It''s my understanding that the compile is always done as needed,
so there is no need to force it. But, wouldn''t the code in the library be
already compiled anyway?

Randy


是的!


为什么你不接受沙拉的建议并长大并获得生命并退出

发送发送电子邮件到我的办公室。


如果你有什么贡献给小组,请捐款。你的战争

与数据表只是在风中骚扰和呻吟,为了

没什么。成长并获得生命。


沙拉


-

PC数据表

您的资源以获取Access,Excel和Word应用程序的帮助
re******@pcdatasheet.com
www.pcdatasheet.com

如果您无法在新闻组中获得所需的帮助,我可以帮助您支付非常合理的费用。超过1000名访问用户来找我寻求帮助。

需要一个月历或7天日历吗?需要预约安排?需要

房间预订安排?需要员工的工作安排?联系我!


" Arno R" < AR *********** @ tiscali.nl>在消息中写道

news:43 ******************** @ dreader2.news.tiscali。 nl ...

大家好,


是否可以在运行时执行''CompileAndSaveAll'这样的命令?

在新的应用程序中,我使用了一个代码库。 (该应用程序仍在更改,也是codelib)

我在启动时使用代码将此lib添加到引用。


通过添加lib,db进入''反编译''状态。

我想在运行时编译或者这不需要吗?


顺便说一句:我也用代码删除了这个lib应用关闭。


有什么想法吗?


Arno R
YES!

Why don''t you take Salad''s advise and grow up and get a life and quit
sending emails to my office.

"If you have anything to contribute to the group, contribute. Your war
with Datasheet is simply pissing and moaning in the wind for the sake of
nothing. Grow up and get a life."

Salad

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

If you can''t get the help you need in the newsgroup, I can help you for a
very reasonable fee. Over 1000 Access users have come to me for help.
Need a month calendar or 7 day calendar? Need appointment scheduling? Need
room reservations scheduling? Need employee work scheduling? Contact me!

"Arno R" <ar***********@tiscali.nl> wrote in message
news:43********************@dreader2.news.tiscali. nl...
Hi all,

Is it possible to execute a command like ''CompileAndSaveAll'' at runtime?

In a new app I use a codelibrary. (The app is still changing, codelib also)
I add this lib to the references at startup with code.

By adding the lib the db enters a ''decompiled'' state.
I would like to compile at runtime or is this not needed?

Btw: I also remove this lib with code when the app closes.

Any ideas?

Arno R




" Randy Harris" < RA *** @ SpamFree.com> schreef在bericht新闻:V9 **************** @ newssvr30.news.prodigy.com ...

"Randy Harris" <ra***@SpamFree.com> schreef in bericht news:V9****************@newssvr30.news.prodigy.com ...

有趣的问题。我不是专家所以我很想看到
其他人对此的回复(过去,Michka对这些问题非常擅长)。我的理解是编译总是按需要完成,所以没有必要强迫它。但是,无论如何,库中的代码是否已编译好了?

Randy

Intriguing question. I am no expert so I''m anxious to see replies from
others to this (in the old days, Michka was really good at these kinds of
questions). It''s my understanding that the compile is always done as needed,
so there is no need to force it. But, wouldn''t the code in the library be
already compiled anyway?

Randy




得到了一个有趣的答案来自我们共同的朋友。让我们忽略那个......


当我交付这个codelib.mde时,库中的代码确实被编译了

但这个库是添加到应用程序的refs,应用程序不再编译。

再次:我不确定它是否伤害,但如果需要,我想编译。 />

顺便说一句:这个应用程序是一个mdb,codelib是一个mde。

这是我正在和同事一起开发的应用程序。

我几个星期前问了一个问题。


Arno R



Just got an intriguing answer from our mutual friend. Let''s ignore that one...

The code in the library is compiled indeed when I deliver this codelib.mde
BUT when this library is added to the refs of the application, the application is not compiled anymore.
Again: I am not sure if it ''hurts'', but I would want to compile if that is needed.

Btw: This application is an mdb, codelib is an mde.
This is the app I am/was developing with a co-worker.
I asked a question about that a few weeks ago.

Arno R


这篇关于在运行时编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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