Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Type Mismatch 32 Bit Vs 64 Bit
Tom Juric 
      
22 hours ago
I am trying to convert Access 2021 32bit to 64 bit. 32Bit compiles this code with no errors:  

Private Function StripZ(ByVal S As String) As String
'Return all of s before the zero-terminator (if any).
    tripZ = Left$(S, lstrlen(StrPtr(S)))
    
End Function

64Bit errors at tripZ..........(StrPtr() [Specifically (StrPtr()]

     with "Compile error----Type mismatch

Can anyone tell me why this happens with 64 Bit version?
John Williams  @Reply  
     
22 hours ago
Tom Could it be the typo tripZ should be StripZ, if you copied/paste the code?
Tom Juric OP  @Reply  
      
21 hours ago
No, the error points/highlights the  StrPtr
Joe Holland  @Reply  
      
10 hours ago
Make sure to checkout 64-Bit.
Add a Reply Upload an Image
Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/7/2026 4:37:22 PM. PLT: 0s