Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 56
  1. #31
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1

    @bryanarzaga, & digitalsuperman and thread starter narin... LOL i edited this post ^^ to whom I really give some credit LOL...

    I think I found something that led me to solve my long time mystery to release com object that runs similarly (speed) if using C# or any .NET platform. Thanks to the MSDN

    The Rules of the Component Object Model found at THIS LINK

    I suspect that they didn't follow the rule no.2 at Reference-Counting Rules. well, who knows that this document exist in deep part of MSDN

    From a COM client's perspective, reference-counting is always a per-interface concept. Clients should never assume that an object uses the same reference count for all interfaces.

    What comes to my mind is to use "Singleton" pattern. it work! My program runs efficiently now in our system... especially when I tried to copy and revised the MSDN pattern below the Aggregating Objects. This code:

    // Obtaining inner object interface pointer
    pUnkInner->QueryInterface(IID_IFoo, &pIFoo);
    pUnkOuter->Release();

    // Releasing inner object interface pointer
    pUnkOuter->AddRef();
    pIFoo->Release();

    I believed this is a trick, It doesn't make any sense, but it worked! LOL... Thinking about .NET, everyone might think that it can properly handle singleton... but my mistake on that assumption! especially when I found some related issues on the other forums.

    Thanks to the previous post by the way I can't follow talga cno nagsabi heheehe,Well, I thought you just bluff me that you able to run nicely hehehe... lets have a beer sometimes cheerssss.

  2. #32
    @MarkCuering im confused as who you referred to as did not follow the rule no.2? lol

    also i use msdn too its useful when i get to the new libraries in vs2008 lol,

    my new self project is to develop a game for the xbox360, lol

  3. #33
    OT: oooohhh.. XNA ... thats awesome.. I'm a bit sad though that they prefer C# for XNA rather than VB.

  4. #34
    Quote Originally Posted by digitalsuperman View Post
    OT: oooohhh.. XNA ... thats awesome.. I'm a bit sad though that they prefer C# for XNA rather than VB.
    thats true, but it has to be that way in Xna but life is about learning

  5. #35
    @Mark, ehhehe thats the problem, when you do things on a language/platform foriegn to you lol.

    a couple of days ago i have to do a debug/recompile on a .net app that worked perfectly on xp but not on vista. i ended up using the windows APIs instead of using the .net wrappers that are already provided lol.

    xna is cool, although i was abit disappointed (until now) that they abandoned manage direct X... i might give it a try again when it matures or i get myself an xbox360 LOL.

    i think they choose c# over vb.net for XNA for the reason that there are more c++ like game developers out there than the vb ones.

  6. #36
    @silent-kill: very true.. i guess its just for the transition of game developers from c++ to c#.. but i'm still hoping that they will make xna support vb..hehe..

  7. #37
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Cool… I really don’t know how this game engines work, and how to code or use this on top of your chosen language, but I guess everytime you go near to low level, there’s always place for C/C++ code. On client side we find C# works faster especially in 3D modeling, such Aveva Marne 12 and PDMS 12, which we continuously improving, but the heart of our system its coded in C/C++.

    Is there any license issue when you commercial your product using this tool? Because last time MS hunted us that we must pay for using one of their libraries, telling us, it wasn’t included on the set of modules that we bought. What an EVIL business world..!

  8. #38
    i think its free to use for development but you need to be a member of some group which you need to pay inorder to deploy it on xbox

  9. #39
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Well... I hope M$ or M$$$$$$$ will not mess up to whatever FREE they bestowed... We already learned and it keeps coming back in and we taking this seriously, coz from nowhere Microsoft still grabs you some extra $$ when you earn $$$$$.

    b. Programs developed for the Xbox 360 Platform

    ii. Commercial Networked Programs. In the absence of a specific agreement signed by both you and Microsoft which specifically grants you the rights to develop commercial programs that connect to any network, including Xbox Live and/or Games for Windows Live, you may not use the software to develop commercial programs that connect to any network, including Xbox Live and/or Games for Windows Live.

    the word "absence" makes it difficult to think what it is not included...

    C. Distribution Restrictions. You may not

    distribute Distributable Code to run on a platform other than the Windows platform;

    and the lines that they never removed:

    • transfer the software or this agreement to any third party;

    its like M$ is telling you... that whatever you earn... we should also earn!

  10. #40
    the compilers before wasnt free, but there is someone helping me out to get it out in that platform, he's from a different forum and state but said he'll help me learn step by step, i hope this work and not just a complete waste of time haha,

    we had game programming in college, but our instructors didnt know anything we were just taught the fundamentals(eh bookish), but let the mind be free lol

  11.    Advertisement

Page 4 of 6 FirstFirst ... 23456 LastLast

Similar Threads

 
  1. What comic book character would you like to be and why?
    By burning_ice in forum Arts & Literature
    Replies: 76
    Last Post: 05-12-2012, 09:12 PM
  2. Help in VB.net to Oracle 10g..
    By scioncray in forum Programming
    Replies: 5
    Last Post: 10-01-2008, 05:59 PM
  3. How To use the DLL's in VB.net
    By pitbull147 in forum Programming
    Replies: 3
    Last Post: 09-23-2008, 06:11 PM
  4. Replies: 2
    Last Post: 05-16-2008, 11:05 AM
  5. how to create dll like shell32 in vb.net
    By kibotizer in forum Programming
    Replies: 7
    Last Post: 12-17-2007, 11:22 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
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top