Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Generic Thunk with 5 combinations of Calling Conventions

, 13 Apr 2008
A simple and generic solution of making a member function become a callback function with the help of thunk technology.
genericthunk_source.zip
GenericThunk_source
include
Thunk
src
Thunk
genericthunk_source_sample.zip
GenericThunk_source_sample
include
Thunk
sample
Thunk
CdeclToCdecl
CdeclToCdecl.vcproj.OWNCOMPUTER.OwnWaterloo.user
CdeclToStd
CdeclToStd.vcproj.OWNCOMPUTER.OwnWaterloo.user
StdToCdecl
StdToCdecl.vcproj.OWNCOMPUTER.OwnWaterloo.user
StdToStd
StdToStd.vcproj.OWNCOMPUTER.OwnWaterloo.user
TestSrc
ThisToCdecl
ThisToCdecl.vcproj.OWNCOMPUTER.OwnWaterloo.user
ThisToStd
ThisToStd.vcproj.OWNCOMPUTER.OwnWaterloo.user
src
Thunk
genericthunk_source_sample_executable.zip
CdeclToCdecl.vcproj.OWNCOMPUTER.OwnWaterloo.user
CdeclToStd.vcproj.OWNCOMPUTER.OwnWaterloo.user
release
CdeclToCdecl.exe
StdToCdecl.exe
StdToStd.exe
ThisToCdecl.exe
ThisToStd.exe
StdToCdecl.vcproj.OWNCOMPUTER.OwnWaterloo.user
StdToStd.vcproj.OWNCOMPUTER.OwnWaterloo.user
ThisToCdecl.vcproj.OWNCOMPUTER.OwnWaterloo.user
ThisToStd.vcproj.OWNCOMPUTER.OwnWaterloo.user

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

OwnWaterloo
Software Developer (Junior)
China China
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 13 Apr 2008
Article Copyright 2008 by OwnWaterloo
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid