游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1070|回复: 2

VC++ Win32 Static Library Project's entry point

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2006-4-17 00:43:00 | 显示全部楼层 |阅读模式
VC++ Win32 Static Library Project's entry point是main(int,char**)??
Entry point可以是WinMain??
int WINAPI WinMain(HINSTANCE hinstance,
                   HINSTANCE prevInstance,
                   PSTR cmdLine,
                   int showCmd)

Win32 Dynamic-Link Library的entry point就固定是DllMain??
BOOL APIENTRY DllMain( HANDLE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved)

60

主题

1319

帖子

1319

积分

金牌会员

Rank: 6Rank: 6

积分
1319
发表于 2006-4-17 08:50:00 | 显示全部楼层

Re:VC++ Win32 Static Library Project's entry point

静态库不需要入口点。DLL的DllMain也不是必需的

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
 楼主| 发表于 2006-4-17 21:52:00 | 显示全部楼层

Re:VC++ Win32 Static Library Project's entry point

多?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-24 05:28

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表