And I find the directory of masm32\include and masm32\lib, does not find "MSVCRT.inc" ,nor "MSVCPRT.LIB"

To prove this, I test in one project:

include \masm32\include\windows.inc include \masm32\include\masm32.inc include \masm32\include\gdi32.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc include \masm32\include\Comctl32.inc include \masm32\include\comdlg32.inc include \masm32\include\shell32.inc include \masm32\include\oleaut32.inc include \masm32\include\dialogs.inc include \masm32\macros\macros.asm include \masm32\include\debug.inc ;added 2005-11-05 include winio.inc include \masm32\include\msvcrt.inc; include \masm32\include\process.inc

Hi,ti_mo_n I would like to use _beginthread rather than CreateThread: the former has only 3 params,latter has 6 . And the same time ,I would like to know where are the C RUNTIME LIBRARY and its include file locating in MASM? Thanks. RGS???

I don't know about MASM, but when I used TASM, I could use a tool to convert c++ .h files to TASM's .inc files. TASM also has a tool to make .lib's and .def's from .dll's. Try looking for such tools for MASM.

Hi, Greg Thanks for your affording link. But,..., what else could I say? I forget to tell U that we CAN'T access Http://www.masmforum.com,only I guess it's because the Chinese Internat' provicy. The words like "forum","nation","policy","free..." ,etc . most sensistive ,related with Chinese Goverment' key word and website is blocked from us. Unfortunately, the "MASMFORUM" is combined with "MASM" +" FORUM ", and "FORUM" is an forbidden word of Chinese.

I think that if "www.masmforum.com" is renamed with "www.masmbbs.com",or "www.masm32community.com", may be accessed by us. ( Joke,not real,:grin:)

O.K. finally , would you do me a favor of posting what you just linked ,right here? Many thanks.

Unzip this on the same partition as you have MASM32 installed and run the batch file and it should create for you a MSVCRT library and include file. Use the following Microsoft URL for reference material for it.

If the library and include file build OK, put them in their respective INCLUDE and LIB directories in the MASM32 installation. This will give you almost all of the C runtime function built into MSVCRT.DLL.

Hi, Hutch Thank,with any word. It works. Well, come on ,would you do us all a favor to include the "msvcrt.inc" and "msvcrt.lib" in your next release version of MASM32 ,instead of hide this secret weapon for yourself, if it does not disobey the so-called American patent law? (a Joke) ... And, if I use the create thread function in MASM32,it looks like:

invoke crt_beginthread,param1,param2,param3

and works fine. Butl, the prefix "crt_" make me feel uncomfortable ,for its not so simple and pure.Would U improve your tool "makecimp.exe" to remove the prefix" crt_" for us MASM32 users? I know this would trouble you,but I would like it this:

msvcrt.inc and msvcrt.lib are included in the latest masm32 release.Too bad the Chinese government is too afraid of letting its people have access to information,knowledge is a dangerous thing. :mrgreen:, JOKE

Butl, the prefix "crt_" make me feel uncomfortable ,for its not so simple and pure.Would U improve your tool "makecimp.exe" to remove the prefix" crt_" for us MASM32 users? I know this would trouble you,but I would like it this:

invoke beginthread param1,param2,param3

The 'crt_' prefix was added so that some of the C Run-time library functions that have the same name as functions in the MASM32 library would not conflict. This way you can use both libraries together. Otherwise you would get many redefinition errors. Get over it. :D

Hi, Thanks for all of your gays .You're so kind. You remind me of the difference of C RUNTIME LIBRARY and general library. These days I spend a lot of time seeking for a free Proxy server in US to access the MASMFORUM website,and finally give it up for most of these proxy server are expired . Well ,would you please tell me the direct IP address of MASMFORUM , I would try it in the Address column,I think may be the Chinese Domain Name Service may forgive these numbers: such 69.200.255.255. :lol:

http://search.yahoo.com/search?p=freeproxy&prssweb=Search&ei=UTF-8&fl=0&pstart=1&fr=FP-tab-web-t&b=11you can't see www.masmforum.com;but you can see freeproxy, and freeproxy can see www.masmforum.com;so you can see www.masmforum.com with the freeproxy

Hi, ti_mo_n I'm now using my office's computer, can't change the LAN Settings and IP address ,for my Boss' monitor software("INCOPS3")will record everything you done About 2 hours later ,when I back to home,I will test this link and post the result. I hope it will work. Thanks.