Re: [GD-Windows] Internet plugin
Brought to you by:
vexxed72
From: <v.l...@co...> - 2008-06-05 17:08:01
|
VS should be registering the control for you. If you look at Build Events/Post-Build Event, it has: regsvr32 /s /c "$(TargetPath)" Also, I found this as a really good tutorial, where in step 7 you can embed it into a webpage: http://msdn.microsoft.com/en-us/library/599w5e7x(VS.80).aspx Though, instead of having it as a VB script: <SCRIPT LANGUAGE="VBScript"> <!-- Sub PolyCtl_ClickIn(x, y) PolyCtl.Sides = PolyCtl.Sides + 1 End Sub Sub PolyCtl_ClickOut(x, y) PolyCtl.Sides = PolyCtl.Sides - 1 End Sub --> </SCRIPT> you can do this: <SCRIPT type="text/javascript" for="PolyCtl" event="ClickIn(x, y)"> PolyCtl.Sides = PolyCtl.Sides + 1; </SCRIPT> <SCRIPT type="text/javascript" for="PolyCtl" event="ClickOut(x, y)"> PolyCtl.Sides = PolyCtl.Sides - 1; </SCRIPT> -------------- Original message ---------------------- From: Stephen Clibbery <ste...@la...> > Diogo de Andrade wrote: > > Hi Steve, > > > > I've already looked onto ATL, but I honestly couldn't find a place to > > start... > > I've built an ATL project (using the template), and while it compiled and > > everything, it apparently didn't become visible to the Control Test > > Container... :\ > > If you have any pointers on when to start (web resources, source code, > > books, etc), I'd appreciate it... > > > > Thanks for the help, > > Diogo > Hi Diogo, > > I don't recall having any problems with registering the control; doesnt VS > register it for you automatically after building it? AFAIK, that ought to be > enough to make it appear in the test container. It is also possible to register > it manually using the regsvr32 exe. Maybe there was a problem with it which > meant registration failed? It'd be worth looking for errors/debug-output etc > when the registration takes place to check this. > > In terms of references, I just found stuff of the web; heres a few (probably > random) links from when I was researching it: > > http://edndoc.esri.com/arcobjects/8.3/GettingStarted/ATL.htm > http://www.codeguru.com/Cpp/COM-Tech/atl/tutorials/article.php/c17 > http://www.codeguru.com/Cpp/COM-Tech/atl/atl/article.php/c73 > http://support.microsoft.com/kb/q166480/ > http://msdn.microsoft.com/en-us/library/727z646z.aspx > http://msdn.microsoft.com/en-us/library/xt153e2k.aspx > http://www.microsoft.com/msj/0299/atl3activex/atl3activex.aspx > > The trick seemed to be to get the wizard set up right to do most of the work for > you, then tweak/extend as needed at the source code level afterwards. > > HTH, > Steve > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 |