Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

請問virtual C++ 的 multi-thread

0 views
Skip to first unread message

「中等帥巨蟹」

unread,
Aug 20, 2003, 2:25:26 AM8/20/03
to
《 在 cplusp...@binary.csie.ncu.edu.tw (嗯? 有妖氣) 的大作中提到: 》
: ※ 引述《airbob...@bbs.tku.edu.tw (「中等帥巨蟹」)》之銘言:
: : 我原本的程式workspace是開啟成Win32 Application
: : 現在想要將程式改成multi-thread
: : 請問可以在原本的設定下做嗎? 還是得要重寫另一個MFC AppWizard(exe)?
: 可以啊
: 你是要用sdk嗎??
: 用CreateThread...

請問SDK在virtual C++6.0底下要怎麼使用呢?

--
[m [1;5;31m�[;1;5m�[36m�[;1;5m�[32m�[;1;5m�[34m�[;1;5m�[35m�[;1;5mq [m
[m �[1;34mT [m�[36m�[m�[33m�[m�[1;33m@ [m�[35m�[m�[32m�[m�[1;34m�[m
[m [1;34m�[36mL [;37m�[1;33mo [36m�[35mp�[;1m�[36m�[32m�[m
[m [32m�[1;34m�[36m�[m�[1;35m�[m�[1;30m�[mp [1;33m�[m] [1;31m�[mn [1;32m�[mL [m

[m [1;36m※ 來源:‧蛋捲廣場 bbs.tku.edu.tw‧[FROM: 218.167.18.122] [m

好夢 好夢

unread,
Aug 20, 2003, 6:43:41 AM8/20/03
to
※ 引述《airbob...@bbs.tku.edu.tw (「中等帥巨蟹」)》之銘言:
: 《 在 cplusp...@binary.csie.ncu.edu.tw (嗯? 有妖氣) 的大作中提到: 》
: : 可以啊
: : 你是要用sdk嗎??
: : 用CreateThread...
: 請問SDK在virtual C++6.0底下要怎麼使用呢?
^^"...很怪的問法...
#include<windows.h>
這樣 可以用 thread了...
不過如果你是要寫 console mode 程式的話 請注意 你的C runtime library最好是用
multi-thread 版的 除非你知道你在做什麼 才用single-thread 版的

--

--
[m [1;33;46m〒作者:cplusplus 來自:229011.D18-229.ncu.edu.tw [m
[1;36m◎二進位的世界 [37m【140.115.50.50‧binary.csie.ncu.edu.tw

softwa...@bbs.cs.nthu.edu.tw

unread,
Aug 20, 2003, 6:56:30 AM8/20/03
to
※ 引述《airbob...@bbs.tku.edu.tw (「中等帥巨蟹」)》之銘言:
> 《 在 cplusp...@binary.csie.ncu.edu.tw (嗯? 有妖氣) 的大作中提到: 》
> : 可以啊
> : 你是要用sdk嗎??
> : 用CreateThread...
> 請問SDK在virtual C++6.0底下要怎麼使用呢?

是Visual C++.......virtual是虛擬的意思

如果有人能在網路上跟你解釋SDK怎麼寫
他可有得打字了

建議去翻一下Programming Windows..
--
※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: thccy11.oz.nthu.edu.tw

「中等帥巨蟹」

unread,
Aug 20, 2003, 10:53:57 AM8/20/03
to
《 在 cplusp...@binary.csie.ncu.edu.tw (好夢 好夢) 的大作中提到: 》
: ※ 引述《airbob...@bbs.tku.edu.tw (「中等帥巨蟹」)》之銘言:

: : 《 在 cplusp...@binary.csie.ncu.edu.tw (嗯? 有妖氣) 的大作中提到: 》
: : : 可以啊
: : : 你是要用sdk嗎??
: : : 用CreateThread...
: : 請問SDK在virtual C++6.0底下要怎麼使用呢?
: ^^"...很怪的問法...

: #include<windows.h>
: 這樣 可以用 thread了...
: 不過如果你是要寫 console mode 程式的話 請注意 你的C runtime library最好是用
: multi-thread 版的 除非你知道你在做什麼 才用single-thread 版的

喔喔。我是寫win32 console application。不過 #include<windows.h> 加上去,
project settings中use runtime libary換multithreaded或multithreaded DLL或
debug multithreaded 或 debug multithreaded DLL 。還是會出現錯誤ㄝ....
像是:error C2065: 'AfxBeginThread' : undeclared identifier

0 new messages