Results 1 to 4 of 4

Thread: pre-processor directives in VB?!?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196
    Hi,

    I just discovered that you can use a certain number of pre-processor directives in VB.

    I think you can use:

    Code:
    #const
    #if
    #else if
    #end if
    and probably a few others.

    I'm jsut wondering if anyone has actually had a need to use pre-processor directives in their VB code? Perhaps for debugging purposes?

    Anyway,

    just wondering...


  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yes. I use them for making ANSI / Unicode builds, and swapping between debug and release versions.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196

    cange of subject -> corba

    Parksie,

    I tried to learn some stuff about orbs and corba a while back. I found a couple of web pages that were not too bad.

    But i was just wondering how you learnt corba and idl etc etc. Did you find web resources or can you recommend any books? I think it's really good to know and i know they are ranting about it at uni all the time <computer / software engineering>.

    Anyway, any help would be good.

    Thanks,


  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I learnt it in Java from the book "Java 1.2 Unleashed". I then moved on to C++ with Orbacus (free).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width