|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
错误提示fatal error LNK1104: cannot open file "acrx.lib",怎么解决?程序为:' w$ k4 {& h/ s- ]5 E/ k, O
#include "stdio.h"0 Z2 K" h7 s& h' J+ F9 B
#include "conio.h": k3 ~7 ^* K& d9 ?% t
#include <aced.h>
- @$ g: f/ t0 L3 I r#include <rxregsvc.h># N; ]+ B* @0 m2 _8 ?
#include "acedads.h"" A! C; h; y9 V. | V2 ]) z
#include <adscodes.h>
7 H5 F) u" x& K: Y$ Avoid initApp();
4 E/ ^0 [: g0 P8 }/ b4 p6 e' cvoid unloadApp();; W( h ?6 v2 D: H1 H7 g/ v: i
void usr_app();3 h. t. R$ ~, j9 c5 v
void initApp()0 b# H! Y8 z# v$ O
{) [5 {7 K6 y9 p# m
acedRegCmds->addCommand("Hello_COMMANDS",( P' s. s2 W0 c/ N) A
"Hello",
. {8 c* R9 r+ N( B "Hello",. x3 C3 r ?- H
ACRX_CMD_TRANSPARENT,: x2 c1 _& h+ J, V" F( N' d
usr_app);
( \; W, N- g8 Z P# M }
, [; y; R( {* D void unloadApp()/ |, t5 K o- m: G
{
( e. C& k" r9 O s( @1 l* r acedRegCmds->removeGroup("Hello_COMMANDS");: D; a+ C# {/ ?* W1 m' g) V
}
, Q- d& D. L1 S+ j: ?& W2 w' _ extern "C" AcRx::AppRetCode
, d8 `% F% G2 x/ W( ?) ^ acrxEntryPoint(AcRx::AppMsgCode msg,void* pkt)% k' f- r) ]# u- U$ A- Z
{
; o, h! o' s2 ~+ u1 d+ A( x2 z switch (msg)
0 L8 j/ k& n$ {- u* x { D9 L& |2 w) d( M
case AcRx::kInitAppMsg:' ?% E3 ?7 H' ~( `( O) H
acrxDynamicLinker->unlockApplication(pkt);9 N# e* ~$ h, F/ l% Z
acrxRegisterAppMDIAware(pkt);& b7 I* k& x; a1 F+ j2 s: `
initApp();$ b# g9 q$ R5 v. T. c( r+ @& ?) V
break;2 X/ w% G* P3 n; `" k! p6 O) m
case AcRx::kUnloadAppMsg:# ?" ]* z8 E: w/ q
unloadApp();, F4 t# H( h# D0 ^, f% S
break;
* K3 X* ]' c/ L default:8 J% G" M+ j' w, D) V. i4 T: Y2 z
break;2 O1 G6 o5 b7 |$ n% j
}4 H" `. U* V7 `) l5 J7 n2 s8 l4 n
return AcRx::kRetOK;3 L% H6 \7 D) f# ~' P3 s
}
5 c' t L) e! v5 E+ l% c void usr_app()
) K, B, T2 s6 ?2 Q n% C {+ d4 x1 M5 v' P9 l- s+ f
acedCommand(RTSTR,"CIRCLE",RTSTR,"280,150",RTSTR,"90",0);% O! P) C: ~5 C8 i1 e' t: \
acutPrintf("\nHello,World!");
7 y( L* W3 n+ n: V) Q }! H* t4 A% ]- w
请高手指点指点!着急啊! |
|