www.digitalmars.com [Home] [FAQ] [News Groups] [Search] [Books] [Buy CD]

Last update Mar 17, 2003


Frequently Asked Questions

Can I get it on CD?

Where's the debugger?

Where's the IDDE?

When I click on it, a window flashes and disappears?

Can I download the documentation in one zip file?

Is DOSX still available?

Does the WDOSX (Wuschel's DOS eXtender) work with DMC?

Is the Zed editor still available?

Will the compiler run under DOS?

How do I specify other compiler flags to the IDDE?

Redefined type errors when including the socket header files

I'm getting a message about SCT3D32.DLL not installed


How do I work with old CodeView?


I need an import library for a Windows system DLL


ClassExpress crashes reading resources created by VC++


IDDE sometimes can't find files, shows paths wrong?


I need winfax.h or some other new Win SDK header file.


Resource Editor crashes under Windows ME?


How do I use DirectX with DMC?


Why can't I create a workspace in the IDDE?


When I run the compiler, it just flashes on the screen and disappears?

The free downloadable compiler is a console program. That means it needs to be run from within a console window. To start a console for Windows XP, click on [Command Prompt] from the [start] menu. The GUI version of the compiler comes with the CD.

Where is the header file <iostream>?

iostream is part of STLport. Do one of the following: For more information, see \dm\stlport\readme.txt.

I get 'Symbol Undefined _WinMain@16'?

When linking a program as a GUI application, but having a main() like a console application, results in the error message from the linker:
	link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512
	@tst.LNK
	Error: c:\dm\lib\SNN.lib(winstart)  : Symbol Undefined _WinMain@16
	Errors: 1  Warnings: 0
	Build failed
	
If using the IDDE, this is corrected by selecting [Console] under [Target Type] in the first [Tab] of [Project Settings].

If using a module definition (.def) file, these lines should appear in it:

	EXETYPE          NT
	SUBSYSTEM        CONSOLE
	
Do not use /ENTRY:WinMainCRTStartup in a command to the linker, this specifies a Windows application.

How do I stop the console window from appearing?

Add these lines to the module definition (.def) file:
	EXETYPE       NT
	SUBSYSTEM     WINDOWS
	
or add the linker flag -L/exet:nt/su:windows.
Copyright (c) 1999-2002 by Digital Mars, All Rights Reserved