Thread: Windows error running outside compiler

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    32

    Unhappy Windows error running outside compiler

    my program runs great on my pc with all the necessary files to excecute the program from the MSVC, but when I run the executable on other windows, it returns the error message,

    Assertion Error: olecli3.cpp
    Line: 502

    Originally I got .dll file errors and realized the windows I was running my exe on was missing those, so I built a setup program to copy the necessary files onto the local pc, but this olecli3.cpp is not part of my resource files, its built into my MSVC, and I am guessing is being called from a header file built into the MFC predesigned source code.

    How can I get my exe to run on multiple windows with this error, did I not do my setup correctly?
    I'd like to put Murphy and his laws in headlock sometimes!

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    It looks like you linked against a debug version of something. Make sure your "Release" configuration is using the right libs.
    For VC++ 6.0 check Project Settings -> C/C++ tab -> Code Generation Category.
    Also, I always link MFC staticly - drive space isn't an issue these days (but mis-matched DDL's are!)

    (Post Windows stuff in the Windows programming board).

    gg
    Last edited by Codeplug; 11-12-2003 at 05:17 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Windows Compiler
    By pobri19 in forum Windows Programming
    Replies: 3
    Last Post: 05-30-2008, 05:36 AM
  2. Odd memory leaks
    By VirtualAce in forum C++ Programming
    Replies: 11
    Last Post: 05-25-2006, 12:56 AM
  3. Compile crashes certain windows
    By Loduwijk in forum C++ Programming
    Replies: 5
    Last Post: 03-26-2006, 09:05 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. Free Windows Compiler
    By Garfield in forum Windows Programming
    Replies: 8
    Last Post: 06-14-2002, 10:24 AM