اطلاعیه

Collapse
No announcement yet.

درخواست آموزش استفاده از ufmod در Vb (مناسب برای کیجن)

Collapse
X
 
  • Filter
  • زمان
  • Show
Clear All
new posts

  • درخواست آموزش استفاده از ufmod در Vb (مناسب برای کیجن)

    ممنون میشم که اگه چنين آموزشی به زبان فارسی و از سیر تا پیاز داره بزاره!

    اينم از لينک Ufmod ....
    کد:
    Http://Js0ner.parsaspace.com/etc/ufmod.rar
    به جهادگران بی ادعا بپیوندیم
    کد:
    http://www.iran-ehda.com/signin/signup.asp
    renaissance_realiste_rationaliste_dialectique_romantiste iglesias

  • #2
    تو خود فايل ضميمه شده :
    WARNING
    This example supports ONLY Microsoft Visual Basic 6. For a managed .NET port
    check the C# folder.

    So, you want to use uFMOD in your VB6 application? You'll need to complete the
    following steps:

    1. You need to include uF_vb.bas (WINMM version) or DSuF_vb.bas (DirectX) into
    your project. Do not rename this file. Do not modify it's contents. Place it
    into the main directory of your project. Place ufmod.lib (WINMM version)
    or dsufmod.lib (DirectX) into the same location as uF_vb.bas or DSuF_vb.bas.
    Copy the DirectSound type library dsound.tlb to the same location when using
    the DirectX version.

    2. Target type should be native EXE. No p-code!

    3. Find the directory where VB6.EXE is installed (i.e. \Program Files\Microsoft
    Visual Studio\VB98\). Rename LINK.EXE to LNK.EXE. Copy the included link.exe
    file into that directory. Full source code is included. The modified linker
    is able to build any application: with or without uFMOD. Though, you may
    restore the original linker from LNK.EXE whenever you want to.

    uFMOD is able to play files, resources and static memory arrays. No practical
    way exists of using memory arrays in VB6. Actually there is an example in the
    official uFMOD forum, but it uses too much overhead memory and is more like a
    proof of concept than a real example. So, if you want to embedd an XM track
    directly in the EXE, you'd better use resources like the included examples do.

    That's all!
    ¯/(°_o)\¯
    بیچاره آن کسی است که گرفتار عقل شد **** آسوده آن کسی است که خر آمد و الاغ رفت
    این چه شوری است که در دور قمر می بینم **** همه آفاق پر از فتنه و شر می بینم
    اسب تازی شده مجروح به زیر پالن **** طوغ زرین بر گردن خر می بینم
    Copyright: Enigma2

    به اميد شبگردي بهتر

    Comment


    • #3
      من میگم که آموزش فارسی و کامل باشه, چون اینجا نحوهء ریسورس سازی نیست!
      thx
      به جهادگران بی ادعا بپیوندیم
      کد:
      http://www.iran-ehda.com/signin/signup.asp
      renaissance_realiste_rationaliste_dialectique_romantiste iglesias

      Comment


      • #4
        نوشته اصلی توسط Js0ner نمایش پست ها
        من میگم که آموزش فارسی و کامل باشه, چون اینجا نحوهء ریسورس سازی نیست!
        thx
        اگه با vb بسازي كار نمي كنه دليلش هم تا جايي كه من فهميدم اينكه اسم resource ها در vb به صورت string هست
        مثلا بجايي كه اسم resource رو بذاره 1 مي ذاره "1" .
        پس از ++microsoft Visual C استفاده كن
        از گوگل كمك بگير
        موفق باشي
        Last edited by h27; 04-25-2008, 03:40 PM.
        ¯/(°_o)\¯
        بیچاره آن کسی است که گرفتار عقل شد **** آسوده آن کسی است که خر آمد و الاغ رفت
        این چه شوری است که در دور قمر می بینم **** همه آفاق پر از فتنه و شر می بینم
        اسب تازی شده مجروح به زیر پالن **** طوغ زرین بر گردن خر می بینم
        Copyright: Enigma2

        به اميد شبگردي بهتر

        Comment


        • #5
          ممنون

          توی C ریسورسشو ساختم و تو Vb بکار بردم.
          به جهادگران بی ادعا بپیوندیم
          کد:
          http://www.iran-ehda.com/signin/signup.asp
          renaissance_realiste_rationaliste_dialectique_romantiste iglesias

          Comment

          Working...
          X