Click here to Skip to main content
15,904,503 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: App.Config with xi:include Pin
K.L.K7-Apr-08 15:00
K.L.K7-Apr-08 15:00 
GeneralMigrating issue Pin
soniasan7-Apr-08 8:58
soniasan7-Apr-08 8:58 
GeneralRe: Migrating issue Pin
Dave Kreskowiak7-Apr-08 10:17
mveDave Kreskowiak7-Apr-08 10:17 
GeneralRe: Migrating issue Pin
soniasan8-Apr-08 1:09
soniasan8-Apr-08 1:09 
GeneralRe: Migrating issue Pin
Dave Kreskowiak8-Apr-08 1:40
mveDave Kreskowiak8-Apr-08 1:40 
QuestionNon-static method as a thread function....How CLR do that? Pin
Secret_Garden7-Apr-08 4:28
Secret_Garden7-Apr-08 4:28 
AnswerRe: Non-static method as a thread function....How CLR do that? Pin
Mark Salsbery7-Apr-08 5:21
Mark Salsbery7-Apr-08 5:21 
AnswerRe: Non-static method as a thread function....How CLR do that? Pin
Mike Dimmick7-Apr-08 5:28
Mike Dimmick7-Apr-08 5:28 
Technically what it does for a delegate to a non-static method is to generate a small thunk containing a pointer to the object and a pointer to the method. The thunk contains code which calls the method, passing the object pointer as a parameter, just as an instance method call normally would.

In C++ I normally write
static DWORD WINAPI CMyClass::ThreadStartProc( LPVOID pvParam )
{
   CMyClass* pThis = (CMyClass*) pvParam;
 
   return pThis->ThreadProc();
}
 
DWORD CMyClass::ThreadProc()
{
   // Do actual work
 
   return 0;
}
 
// To start the thread:
 
_beginthreadex( ThreadStartProc, 0, this );
The Framework is just doing this behind-the-scenes rather than you having to spell it out.


DoEvents: Generating unexpected recursion since 1991

GeneralRe: Non-static method as a thread function....How CLR do that? Pin
Secret_Garden7-Apr-08 6:02
Secret_Garden7-Apr-08 6:02 
QuestionIntegration with IPLANET throw LDAP Pin
arajeh7-Apr-08 2:12
arajeh7-Apr-08 2:12 
GeneralClickOnce and https Pin
l.m.k7-Apr-08 0:37
l.m.k7-Apr-08 0:37 
AnswerRe: ClickOnce and https Pin
Arjun Marwaha13-Apr-08 19:36
Arjun Marwaha13-Apr-08 19:36 
GeneralConnecting a client and server program using .NET framework but different source code Pin
Kogee San6-Apr-08 14:56
Kogee San6-Apr-08 14:56 
GeneralRe: Connecting a client and server program using .NET framework but different source code Pin
Mark Salsbery6-Apr-08 17:04
Mark Salsbery6-Apr-08 17:04 
GeneralRe: Connecting a client and server program using .NET framework but different source code Pin
Kogee San6-Apr-08 17:26
Kogee San6-Apr-08 17:26 
GeneralRe: Connecting a client and server program using .NET framework but different source code Pin
Mark Salsbery6-Apr-08 17:44
Mark Salsbery6-Apr-08 17:44 
GeneralRe: Connecting a client and server program using .NET framework but different source code Pin
Kogee San6-Apr-08 18:58
Kogee San6-Apr-08 18:58 
Generaltimer Pin
cheikhanio5-Apr-08 13:14
cheikhanio5-Apr-08 13:14 
GeneralRe: timer Pin
Luc Pattyn5-Apr-08 14:31
sitebuilderLuc Pattyn5-Apr-08 14:31 
GeneralInstaller not found Pin
Codename474-Apr-08 0:30
Codename474-Apr-08 0:30 
GeneralRe: Installer not found Pin
#realJSOP4-Apr-08 3:01
professional#realJSOP4-Apr-08 3:01 
GeneralRe: Installer not found Pin
Codename474-Apr-08 3:39
Codename474-Apr-08 3:39 
GeneralAdding column to a typed dataset Pin
Vipul Mehta3-Apr-08 19:39
Vipul Mehta3-Apr-08 19:39 
GeneralMemory Consumption Question Pin
#realJSOP3-Apr-08 14:00
professional#realJSOP3-Apr-08 14:00 
GeneralRe: Memory Consumption Question Pin
Mark Salsbery3-Apr-08 14:15
Mark Salsbery3-Apr-08 14:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.