Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / December 2003



Tip: Looking for answers? Try searching our database.

What lib do I use to link to CGPostKeyboardEvent function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NV Developer - 19 Dec 2003 21:20 GMT
Hi,
I built a CFM sharedd library project and I used the CGPostKeyboardEvent
function in one of my routines (Quartz Remote Services) and now that I want
to build it, I get a link error:

Link Error   : undefined: 'CGPostKeyboardEvent' (code)
Referenced from 'DLG_FileLogin(unsigned char**,unsigned char**)' in
FMFunct.cpp
Referenced from 'NVDlgEventHandlerProc' in FMFunct.cpp

What lib do I need to use to get this to work? Thanks!

Jaime Rios
MW Ron - 19 Dec 2003 22:38 GMT
>Hi,
>I built a CFM sharedd library project and I used the CGPostKeyboardEvent
[quoted text clipped - 9 lines]
>
>Jaime Rios

CGRemoteOperation.h
CoreGraphics  Framework

Ron

Signature

                  Metrowerks wishes you and yours
              Seasons Greetings and Happy Holidays

 Get Geekware and Software  http://store.metrowerks.com
  Shop our online store and get free shipping until Dec 31

Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

Frederick Cheung - 19 Dec 2003 22:39 GMT
> Hi,
> I built a CFM sharedd library project and I used the CGPostKeyboardEvent
[quoted text clipped - 7 lines]
>
> What lib do I need to use to get this to work? Thanks!

It's in the CoreGraphics framework.

Fred
Sean McBride - 20 Dec 2003 00:20 GMT
In article
<Pine.LNX.4.44.0312192239130.10924-100000@kern.srcf.societies.cam.ac.uk>
,

> > I built a CFM sharedd library project and I used the CGPostKeyboardEvent
> > function in one of my routines (Quartz Remote Services) and now that I want
[quoted text clipped - 8 lines]
>
> It's in the CoreGraphics framework.

But he's using CFM...

NV Developer, you may want to look at:

<http://developer.apple.com/samplecode/Sample_Code/Runtime_Architecture/C
allMachOFramework.htm>

If you're using CoreGraphics, then I assume you are not supporting OS 9.  
Why do you use CFM and not Mach-O?  The latter will make your life
easier.
NV Developer - 22 Dec 2003 21:26 GMT
Thanks Sean for the pointer! I got it to compile, but still have yet to test
it! I'll let you know what the result is! Thanks again!

Jaime Rios

On 12/19/03 7:20 PM, in article
cwatson-A61DCC.19200319122003@aeinews.aei.ca, "Sean McBride"
<cwatson@cam.org> wrote:

> In article
> <Pine.LNX.4.44.0312192239130.10924-100000@kern.srcf.societies.cam.ac.uk>
[quoted text clipped - 23 lines]
> Why do you use CFM and not Mach-O?  The latter will make your life
> easier.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.