OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > Macros/Add-ons

Thread Tools Search this Thread Display Modes
Old 24-01-2012, 06:05
Posts: n/a
Default Application Start Event!

I find an event in application class but i don't know how to use it and when fire.
can anyone help me with example code please?

Start Event on OberonPlace

Best Regards,
Reply With Quote
Old 24-01-2012, 06:15
Posts: n/a

code with C++ but start event raise never if I open multiple instance of coreldraw.
IConnectionPointContainer *icpc;

	HRESULT hrc = m_application->QueryInterface(IID_IConnectionPointContainer, (void**)(&icpc));
	if (SUCCEEDED(hrc)) 
		hrc = icpc->FindConnectionPoint(__uuidof(CorelDRAW::DIDrawApplicationEvents), &m_icp);
		if (SUCCEEDED(hrc)) 
			hrc = m_icp->Advise(this, &m_lCookie);
catch(_com_error &e)  { }
Reply With Quote
Old 06-02-2012, 01:29
Posts: n/a

Any help, please?
Reply With Quote
Old 06-02-2012, 10:40
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,782
Blog Entries: 11
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default C++

I would love to help on this one, but I just don't know enough C++ to be helpful. You might want to try James Leonard over at: http://www.leonardcncsoftware.com/phpBB3/index.php

On his forums he has a C++ section. Hopefully he can help.

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can the Calendar Start on Sunday instead of Monday? LeahStorm Calendar Wizard 1 24-01-2012 02:52
Problem w/ fountainfill and start / end points xombie CorelDRAW/Corel DESIGNER VBA 8 25-06-2010 08:15
Stop and start screen updating? DChinell CorelDRAW/Corel DESIGNER VBA 5 16-11-2008 14:39
Use event in C# application! TheFez CorelDRAW/Corel DESIGNER VBA 0 05-06-2008 04:07
run macro at start up Corel 11 ???? -=HKLC=- CorelDRAW/Corel DESIGNER VBA 14 30-10-2004 09:29

All times are GMT -5. The time now is 00:10.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com