Results 1 to 2 of 2

Thread: acedGetPoint() question

  1. #1
    Member
    Join Date
    2006-06
    Posts
    18

    Default acedGetPoint() question

    Hello,

    I have just recently upgraded from acad 2005 to 2007 as well as objectARX SDK. in .net 2002 my function call compiled just fine, in 2007 it does not. here is the line for the error, and below is the error .net is throwing me.

    line of code
    if((rc = acedGetPoint(NULL, "Pick insertion point: \n",insert)) == RTNORM)

    error
    1>h:\arx\test1\test1\acrxentrypoint.cpp(90) : error C2664: 'acedGetPoint' : cannot convert parameter 2 from 'const char [24]' to 'const ACHAR *'

    what is this new ACHAR pointer that is being referred to? why doesn't my line of text work, was this ADS function call changed for ARX 2007? thanks for the help.

    CK

  2. #2
    Member
    Join Date
    2001-04
    Posts
    32

    Default Re: acedGetPoint() question

    Unicode is a requirement starting with 2007. ACHAR is a type autodesk has defined to utilize this instead of using TCHAR.

    Try using this macro for literal strings: _T("Pick Insertion Point \n")

Similar Threads

  1. UCS / DB Question
    By awill81226338 in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2009-04-13, 02:35 PM
  2. STB - CTB question
    By tsullivan in forum AutoCAD General
    Replies: 4
    Last Post: 2008-07-17, 09:02 PM
  3. question
    By thechinaman in forum CAD Management - General
    Replies: 11
    Last Post: 2008-01-29, 03:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •