Jump to content



Photo

Compile regular dll with VC++ 2010 Express


  • Please log in to reply
5 replies to this topic

#1 Andreik

Andreik

    Bishop

  • Active Members
  • PipPipPipPipPipPip
  • 2,498 posts

Posted 17 May 2012 - 09:02 PM

Hey guys,

Have anyone some experience with VC++ 2010 Express to help me to compile a regular dll without .Net dependencies. I tried this steps from MSDN but doesn't works.
When the words fail... music speaks





#2 danielkza

danielkza

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 426 posts

Posted 17 May 2012 - 10:14 PM

If you chose Windows Application / Console Application in the project creation wizard you should get a native binary by default. How did you create your project?

#3 Andreik

Andreik

    Bishop

  • Active Members
  • PipPipPipPipPipPip
  • 2,498 posts

Posted 19 May 2012 - 08:35 AM

I don't want Console Application, I'm trying to compile a DLL.
When the words fail... music speaks

#4 ProgAndy

ProgAndy

    You need AutoItObject

  • MVPs
  • 2,508 posts

Posted 19 May 2012 - 10:55 AM

You still have to begin with a Win32 project. http://www.ni.com/white-paper/3056/en

Edited by ProgAndy, 19 May 2012 - 10:58 AM.

*GERMAN* Posted Image [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

#5 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 19 May 2012 - 06:02 PM

If you were ready to be compiling DLLs you wouldn't be asking how to compile DLLs. Regardless of your knowledge of the language, you very clearly have near zero understanding of your toolset. I suggest you correct that by reading about how Visual Studio works.

#6 Andreik

Andreik

    Bishop

  • Active Members
  • PipPipPipPipPipPip
  • 2,498 posts

Posted 21 May 2012 - 03:29 PM

@ProgAndy thanks for link
@Valik I will but generaly I'm good with DLLs compiled with .Net Framework dependencies.
When the words fail... music speaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users