IMG Home PageIMG ProductsProduct DownloadsOrdering InformationTechnical Support and Frequently Asked QuestionsDeveloper's Corner and UtilitiesAbout IMG
CustomersIMG ResellersMedia InformationIMG Events / Trade ShowsUseful LinksIMG Contact InformationIMG Information / Policies
Translate



IMG KnowledgeBase & Frequently Asked Questions

IMG Logo



Search FAQ's

Keyword Keyword Search Help
Category Type Product Version

Searching for ID: PD0212120694

PD0212120694
Working with My-T-Touch 1.78 Release 4 and DevKit 178 Release 3, and MS Access example doesn't work.

The MS Access examples hadn't been updated for the change to \Program Files that occurred in the 1.78 release, and also didn't mesh with existing MTSDLL that the Access examples used (changes not addressed from previous versions/examples/builds). Here are the changes to make it work:

Modifications to Access DLL

In \Program Files\MYTTOUCH\MSACCESS\MYTTOUCH

Copied "Sample usage of DLL in Access (WINDOWS).MDB"
To "Sample usage of DLL in Access (Program Files).MDB"

In Module "DLL Declares" changed (Global replace)
"\WINDOWS\" to "\Program Files\" (40 replacements)

Then do a find for ".CFG", select Current Database

In "Form_Example3" class module:

Change "NUM.CFG" to "C:\Program Files\MYTTOUCH\NUM.CFG" in

Change "KYBD.CFG" to "C:\Program Files\MYTTOUCH\KYBD.CFG"

Save

Update MTSDLL.DLL to updated version

Download updated MTSDLL MTSDLL.DLL 56k 9/28/2012 MD5: A6699B979C972C0AB0A370A14E0BB934

Replace \Program Files\MYTTOUCH\MTSDLL\MTSDLL.DLL with update
For reference, these are the updates to the MTSDLL.C to build the updated DLL

Update to MTSDLL.C very limited to match Access function call.

Change parameter of LaunchMTS to void:

from: long WINAPI LaunchMTS(LPSTR lpCmd)
to: long WINAPI LaunchMTS(void)

from:
LPSTR lps;
hWork = FindMyTSoft();
to:
LPSTR lps;
//add this so code compiles with no other changes
LPSTR lpCmd = "PlaceHolder";
hWork = FindMyTSoft();

Category: Integrating(Developing)Type: Problem/Resolution Product: Developers KitVersion: 1.78

Notes:



IMG Home PageIMG ProductsProduct DownloadsOrdering InformationTechnical Support and Frequently Asked QuestionsDeveloper's Corner and UtilitiesAbout IMG
CustomersIMG ResellersMedia InformationIMG Events / Trade ShowsUseful LinksIMG Contact InformationIMG Information / Policies