Sunday, December 09, 2007

Normally when you want to debug a service at startup you set your debug break point and set the thread asleep just long enoug for you to attach your debugger to the service process but, came across a more eloquent way

Setup:

Ø Follow the instructions in ‘Configure a service to start with the WinDbg debugger attached’ section of the KB article – KB 824344. Note that you can safely ignore Step 2 in this section as you would no longer need the service to interact with desktop.

Ø Add the following command line parameters to the path of the debugger: (let’s assume debugger is installed in ‘C:\Debuggers’ instead of ‘C:\Program Files\Debugging Tools for Windows’ for convenience)

C:\Debuggers\WinDBG.exe -G -c ".server tcp:port=1234"

Ø Start your service from Service Control Manager.

Ø By now the debugger is already connected to the service as a ‘server’. You would have reached the ‘Initial Breakpoint’ waiting for a g (Go) command from the debugger.

Ø Launch another instance of WinDBG and connect to the ‘server’. There are many ways to do this; the simplest would be to go to File->Connect to Remote Session->Browse->Enter machine name->Refresh. Hit OK on your ‘server’ that is listed to connect.

Read the rest of the post A look at service startup issues.

posted by Aaron Fischer on Sunday, December 09, 2007 12:01:00 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, December 08, 2007

I knew Projects in Visual studio could have sub folders which are great for organizing code files.  But I have come to find out that solution files can as well http://dotnettipoftheday.org/tips/visual-studio-solution-folders.aspx  pretty cool.  Welcome to a new era of organization!

posted by Aaron Fischer on Saturday, December 08, 2007 2:42:21 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, November 24, 2007

Carlo Has posted an extensive list of Microsoft Posters, take a look.

posted by Aaron Fischer on Saturday, November 24, 2007 11:34:37 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Wednesday, November 21, 2007

This video is hysterical.

Every Build You Break by Roy Osherove

posted by Aaron Fischer on Wednesday, November 21, 2007 6:00:07 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Tuesday, November 20, 2007

Or where is the Visual Studio 2008 iso image downloaded on Vista.

 

In vista I found that the Akami downloader was redirected from the desktop to

C:\Users\<your user name>\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized\C\Users\<your user name>\Desktop

posted by Aaron Fischer on Tuesday, November 20, 2007 6:42:20 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, November 19, 2007

Jim from the Visual C++ team offers a new way to deal with C++ Intellisense with macros(Visual Studio 2008).  There is still no UI based way to turn them off ( until some one writes an addon for vs).

posted by Aaron Fischer on Monday, November 19, 2007 4:38:56 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

There is a Trojan spreading via MSN messenger.  Just remember treat an IM like you would email. Never download any thing, be weary of IM links.

posted by Aaron Fischer on Monday, November 19, 2007 4:33:36 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

You might receive the "The debugger does not support debugging managed and native code at the same time on this platform." error message in Visual studio 2005/2008 if you have a 32bit native/mixed mode dll linked to your x64bit assembly.  If you change the project properties so that Platform target is x86 you should be able to debug both assemblies.

posted by Aaron Fischer on Monday, November 19, 2007 7:55:13 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, November 12, 2007

The Vc++ team blog announced the release of performance improvements for vc++ as a General Distribution Release.

posted by Aaron Fischer on Monday, November 12, 2007 2:23:27 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Thursday, November 08, 2007

I always seem to lose track of this information.

current location http://kb.calyxsupport.com/kb/article.php?id=308

 

Field Id Name Description
ADDRESS Company Address Pulls from Utilities > Company Defaults > Company Information.
APR Apr Displays the APR for all files on the report
ATYPE Amortization Type Pulls from Page 1 of the Loan Application. The Amortization Types are Fixed, ARM, or GPM
CITY Company City Pulls from Utilities > Company Defaults > Company Information.
CN Conditions Pulls lines of text that appear in Track > Conditions.
CNDFS Condition - Status Pulls from the right column of the Track > Conditions screen.
COMPANY Company Name Pulls from Utilities > Company Defaults > Company Information.
EQUITY Equity Pulls from Marketing > Prequalification.
FAX Company Fax Pulls from Utilities > Company Defaults > Company Information.
FOLDER Folder Name Data folder name.
FS First or Second First or Second Lien Position from the Prospect or Borrower Information screen.
HBETH Borrower Ethnicity Pulls from the Government Monitoring Section on Page 4 of the Loan Application.
HBRACE HMDA Borrower's race.
HBSEX HMDA Borrower's sex.
HCBETH Co-borrower Ethnicity Pulls from the Government Monitoring Section on Page 4 of the Loan Application.
HCBRACES HMDA Co-borrower's race.
HCSEX2004 HMDA Co-borrower's sex.
HHOEPA Home Ownership and Equity Protection Act Status Pulls from Track > HMDA Reporting.
HINC HMDA Income Based on amount shows on Page 2 of the Loan Application.
HLNA HMDA Loan Amount Loan Amount.
HOCC HMDA Occupancy Refers to the type of property from the Prospect or Borrower Information screen: Primary, Secondary, or Investment.
HPURCH HMDA Purchase Refers to the type of purchaser from Track > HMDA Reporting.
HPURP HMDA Purpose Purpose of loan: Purchase or Refinance
HREASON HMDA Reason Refers to the Reason for Denial from Track > HMDA Reporting.
HREASON2 HMDA Reason 2 Refers to the Reason for Denial from Track > HMDA Reporting.
HREASON3 HMDA Reason 3 Refers to the Reason for Denial from Track > HMDA Reporting
HSTAT HMDA Status Pulls from Track > HMDA Reporting.
HSTATE HMDA State State of property from Prospect or Borrower Information screen.
HTYPE HMDA Type Type (Conventional, FHA, VA)
LATEBAS Late Basic Docs Basic Documents from Track > General.
LATEMISC Late Miscellaneous Late entries from Track > Miscellaneous.
LATEVOD Late VODs Late Verifications of Deposit..
LATEVOE Late VOEs Late Verificiations of Employment.
LATEVOL Late VOLs Late Verifications of Loans
LATEVOM Late VOMs Late Verifications of Mortgage or Rent
NAME Full Name Borrowers first and last name: Last Name, First Name.
PDAY Days Processed The number of days the loan has been opened since the Opened date in Track > General.
PHONE Company Phone Pulls from Utilities > Company Defaults > Company Information.
PTYPE Property Type Pulls from the Transmittal Summary.
PURP Purpose of loan Pulls from Page 1 of the Loan Application: Purchase, Refinance, or Construction.
RES Residency Indicates Primary, Secondary, or Investment from the Prospect or Borrower Information screen.
SDATE Status Date Dates in the Status section of Track > General.
STAT Status of loan Reflects the current status of the loan from Track > General.
TRAMPT Trust Report Amount Paid Amount Paid from Track >Trust Account.
TRAMTR Trust Report Amount Received Amount received from Track > Trust Account.
TRBAL Trust Report Balance Report Balance
TRCHKP Trust Report Check Number - Paid Check number for paid item from Track > Trust Account.
TRCHKR Trust Report Check Number - Received Check number for received item from Track > Trust Account.
TRDATE Trust Report Date Date of item from Track > Trust Account.
TRDESC Trust Report Description Description of item from Track > Trust Account.
TRREM Trust Report Remarks Remarks for each item from Track > Trust Account.
TYPE Loan Type Pulls from Prospect or Borrower Information screen: Conventional, FHA, VA, or Other.
ZIP Company Zip Code Pulls from Utilities > Company Information > Company Defaults.
posted by Aaron Fischer on Thursday, November 08, 2007 12:04:01 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]