ToughDev

We Love Technical Sharing!

  • Home
  • Software Development
  • Hardware
  • Vintage Computing
  • Terms Of Use

C#

C# VB.NET 

New Features in VB 9.0 and C# 3.0

June 1, 2009 ToughDev 0 Comment

The following is a list of some new language-specific features available to C# 3.0 and VB 9.0, available in Visual

Read more
.NET Framework C# 

P/Invoking C++ callback functions crashes when .NET application is not in focus

May 13, 2009 ToughDev 0 Comment

A C++ DLL exports one function having its only parameter as a pointer to another function: #define AFX_EXT_CLASS __declspec(dllexport)typedef void

Read more
C# 

C++ String Code Snippets

April 11, 2009November 9, 2016 ToughDev 0 Comment

Split a string http://bytes.com/forum/thread221760.html http://msdn.microsoft.com/en-us/library/2c8d19sb(VS.80).aspx   We are going to use wcstok to split string into tokens using separators. This

Read more
C# 

Useful Conversion in C++

April 9, 2009 ToughDev 0 Comment

BYTE[] to DWORD: BYTE tzValue[4]; DWORD value = tzValue[3]*16*16*16 + tzValue[2]*16*16 + tzValue[1]*16 + tzValue[0]; Print hexadecimal: printf(“Value: 0x%08lxn”, value);

Read more
C# VB.NET 

Use the DefaultEvent attribute in .NET

March 16, 2009 ToughDev 0 Comment

The DefaultEvent attribute indicates a class’s default event. If the class is a component and you double-click on it in

Read more
C# 

Bit-fields in C++

February 21, 2009 ToughDev 0 Comment

Classes and structures can contain members that occupy less storage than an integral type. These members are specified as bit

Read more
C# 

Accessing WIN32 API functions from C++ CLI

February 21, 2009 ToughDev 1 Comment

First, add the following declaration to stdafx.h: // TODO: reference additional headers your program requires here #include “windows.h” For example,

Read more
C# 

C++ Read/Write files

January 8, 2009 ToughDev 0 Comment

Write binary data to file using namespace std; BYTE* buffer; ofstream fout(“file.dat”, ios::binary); fout.write((char *)(&buffer), sizeof(number)); fout.close(); Reference: Simple File

Read more
.NET Framework C# VB.NET 

Late-binding in .NET

October 22, 2008 ToughDev 0 Comment

Early-binding: Variable types are defined at compile time (e.g. string, integers): String st = “hello world”;Boolean ok = st.Contains(“hello”); The

Read more

Tweets by mrtoughdev
Follow @mrtoughdev

Recent Comments

  • Eddiepar on Brother Super PowerNote PN-8500MDSe vintage word processor
  • RosarioLob on Brother Super PowerNote PN-8500MDSe vintage word processor
  • ToughDev on Brother Super PowerNote PN-8500MDSe vintage word processor
  • Alex on Brother Super PowerNote PN-8500MDSe vintage word processor
  • Roger Mullins on Brother Super PowerNote PN-8500MDSe vintage word processor

Categories

  • .NET Compact Framework
  • .NET Framework
  • 3CX
  • Android
  • ASP/ASP.NET
  • Blackberry
  • Blogger
  • Bluemix
  • C#
  • Database
  • DirectShow
  • FreePBX
  • General Programming
  • GPS
  • Hardware
  • Hoiio
  • I2C
  • iOS
  • LCD Modules
  • Linux
  • Logic Analyzer
  • Mac OS
  • Microcontroller
  • Microsoft Office
  • Microsoft Virtual PC
  • Microsoft Visual Studio
  • Mobile Development
  • Networking
  • Objective-C
  • Office OneNote
  • Oscilloscope
  • PDF
  • PHP
  • Research
  • Reverse-engineer
  • Scriptcase
  • SMS Migration
  • Software Development
  • Speech
  • SPI
  • Telerik
  • Tips & Tricks
  • USB to Serial
  • Useful Projects
  • VB.NET
  • Vintage Computing
  • VmWare
  • VoIP
  • Web Development
  • Web Hosting
  • Wikipedia
  • Win32 API
  • Windows Embedded
  • Windows Mobile
  • Windows Phone 7
  • Windows Tips
  • Xcode

Tools

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org


ToughDev - We Love Technical Sharing! - Blog Directory OnToplist.com

blog search engine
blog search engine


Copyright © 2023 ToughDev. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.