Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MESSAGE CRACKERS

Status
Not open for further replies.

momon

Vendor
May 22, 2002
42
CA
I have the following code that works perfectly when compiled in 16-bit. When it is compiled in 32-bit, there is no response when a particular menu option is selected. The code looks something like this:

//this part doesn't seem get executed, probably because the
//program is confused by WPARAM, LPARAM
LRESULT TTop20Wnd :: WMExportFile (WPARAM,LPARAM) {
char itemnumstr[4]="";

if (strlen (quotenum) < 2)
//code continues...
}

The response table looks like this

DEFINE_RESPONSE_TABLE1( TTop20Wnd, TChildWin )
EV_MESSAGE( WM_EXPORTFILE, WMExportFile),
EV_COMMAND( CM_REDESIGN, CMRedesign),
EV_COMMAND( CM_CHOOSE_DESIGN, CMChooseDesign),
END_RESPONSE_TABLE;


Now, how do I make this code portable using message crackers?

Thanks in advance.
 
Doesn't seem to work... Any more ideas?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top